Analysis Software
Documentation for sPHENIX simulation software
|
#include <analysis/blob/master/AntiSigma/src/TowerTiming.h>
Public Member Functions | |
TowerTiming (const std::string &name="TowerTiming", const std::string &filename="TowerTiming.root") | |
constructor | |
virtual | ~TowerTiming () |
destructor | |
int | Init (PHCompositeNode *) |
full initialization | |
int | process_event (PHCompositeNode *) |
event processing method | |
int | End (PHCompositeNode *) |
end of run method | |
void | AddNode (const std::string &name, const int detid=0) |
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 | |
int | nblocks |
Fun4AllHistoManager * | hm |
std::vector< TH1 * > | nhits |
std::vector< TH1 * > | eloss |
std::string | _filename |
std::set< std::string > | _node_postfix |
std::map< std::string, int > | _detid |
TNtuple * | ntuptwr |
TNtuple * | ntupe |
TFile * | outfile |
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 18 of file TowerTiming.h.
View newest version in sPHENIX GitHub at line 18 of file TowerTiming.h
TowerTiming::TowerTiming | ( | const std::string & | name = "TowerTiming" , |
const std::string & | filename = "TowerTiming.root" |
||
) |
constructor
Definition at line 24 of file TowerTiming.cc.
View newest version in sPHENIX GitHub at line 24 of file TowerTiming.cc
|
virtual |
destructor
Definition at line 33 of file TowerTiming.cc.
View newest version in sPHENIX GitHub at line 33 of file TowerTiming.cc
References hm.
void TowerTiming::AddNode | ( | const std::string & | name, |
const int | detid = 0 |
||
) |
Definition at line 157 of file TowerTiming.cc.
View newest version in sPHENIX GitHub at line 157 of file TowerTiming.cc
References _detid, _node_postfix, and perf_headwind::name.
|
virtual |
end of run method
Reimplemented from SubsysReco.
Definition at line 143 of file TowerTiming.cc.
View newest version in sPHENIX GitHub at line 143 of file TowerTiming.cc
References _filename, Fun4AllHistoManager::dumpHistos(), hm, ntupe, ntuptwr, and outfile.
|
virtual |
full initialization
Reimplemented from SubsysReco.
Definition at line 41 of file TowerTiming.cc.
View newest version in sPHENIX GitHub at line 41 of file TowerTiming.cc
References _filename, hm, Fun4AllBase::Name(), ntupe, ntuptwr, and outfile.
|
virtual |
event processing method
Reimplemented from SubsysReco.
Definition at line 52 of file TowerTiming.cc.
View newest version in sPHENIX GitHub at line 52 of file TowerTiming.cc
References energy, eta, KF_timing::etabin, PHG4Particle::get_e(), RawTowerGeomContainer::get_etacenter(), RawTowerGeomContainer::get_phicenter(), PHG4Particle::get_px(), PHG4Particle::get_py(), PHG4Particle::get_pz(), PHG4TruthInfoContainer::GetPrimaryParticleRange(), RawTowerContainer::getTowers(), j, ntupe, ntuptwr, particle, and ActsTests::PropagationDatasets::phi.
|
protected |
Definition at line 47 of file TowerTiming.h.
View newest version in sPHENIX GitHub at line 47 of file TowerTiming.h
Referenced by AddNode().
|
protected |
Definition at line 45 of file TowerTiming.h.
View newest version in sPHENIX GitHub at line 45 of file TowerTiming.h
|
protected |
Definition at line 46 of file TowerTiming.h.
View newest version in sPHENIX GitHub at line 46 of file TowerTiming.h
Referenced by AddNode().
|
protected |
Definition at line 43 of file TowerTiming.h.
View newest version in sPHENIX GitHub at line 43 of file TowerTiming.h
|
protected |
Definition at line 41 of file TowerTiming.h.
View newest version in sPHENIX GitHub at line 41 of file TowerTiming.h
Referenced by End(), Init(), and ~TowerTiming().
|
protected |
Definition at line 40 of file TowerTiming.h.
View newest version in sPHENIX GitHub at line 40 of file TowerTiming.h
|
protected |
Definition at line 42 of file TowerTiming.h.
View newest version in sPHENIX GitHub at line 42 of file TowerTiming.h
|
protected |
Definition at line 49 of file TowerTiming.h.
View newest version in sPHENIX GitHub at line 49 of file TowerTiming.h
Referenced by End(), Init(), and process_event().
|
protected |
Definition at line 48 of file TowerTiming.h.
View newest version in sPHENIX GitHub at line 48 of file TowerTiming.h
Referenced by End(), Init(), and process_event().
|
protected |
Definition at line 50 of file TowerTiming.h.
View newest version in sPHENIX GitHub at line 50 of file TowerTiming.h