Analysis Software
Documentation for sPHENIX simulation software
|
#include <analysis/blob/master/Centrality_Validation_Package/src/CentralityValid.h>
Public Member Functions | |
CentralityValid (const std::string &name="CentralityValid", const std::string &hist_name="QA_CentralityReco.root") | |
constructor | |
virtual | ~CentralityValid () |
destructor | |
int | Init (PHCompositeNode *) |
full initialization | |
int | InitRun (PHCompositeNode *) |
int | process_event (PHCompositeNode *) |
int | End (PHCompositeNode *) |
end of run method | |
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. | |
Protected Attributes | |
Fun4AllHistoManager * | hm = nullptr |
CentralityInfo * | _central = nullptr |
MinimumBiasInfo * | _minimumbiasinfo = nullptr |
std::string | _hist_filename |
TH1 * | _h_centrality_bin = nullptr |
TH1 * | _h_centrality_bin_mb = nullptr |
TEfficiency * | _he_min_bias = nullptr |
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 16 of file CentralityValid.h.
View newest version in sPHENIX GitHub at line 16 of file CentralityValid.h
|
explicit |
constructor
Definition at line 31 of file CentralityValid.cc.
View newest version in sPHENIX GitHub at line 31 of file CentralityValid.cc
References _hist_filename.
|
virtual |
destructor
Definition at line 37 of file CentralityValid.cc.
View newest version in sPHENIX GitHub at line 37 of file CentralityValid.cc
References hm.
|
virtual |
end of run method
Reimplemented from SubsysReco.
Definition at line 106 of file CentralityValid.cc.
View newest version in sPHENIX GitHub at line 106 of file CentralityValid.cc
References _hist_filename, Fun4AllHistoManager::dumpHistos(), and hm.
|
virtual |
full initialization
Reimplemented from SubsysReco.
Definition at line 41 of file CentralityValid.cc.
View newest version in sPHENIX GitHub at line 41 of file CentralityValid.cc
References _h_centrality_bin, _h_centrality_bin_mb, _he_min_bias, Fun4AllReturnCodes::EVENT_OK, hm, and Fun4AllHistoManager::registerHisto().
|
virtual |
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 57 of file CentralityValid.cc.
View newest version in sPHENIX GitHub at line 57 of file CentralityValid.cc
References Fun4AllReturnCodes::EVENT_OK, and Fun4AllBase::Verbosity().
|
virtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
Definition at line 68 of file CentralityValid.cc.
View newest version in sPHENIX GitHub at line 68 of file CentralityValid.cc
References _central, _h_centrality_bin, _h_centrality_bin_mb, _he_min_bias, _minimumbiasinfo, Fun4AllReturnCodes::ABORTRUN, Fun4AllReturnCodes::EVENT_OK, CentralityInfo::get_centile(), CentralityInfo::has_centile(), MinimumBiasInfo::isAuAuMinimumBias(), and Fun4AllBase::Verbosity().
|
protected |
Definition at line 38 of file CentralityValid.h.
View newest version in sPHENIX GitHub at line 38 of file CentralityValid.h
Referenced by process_event().
|
protected |
Definition at line 43 of file CentralityValid.h.
View newest version in sPHENIX GitHub at line 43 of file CentralityValid.h
Referenced by Init(), and process_event().
|
protected |
Definition at line 45 of file CentralityValid.h.
View newest version in sPHENIX GitHub at line 45 of file CentralityValid.h
Referenced by Init(), and process_event().
|
protected |
Definition at line 47 of file CentralityValid.h.
View newest version in sPHENIX GitHub at line 47 of file CentralityValid.h
Referenced by Init(), and process_event().
|
protected |
Definition at line 41 of file CentralityValid.h.
View newest version in sPHENIX GitHub at line 41 of file CentralityValid.h
Referenced by CentralityValid(), and End().
|
protected |
Definition at line 39 of file CentralityValid.h.
View newest version in sPHENIX GitHub at line 39 of file CentralityValid.h
Referenced by process_event().
|
protected |
Definition at line 36 of file CentralityValid.h.
View newest version in sPHENIX GitHub at line 36 of file CentralityValid.h
Referenced by End(), Init(), and ~CentralityValid().