ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <coresoftware/blob/master/simulation/g4simulation/g4centrality/PHG4CentralityReco.h>
Public Member Functions | |
PHG4CentralityReco (const std::string &name="PHG4CentralityReco") | |
~PHG4CentralityReco () override | |
int | InitRun (PHCompositeNode *topNode) override |
int | process_event (PHCompositeNode *topNode) override |
int | End (PHCompositeNode *topNode) override |
Called at the end of all processing. | |
void | DoCentralityCalibration (bool do_centrality_calibration) |
PHParameters & | GetCalibrationParameters () |
Public Member Functions inherited from SubsysReco | |
~SubsysReco () override | |
virtual int | EndRun (const int) |
Called at the end of each run. | |
virtual int | Init (PHCompositeNode *) |
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 | |
void | CreateNode (PHCompositeNode *topNode) |
void | FillNode (PHCompositeNode *topNode) |
Private Attributes | |
PHParameters | _centrality_calibration_params |
bool | _do_centrality_calibration = true |
std::map< float, int > | _cent_cal_bimp |
std::map< float, int > | _cent_cal_epd |
std::map< float, int > | _cent_cal_mbd |
float | _bimp = NAN |
float | _bimp_cent = NAN |
float | _epd_N = NAN |
float | _epd_S = NAN |
float | _epd_NS = NAN |
float | _epd_cent = NAN |
float | _mbd_N = NAN |
float | _mbd_S = NAN |
float | _mbd_NS = NAN |
float | _mbd_cent = NAN |
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 = INT_MAX - 10 } |
Protected Member Functions inherited from SubsysReco | |
SubsysReco (const std::string &name="NONAME") | |
Definition at line 18 of file PHG4CentralityReco.h.
View newest version in sPHENIX GitHub at line 18 of file PHG4CentralityReco.h
PHG4CentralityReco::PHG4CentralityReco | ( | const std::string & | name = "PHG4CentralityReco" | ) |
Definition at line 27 of file PHG4CentralityReco.cc.
View newest version in sPHENIX GitHub at line 27 of file PHG4CentralityReco.cc
|
inlineoverride |
Definition at line 22 of file PHG4CentralityReco.h.
View newest version in sPHENIX GitHub at line 22 of file PHG4CentralityReco.h
|
private |
Definition at line 308 of file PHG4CentralityReco.cc.
View newest version in sPHENIX GitHub at line 308 of file PHG4CentralityReco.cc
References PHCompositeNode::addNode(), PHNodeIterator::findFirst(), and PHWHERE.
Referenced by InitRun().
|
inline |
Definition at line 28 of file PHG4CentralityReco.h.
View newest version in sPHENIX GitHub at line 28 of file PHG4CentralityReco.h
References _do_centrality_calibration.
|
overridevirtual |
Called at the end of all processing.
Reimplemented from SubsysReco.
Definition at line 279 of file PHG4CentralityReco.cc.
View newest version in sPHENIX GitHub at line 279 of file PHG4CentralityReco.cc
References Fun4AllReturnCodes::EVENT_OK.
|
private |
Definition at line 284 of file PHG4CentralityReco.cc.
View newest version in sPHENIX GitHub at line 284 of file PHG4CentralityReco.cc
References _bimp, _bimp_cent, _epd_cent, _epd_N, _epd_NS, _epd_S, _mbd_cent, _mbd_N, _mbd_NS, _mbd_S, CentralityInfo::set_centile(), and CentralityInfo::set_quantity().
Referenced by process_event().
|
inline |
Definition at line 32 of file PHG4CentralityReco.h.
View newest version in sPHENIX GitHub at line 32 of file PHG4CentralityReco.h
References _centrality_calibration_params.
|
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 32 of file PHG4CentralityReco.cc.
View newest version in sPHENIX GitHub at line 32 of file PHG4CentralityReco.cc
References _cent_cal_bimp, _cent_cal_epd, _cent_cal_mbd, _centrality_calibration_params, CreateNode(), e, Fun4AllReturnCodes::EVENT_OK, PHParameters::exist_double_param(), PHParameters::exist_string_param(), PHParameters::get_double_param(), PHParameters::get_string_param(), n, PHWHERE, s1, and Fun4AllBase::Verbosity().
|
overridevirtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
Definition at line 94 of file PHG4CentralityReco.cc.
View newest version in sPHENIX GitHub at line 94 of file PHG4CentralityReco.cc
References _bimp, _bimp_cent, _cent_cal_bimp, _cent_cal_epd, _cent_cal_mbd, _do_centrality_calibration, _epd_cent, _epd_N, _epd_NS, _epd_S, _mbd_cent, _mbd_N, _mbd_NS, _mbd_S, Fun4AllReturnCodes::EVENT_OK, FillNode(), it, and Fun4AllBase::Verbosity().
|
private |
Definition at line 48 of file PHG4CentralityReco.h.
View newest version in sPHENIX GitHub at line 48 of file PHG4CentralityReco.h
Referenced by FillNode(), and process_event().
|
private |
Definition at line 49 of file PHG4CentralityReco.h.
View newest version in sPHENIX GitHub at line 49 of file PHG4CentralityReco.h
Referenced by FillNode(), and process_event().
|
private |
Definition at line 44 of file PHG4CentralityReco.h.
View newest version in sPHENIX GitHub at line 44 of file PHG4CentralityReco.h
Referenced by InitRun(), and process_event().
|
private |
Definition at line 45 of file PHG4CentralityReco.h.
View newest version in sPHENIX GitHub at line 45 of file PHG4CentralityReco.h
Referenced by InitRun(), and process_event().
|
private |
Definition at line 46 of file PHG4CentralityReco.h.
View newest version in sPHENIX GitHub at line 46 of file PHG4CentralityReco.h
Referenced by InitRun(), and process_event().
|
private |
Definition at line 40 of file PHG4CentralityReco.h.
View newest version in sPHENIX GitHub at line 40 of file PHG4CentralityReco.h
Referenced by GetCalibrationParameters(), and InitRun().
|
private |
Definition at line 42 of file PHG4CentralityReco.h.
View newest version in sPHENIX GitHub at line 42 of file PHG4CentralityReco.h
Referenced by DoCentralityCalibration(), and process_event().
|
private |
Definition at line 54 of file PHG4CentralityReco.h.
View newest version in sPHENIX GitHub at line 54 of file PHG4CentralityReco.h
Referenced by FillNode(), and process_event().
|
private |
Definition at line 51 of file PHG4CentralityReco.h.
View newest version in sPHENIX GitHub at line 51 of file PHG4CentralityReco.h
Referenced by FillNode(), and process_event().
|
private |
Definition at line 53 of file PHG4CentralityReco.h.
View newest version in sPHENIX GitHub at line 53 of file PHG4CentralityReco.h
Referenced by FillNode(), and process_event().
|
private |
Definition at line 52 of file PHG4CentralityReco.h.
View newest version in sPHENIX GitHub at line 52 of file PHG4CentralityReco.h
Referenced by FillNode(), and process_event().
|
private |
Definition at line 59 of file PHG4CentralityReco.h.
View newest version in sPHENIX GitHub at line 59 of file PHG4CentralityReco.h
Referenced by FillNode(), and process_event().
|
private |
Definition at line 56 of file PHG4CentralityReco.h.
View newest version in sPHENIX GitHub at line 56 of file PHG4CentralityReco.h
Referenced by FillNode(), and process_event().
|
private |
Definition at line 58 of file PHG4CentralityReco.h.
View newest version in sPHENIX GitHub at line 58 of file PHG4CentralityReco.h
Referenced by FillNode(), and process_event().
|
private |
Definition at line 57 of file PHG4CentralityReco.h.
View newest version in sPHENIX GitHub at line 57 of file PHG4CentralityReco.h
Referenced by FillNode(), and process_event().