ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <coresoftware/blob/master/simulation/g4simulation/g4histos/G4RawTowerTTree.h>
Public Member Functions | |
G4RawTowerTTree (const std::string &name="RAWTOWERTTREE") | |
~G4RawTowerTTree () override | |
int | Init (PHCompositeNode *) override |
full initialization | |
int | process_event (PHCompositeNode *) override |
event processing method | |
int | End (PHCompositeNode *) override |
Called at the end of all processing. | |
void | Detector (const std::string &det) |
void | SaveRawTowers (const int i=1) |
void | HistoFileName (const std::string &name) |
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 Attributes | |
std::string | _detector |
std::string | _outnodename |
std::string | _towernodename |
std::string | _towergeomnodename |
std::string | _histofilename |
int | savetowers |
int | evtno |
Fun4AllHistoManager * | hm |
TH1 * | etot_hist |
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 12 of file G4RawTowerTTree.h.
View newest version in sPHENIX GitHub at line 12 of file G4RawTowerTTree.h
G4RawTowerTTree::G4RawTowerTTree | ( | const std::string & | name = "RAWTOWERTTREE" | ) |
Definition at line 28 of file G4RawTowerTTree.cc.
View newest version in sPHENIX GitHub at line 28 of file G4RawTowerTTree.cc
|
inlineoverride |
Definition at line 16 of file G4RawTowerTTree.h.
View newest version in sPHENIX GitHub at line 16 of file G4RawTowerTTree.h
void G4RawTowerTTree::Detector | ( | const std::string & | det | ) |
Definition at line 96 of file G4RawTowerTTree.cc.
View newest version in sPHENIX GitHub at line 96 of file G4RawTowerTTree.cc
References _detector, _histofilename, _outnodename, _towergeomnodename, and _towernodename.
Referenced by G4TTree().
|
overridevirtual |
Called at the end of all processing.
Reimplemented from SubsysReco.
Definition at line 89 of file G4RawTowerTTree.cc.
View newest version in sPHENIX GitHub at line 89 of file G4RawTowerTTree.cc
References _histofilename, Fun4AllHistoManager::dumpHistos(), and hm.
|
inline |
Definition at line 30 of file G4RawTowerTTree.h.
View newest version in sPHENIX GitHub at line 30 of file G4RawTowerTTree.h
References _histofilename.
|
overridevirtual |
full initialization
Reimplemented from SubsysReco.
Definition at line 37 of file G4RawTowerTTree.cc.
View newest version in sPHENIX GitHub at line 37 of file G4RawTowerTTree.cc
References _detector, _outnodename, PHCompositeNode::addNode(), etot_hist, evtno, PHNodeIterator::findFirst(), hm, and Fun4AllHistoManager::registerHisto().
|
overridevirtual |
event processing method
Reimplemented from SubsysReco.
Definition at line 58 of file G4RawTowerTTree.cc.
View newest version in sPHENIX GitHub at line 58 of file G4RawTowerTTree.cc
References _outnodename, _towergeomnodename, _towernodename, G4RootRawTowerContainer::AddG4RootRawTower(), etot_hist, evtno, RawTower::get_bineta(), RawTower::get_binphi(), RawTower::get_energy(), savetowers, G4RootRawTowerContainer::set_etotal(), and G4RootRawTowerContainer::set_event().
Definition at line 28 of file G4RawTowerTTree.h.
View newest version in sPHENIX GitHub at line 28 of file G4RawTowerTTree.h
References savetowers.
|
protected |
Definition at line 33 of file G4RawTowerTTree.h.
View newest version in sPHENIX GitHub at line 33 of file G4RawTowerTTree.h
Referenced by Detector(), and Init().
|
protected |
Definition at line 37 of file G4RawTowerTTree.h.
View newest version in sPHENIX GitHub at line 37 of file G4RawTowerTTree.h
Referenced by Detector(), End(), and HistoFileName().
|
protected |
Definition at line 34 of file G4RawTowerTTree.h.
View newest version in sPHENIX GitHub at line 34 of file G4RawTowerTTree.h
Referenced by Detector(), Init(), and process_event().
|
protected |
Definition at line 36 of file G4RawTowerTTree.h.
View newest version in sPHENIX GitHub at line 36 of file G4RawTowerTTree.h
Referenced by Detector(), and process_event().
|
protected |
Definition at line 35 of file G4RawTowerTTree.h.
View newest version in sPHENIX GitHub at line 35 of file G4RawTowerTTree.h
Referenced by Detector(), and process_event().
|
protected |
Definition at line 41 of file G4RawTowerTTree.h.
View newest version in sPHENIX GitHub at line 41 of file G4RawTowerTTree.h
Referenced by Init(), and process_event().
|
protected |
Definition at line 39 of file G4RawTowerTTree.h.
View newest version in sPHENIX GitHub at line 39 of file G4RawTowerTTree.h
Referenced by Init(), and process_event().
|
protected |
Definition at line 40 of file G4RawTowerTTree.h.
View newest version in sPHENIX GitHub at line 40 of file G4RawTowerTTree.h
|
protected |
Definition at line 38 of file G4RawTowerTTree.h.
View newest version in sPHENIX GitHub at line 38 of file G4RawTowerTTree.h
Referenced by process_event(), and SaveRawTowers().