Analysis Software
Documentation for sPHENIX simulation software
|
#include <analysis/blob/master/HCal-analysis/HCALAnalysis/HCALAnalysis.h>
Public Member Functions | |
HCALAnalysis (const char *outfile="ntuple.root") | |
virtual | ~HCALAnalysis () |
int | Init (PHCompositeNode *topNode) |
int | process_event (PHCompositeNode *topNode) |
int | End (PHCompositeNode *topNode) |
Called at the end of all processing. | |
Public Member Functions inherited from SubsysReco | |
~SubsysReco () override | |
virtual int | EndRun (const int) |
Called at the end of each run. | |
virtual int | InitRun (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. | |
Protected Member Functions | |
void | GetNodes (PHCompositeNode *topNode) |
Protected Member Functions inherited from SubsysReco | |
SubsysReco (const std::string &name="NONAME") | |
Protected Member Functions inherited from Fun4AllBase | |
Fun4AllBase (const std::string &name="NONAME") | |
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 } |
Definition at line 12 of file HCALAnalysis.h.
View newest version in sPHENIX GitHub at line 12 of file HCALAnalysis.h
HCALAnalysis::HCALAnalysis | ( | const char * | outfile = "ntuple.root" | ) |
Definition at line 38 of file HCALAnalysis.C.
View newest version in sPHENIX GitHub at line 38 of file HCALAnalysis.C
References add_histos::outfile, and OutFileName.
|
inlinevirtual |
Definition at line 16 of file HCALAnalysis.h.
View newest version in sPHENIX GitHub at line 16 of file HCALAnalysis.h
|
virtual |
Called at the end of all processing.
Reimplemented from SubsysReco.
Definition at line 356 of file HCALAnalysis.C.
View newest version in sPHENIX GitHub at line 356 of file HCALAnalysis.C
References outputfile.
|
protected |
Definition at line 365 of file HCALAnalysis.C.
View newest version in sPHENIX GitHub at line 365 of file HCALAnalysis.C
References _bh_hit_container, _bh_minus_hit_container, _bh_plus_hit_container, _cemc_abs_hit_container, _cemc_electronics_hit_container, _cemc_hit_container, _hcalin_abs_hit_container, _hcalin_hit_container, _hcalin_spt_hit_container, _hcalout_abs_hit_container, _hcalout_hit_container, _magnet_hit_container, _svtx_hit_container, _svtx_support_hit_container, _topNode, and PHWHERE.
Referenced by process_event().
|
virtual |
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 45 of file HCALAnalysis.C.
View newest version in sPHENIX GitHub at line 45 of file HCALAnalysis.C
References calenergy, OutFileName, and outputfile.
|
virtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
Definition at line 55 of file HCALAnalysis.C.
View newest version in sPHENIX GitHub at line 55 of file HCALAnalysis.C
References _bh_hit_container, _bh_minus_hit_container, _bh_plus_hit_container, _cemc_abs_hit_container, _cemc_electronics_hit_container, _cemc_hit_container, _hcalin_abs_hit_container, _hcalin_hit_container, _hcalin_spt_hit_container, _hcalout_abs_hit_container, _hcalout_hit_container, _magnet_hit_container, _svtx_hit_container, _svtx_support_hit_container, assert, calenergy, PHG4Hit::get_edep(), PHG4Hit::get_light_yield(), PHG4Hit::get_x(), PHG4Hit::get_y(), PHG4HitContainer::getHits(), and GetNodes().
|
protected |
Definition at line 37 of file HCALAnalysis.h.
View newest version in sPHENIX GitHub at line 37 of file HCALAnalysis.h
Referenced by GetNodes(), and process_event().
|
protected |
Definition at line 39 of file HCALAnalysis.h.
View newest version in sPHENIX GitHub at line 39 of file HCALAnalysis.h
Referenced by GetNodes(), and process_event().
|
protected |
Definition at line 38 of file HCALAnalysis.h.
View newest version in sPHENIX GitHub at line 38 of file HCALAnalysis.h
Referenced by GetNodes(), and process_event().
|
protected |
Definition at line 35 of file HCALAnalysis.h.
View newest version in sPHENIX GitHub at line 35 of file HCALAnalysis.h
Referenced by GetNodes(), and process_event().
|
protected |
Definition at line 40 of file HCALAnalysis.h.
View newest version in sPHENIX GitHub at line 40 of file HCALAnalysis.h
Referenced by GetNodes(), and process_event().
|
protected |
Definition at line 32 of file HCALAnalysis.h.
View newest version in sPHENIX GitHub at line 32 of file HCALAnalysis.h
Referenced by GetNodes(), and process_event().
|
protected |
Definition at line 34 of file HCALAnalysis.h.
View newest version in sPHENIX GitHub at line 34 of file HCALAnalysis.h
Referenced by GetNodes(), and process_event().
|
protected |
Definition at line 31 of file HCALAnalysis.h.
View newest version in sPHENIX GitHub at line 31 of file HCALAnalysis.h
Referenced by GetNodes(), and process_event().
|
protected |
Definition at line 41 of file HCALAnalysis.h.
View newest version in sPHENIX GitHub at line 41 of file HCALAnalysis.h
Referenced by GetNodes(), and process_event().
|
protected |
Definition at line 33 of file HCALAnalysis.h.
View newest version in sPHENIX GitHub at line 33 of file HCALAnalysis.h
Referenced by GetNodes(), and process_event().
|
protected |
Definition at line 30 of file HCALAnalysis.h.
View newest version in sPHENIX GitHub at line 30 of file HCALAnalysis.h
Referenced by GetNodes(), and process_event().
|
protected |
Definition at line 36 of file HCALAnalysis.h.
View newest version in sPHENIX GitHub at line 36 of file HCALAnalysis.h
Referenced by GetNodes(), and process_event().
|
protected |
Definition at line 42 of file HCALAnalysis.h.
View newest version in sPHENIX GitHub at line 42 of file HCALAnalysis.h
Referenced by GetNodes(), and process_event().
|
protected |
Definition at line 43 of file HCALAnalysis.h.
View newest version in sPHENIX GitHub at line 43 of file HCALAnalysis.h
Referenced by GetNodes(), and process_event().
|
protected |
Definition at line 29 of file HCALAnalysis.h.
View newest version in sPHENIX GitHub at line 29 of file HCALAnalysis.h
Referenced by GetNodes().
|
protected |
Definition at line 46 of file HCALAnalysis.h.
View newest version in sPHENIX GitHub at line 46 of file HCALAnalysis.h
Referenced by Init(), and process_event().
|
protected |
Definition at line 25 of file HCALAnalysis.h.
View newest version in sPHENIX GitHub at line 25 of file HCALAnalysis.h
Referenced by HCALAnalysis(), and Init().
|
protected |
Definition at line 45 of file HCALAnalysis.h.
View newest version in sPHENIX GitHub at line 45 of file HCALAnalysis.h