Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/offline/packages/eventplaneinfo/EventPlaneReco.h>
Public Member Functions | |
EventPlaneReco (const std::string &name="EventPlaneReco") | |
~EventPlaneReco () override=default | |
int | Init (PHCompositeNode *topNode) override |
int | InitRun (PHCompositeNode *topNode) override |
int | process_event (PHCompositeNode *topNode) override |
int | End (PHCompositeNode *) override |
Called at the end of all processing. | |
void | ResetMe () |
void | set_sepd_epreco (bool sepdEpReco) |
void | set_mbd_epreco (bool mbdEpReco) |
void | set_sEPD_Mip_cut (const float &e) |
void | set_MBD_Min_Qcut (const float &f) |
void | set_Ep_orders (const unsigned int &n) |
void | set_run_number (const unsigned int &r) |
Public Member Functions inherited from SubsysReco | |
~SubsysReco () override | |
virtual int | EndRun (const int) |
Called at the end of each run. | |
virtual int | Reset (PHCompositeNode *) |
Reset. | |
virtual int | ResetEvent (PHCompositeNode *) |
Clean up after each event. | |
void | Print (const std::string &="ALL") const override |
Public Member Functions inherited from Fun4AllBase | |
virtual | ~Fun4AllBase () |
virtual const std::string | Name () const |
Returns the name of this module. | |
virtual void | Name (const std::string &name) |
Sets the name of this module. | |
virtual void | Verbosity (const int ival) |
Sets the verbosity of this module (0 by default=quiet). | |
virtual void | Verbosity (enu_Verbosity ival) |
Sets the verbosity of this module (0 by default=quiet). | |
virtual int | Verbosity () const |
Gets the verbosity of this module. | |
Private Member Functions | |
int | CreateNodes (PHCompositeNode *topNode) |
Private Attributes | |
unsigned int | m_MaxOrder = 3 |
unsigned int | m_runNo = 21813 |
const char * | OutFileName |
CDBHistos * | cdbhistosOut = nullptr |
std::vector< std::vector < double > > | south_q |
std::vector< std::vector < double > > | north_q |
std::vector< std::pair< double, double > > | south_Qvec |
std::vector< std::pair< double, double > > | north_Qvec |
std::vector< std::vector < double > > | south_q_subtract |
std::vector< std::vector < double > > | north_q_subtract |
std::vector< double > | tmp_south_psi |
std::vector< double > | tmp_north_psi |
std::vector< double > | shift_north |
std::vector< double > | shift_south |
bool | _mbdEpReco = false |
bool | _sepdEpReco = false |
float | _epd_e = 6.0 |
float | _mbd_e = 10.0 |
float | mbd_e_south |
float | mbd_e_north |
float | mbdQ |
TProfile * | tprof_mean_cos_north_mbd [6] = {} |
TProfile * | tprof_mean_sin_north_mbd [6] = {} |
TProfile * | tprof_mean_cos_south_mbd [6] = {} |
TProfile * | tprof_mean_sin_south_mbd [6] = {} |
TProfile * | tprof_mean_cos_north_mbd_input [6] = {} |
TProfile * | tprof_mean_sin_north_mbd_input [6] = {} |
TProfile * | tprof_mean_cos_south_mbd_input [6] = {} |
TProfile * | tprof_mean_sin_south_mbd_input [6] = {} |
const int | _imax = 6 |
TProfile * | tprof_cos_north_mbd_shift [6][6] = {} |
TProfile * | tprof_sin_north_mbd_shift [6][6] = {} |
TProfile * | tprof_cos_south_mbd_shift [6][6] = {} |
TProfile * | tprof_sin_south_mbd_shift [6][6] = {} |
TProfile * | tprof_cos_north_mbd_shift_input [6][6] = {} |
TProfile * | tprof_sin_north_mbd_shift_input [6][6] = {} |
TProfile * | tprof_cos_south_mbd_shift_input [6][6] = {} |
TProfile * | tprof_sin_south_mbd_shift_input [6][6] = {} |
Additional Inherited Members | |
Public Types inherited from Fun4AllBase | |
enum | enu_Verbosity { VERBOSITY_QUIET = 0, VERBOSITY_SOME = 1, VERBOSITY_MORE = 2, VERBOSITY_EVEN_MORE = 3, VERBOSITY_A_LOT = 4, VERBOSITY_MAX = std::numeric_limits<int>::max() - 10 } |
Protected Member Functions inherited from SubsysReco | |
SubsysReco (const std::string &name="NONAME") | |
Definition at line 19 of file EventPlaneReco.h.
View newest version in sPHENIX GitHub at line 19 of file EventPlaneReco.h
EventPlaneReco::EventPlaneReco | ( | const std::string & | name = "EventPlaneReco" | ) |
Definition at line 43 of file EventPlaneReco.cc.
View newest version in sPHENIX GitHub at line 43 of file EventPlaneReco.cc
References m_MaxOrder, mbd_e_north, mbd_e_south, mbdQ, north_q, north_q_subtract, shift_north, shift_south, south_q, south_q_subtract, tmp_north_psi, tmp_south_psi, and vec.
|
overridedefault |
|
private |
Definition at line 532 of file EventPlaneReco.cc.
View newest version in sPHENIX GitHub at line 532 of file EventPlaneReco.cc
References Fun4AllReturnCodes::ABORTRUN, PHCompositeNode::addNode(), eps, Fun4AllReturnCodes::EVENT_OK, PHNodeIterator::findFirst(), and PHWHERE.
Referenced by Init(), and InitRun().
|
overridevirtual |
Called at the end of all processing.
Reimplemented from SubsysReco.
Definition at line 593 of file EventPlaneReco.cc.
View newest version in sPHENIX GitHub at line 593 of file EventPlaneReco.cc
References cdbhistosOut, Fun4AllReturnCodes::EVENT_OK, and CDBHistos::WriteCDBHistos().
|
overridevirtual |
Called during initialization. Typically this is where you can book histograms, and e.g. register them to Fun4AllServer (so they can be output to file using Fun4AllServer::dumpHistos() method).
Reimplemented from SubsysReco.
Definition at line 82 of file EventPlaneReco.cc.
View newest version in sPHENIX GitHub at line 82 of file EventPlaneReco.cc
References _imax, cdbhistosOut, CreateNodes(), CDBHistos::getHisto(), CDBHistos::LoadCalibrations(), m_MaxOrder, m_runNo, OutFileName, merge_hashes::p, CDBHistos::Print(), CDBHistos::registerHisto(), tprof_cos_north_mbd_shift, tprof_cos_north_mbd_shift_input, tprof_cos_south_mbd_shift, tprof_cos_south_mbd_shift_input, tprof_mean_cos_north_mbd, tprof_mean_cos_north_mbd_input, tprof_mean_cos_south_mbd, tprof_mean_cos_south_mbd_input, tprof_mean_sin_north_mbd, tprof_mean_sin_north_mbd_input, tprof_mean_sin_south_mbd, tprof_mean_sin_south_mbd_input, tprof_sin_north_mbd_shift, tprof_sin_north_mbd_shift_input, tprof_sin_south_mbd_shift, and tprof_sin_south_mbd_shift_input.
|
overridevirtual |
Called for first event when run number is known. Typically this is where you may want to fetch data from database, because you know the run number.
Reimplemented from SubsysReco.
Definition at line 182 of file EventPlaneReco.cc.
View newest version in sPHENIX GitHub at line 182 of file EventPlaneReco.cc
References CreateNodes(), and Fun4AllBase::Verbosity().
|
overridevirtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
Definition at line 193 of file EventPlaneReco.cc.
View newest version in sPHENIX GitHub at line 193 of file EventPlaneReco.cc
References _epd_e, _imax, _mbd_e, _mbdEpReco, _sepdEpReco, double(), TowerInfoDefs::encode_epd(), Fun4AllReturnCodes::EVENT_OK, MbdGeom::get_arm(), TowerInfo::get_energy(), TowerInfoDefs::get_epd_arm(), MbdPmtContainer::get_npmt(), MbdGeom::get_phi(), EpdGeom::get_phi(), MbdPmtContainer::get_pmt(), MbdPmtHit::get_q(), TowerInfoContainer::get_tower_at_channel(), Eventplaneinfo::GetPsi(), Eventplaneinfo::identify(), EventplaneinfoMap::identify(), EventplaneinfoMap::insert(), m_MaxOrder, mbd_e_north, mbd_e_south, EventplaneinfoMap::MBDN, mbdQ, EventplaneinfoMap::MBDS, north_q, north_q_subtract, north_Qvec, merge_hashes::p, ActsTests::PropagationDatasets::phi, PHWHERE, ResetMe(), EventplaneinfoMap::sEPDN, EventplaneinfoMap::sEPDS, Eventplaneinfo::set_qvector(), Eventplaneinfo::set_shifted_psi(), shift_north, shift_south, TowerInfoContainer::size(), south_q, south_q_subtract, south_Qvec, Acts::Test::tmp(), tmp_north_psi, tmp_south_psi, tprof_cos_north_mbd_shift, tprof_cos_north_mbd_shift_input, tprof_cos_south_mbd_shift, tprof_cos_south_mbd_shift_input, tprof_mean_cos_north_mbd, tprof_mean_cos_north_mbd_input, tprof_mean_cos_south_mbd, tprof_mean_cos_south_mbd_input, tprof_mean_sin_north_mbd, tprof_mean_sin_north_mbd_input, tprof_mean_sin_south_mbd, tprof_mean_sin_south_mbd_input, tprof_sin_north_mbd_shift, tprof_sin_north_mbd_shift_input, tprof_sin_south_mbd_shift, tprof_sin_south_mbd_shift_input, and Fun4AllBase::Verbosity().
void EventPlaneReco::ResetMe | ( | ) |
Definition at line 560 of file EventPlaneReco.cc.
View newest version in sPHENIX GitHub at line 560 of file EventPlaneReco.cc
References north_q, north_q_subtract, north_Qvec, shift_north, shift_south, south_q, south_q_subtract, south_Qvec, tmp_north_psi, tmp_south_psi, and vec.
Referenced by process_event().
|
inline |
Definition at line 46 of file EventPlaneReco.h.
View newest version in sPHENIX GitHub at line 46 of file EventPlaneReco.h
References m_MaxOrder, and n.
|
inline |
Definition at line 34 of file EventPlaneReco.h.
View newest version in sPHENIX GitHub at line 34 of file EventPlaneReco.h
References _mbdEpReco.
|
inline |
Definition at line 42 of file EventPlaneReco.h.
View newest version in sPHENIX GitHub at line 42 of file EventPlaneReco.h
|
inline |
Definition at line 50 of file EventPlaneReco.h.
View newest version in sPHENIX GitHub at line 50 of file EventPlaneReco.h
References m_runNo, and physmon_track_finding_ttbar::r.
|
inline |
Definition at line 30 of file EventPlaneReco.h.
View newest version in sPHENIX GitHub at line 30 of file EventPlaneReco.h
References _sepdEpReco.
|
inline |
Definition at line 38 of file EventPlaneReco.h.
View newest version in sPHENIX GitHub at line 38 of file EventPlaneReco.h
References _epd_e, and Acts::UnitConstants::e.
|
private |
Definition at line 86 of file EventPlaneReco.h.
View newest version in sPHENIX GitHub at line 86 of file EventPlaneReco.h
Referenced by process_event(), and set_sEPD_Mip_cut().
|
private |
Definition at line 105 of file EventPlaneReco.h.
View newest version in sPHENIX GitHub at line 105 of file EventPlaneReco.h
Referenced by Init(), and process_event().
|
private |
Definition at line 87 of file EventPlaneReco.h.
View newest version in sPHENIX GitHub at line 87 of file EventPlaneReco.h
Referenced by process_event(), and set_MBD_Min_Qcut().
|
private |
Definition at line 83 of file EventPlaneReco.h.
View newest version in sPHENIX GitHub at line 83 of file EventPlaneReco.h
Referenced by process_event(), and set_mbd_epreco().
|
private |
Definition at line 84 of file EventPlaneReco.h.
View newest version in sPHENIX GitHub at line 84 of file EventPlaneReco.h
Referenced by process_event(), and set_sepd_epreco().
|
private |
Definition at line 65 of file EventPlaneReco.h.
View newest version in sPHENIX GitHub at line 65 of file EventPlaneReco.h
|
private |
Definition at line 59 of file EventPlaneReco.h.
View newest version in sPHENIX GitHub at line 59 of file EventPlaneReco.h
Referenced by EventPlaneReco(), Init(), process_event(), and set_Ep_orders().
|
private |
Definition at line 61 of file EventPlaneReco.h.
View newest version in sPHENIX GitHub at line 61 of file EventPlaneReco.h
Referenced by Init(), and set_run_number().
|
private |
Definition at line 90 of file EventPlaneReco.h.
View newest version in sPHENIX GitHub at line 90 of file EventPlaneReco.h
Referenced by EventPlaneReco(), and process_event().
|
private |
Definition at line 89 of file EventPlaneReco.h.
View newest version in sPHENIX GitHub at line 89 of file EventPlaneReco.h
Referenced by EventPlaneReco(), and process_event().
|
private |
Definition at line 91 of file EventPlaneReco.h.
View newest version in sPHENIX GitHub at line 91 of file EventPlaneReco.h
Referenced by EventPlaneReco(), and process_event().
|
private |
Definition at line 68 of file EventPlaneReco.h.
View newest version in sPHENIX GitHub at line 68 of file EventPlaneReco.h
Referenced by EventPlaneReco(), process_event(), and ResetMe().
|
private |
Definition at line 74 of file EventPlaneReco.h.
View newest version in sPHENIX GitHub at line 74 of file EventPlaneReco.h
Referenced by EventPlaneReco(), process_event(), and ResetMe().
Definition at line 70 of file EventPlaneReco.h.
View newest version in sPHENIX GitHub at line 70 of file EventPlaneReco.h
Referenced by process_event(), and ResetMe().
|
private |
Definition at line 63 of file EventPlaneReco.h.
View newest version in sPHENIX GitHub at line 63 of file EventPlaneReco.h
Referenced by Init().
|
private |
Definition at line 79 of file EventPlaneReco.h.
View newest version in sPHENIX GitHub at line 79 of file EventPlaneReco.h
Referenced by EventPlaneReco(), process_event(), and ResetMe().
|
private |
Definition at line 80 of file EventPlaneReco.h.
View newest version in sPHENIX GitHub at line 80 of file EventPlaneReco.h
Referenced by EventPlaneReco(), process_event(), and ResetMe().
|
private |
Definition at line 67 of file EventPlaneReco.h.
View newest version in sPHENIX GitHub at line 67 of file EventPlaneReco.h
Referenced by EventPlaneReco(), process_event(), and ResetMe().
|
private |
Definition at line 73 of file EventPlaneReco.h.
View newest version in sPHENIX GitHub at line 73 of file EventPlaneReco.h
Referenced by EventPlaneReco(), process_event(), and ResetMe().
Definition at line 69 of file EventPlaneReco.h.
View newest version in sPHENIX GitHub at line 69 of file EventPlaneReco.h
Referenced by process_event(), and ResetMe().
|
private |
Definition at line 78 of file EventPlaneReco.h.
View newest version in sPHENIX GitHub at line 78 of file EventPlaneReco.h
Referenced by EventPlaneReco(), process_event(), and ResetMe().
|
private |
Definition at line 77 of file EventPlaneReco.h.
View newest version in sPHENIX GitHub at line 77 of file EventPlaneReco.h
Referenced by EventPlaneReco(), process_event(), and ResetMe().
|
private |
Definition at line 106 of file EventPlaneReco.h.
View newest version in sPHENIX GitHub at line 106 of file EventPlaneReco.h
Referenced by Init(), and process_event().
|
private |
Definition at line 111 of file EventPlaneReco.h.
View newest version in sPHENIX GitHub at line 111 of file EventPlaneReco.h
Referenced by Init(), and process_event().
|
private |
Definition at line 108 of file EventPlaneReco.h.
View newest version in sPHENIX GitHub at line 108 of file EventPlaneReco.h
Referenced by Init(), and process_event().
|
private |
Definition at line 113 of file EventPlaneReco.h.
View newest version in sPHENIX GitHub at line 113 of file EventPlaneReco.h
Referenced by Init(), and process_event().
|
private |
Definition at line 94 of file EventPlaneReco.h.
View newest version in sPHENIX GitHub at line 94 of file EventPlaneReco.h
Referenced by Init(), and process_event().
|
private |
Definition at line 99 of file EventPlaneReco.h.
View newest version in sPHENIX GitHub at line 99 of file EventPlaneReco.h
Referenced by Init(), and process_event().
|
private |
Definition at line 96 of file EventPlaneReco.h.
View newest version in sPHENIX GitHub at line 96 of file EventPlaneReco.h
Referenced by Init(), and process_event().
|
private |
Definition at line 101 of file EventPlaneReco.h.
View newest version in sPHENIX GitHub at line 101 of file EventPlaneReco.h
Referenced by Init(), and process_event().
|
private |
Definition at line 95 of file EventPlaneReco.h.
View newest version in sPHENIX GitHub at line 95 of file EventPlaneReco.h
Referenced by Init(), and process_event().
|
private |
Definition at line 100 of file EventPlaneReco.h.
View newest version in sPHENIX GitHub at line 100 of file EventPlaneReco.h
Referenced by Init(), and process_event().
|
private |
Definition at line 97 of file EventPlaneReco.h.
View newest version in sPHENIX GitHub at line 97 of file EventPlaneReco.h
Referenced by Init(), and process_event().
|
private |
Definition at line 102 of file EventPlaneReco.h.
View newest version in sPHENIX GitHub at line 102 of file EventPlaneReco.h
Referenced by Init(), and process_event().
|
private |
Definition at line 107 of file EventPlaneReco.h.
View newest version in sPHENIX GitHub at line 107 of file EventPlaneReco.h
Referenced by Init(), and process_event().
|
private |
Definition at line 112 of file EventPlaneReco.h.
View newest version in sPHENIX GitHub at line 112 of file EventPlaneReco.h
Referenced by Init(), and process_event().
|
private |
Definition at line 109 of file EventPlaneReco.h.
View newest version in sPHENIX GitHub at line 109 of file EventPlaneReco.h
Referenced by Init(), and process_event().
|
private |
Definition at line 114 of file EventPlaneReco.h.
View newest version in sPHENIX GitHub at line 114 of file EventPlaneReco.h
Referenced by Init(), and process_event().