Analysis Software
Documentation for sPHENIX simulation software
|
#include <analysis/blob/master/AntiSigma/src/TimingNtuple.h>
Public Member Functions | |
TimingNtuple (const std::string &name="TimingNtuple", const std::string &filename="TimingNtuple.root") | |
constructor | |
virtual | ~TimingNtuple () |
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 Member Functions | |
double | get_dtotal (const PHG4Hit *hit, const double phi, const double theta) |
Protected Member Functions inherited from SubsysReco | |
SubsysReco (const std::string &name="NONAME") | |
Protected Member Functions inherited from Fun4AllBase | |
Fun4AllBase (const std::string &name="NONAME") | |
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 * | ntup |
TNtuple * | ntupt |
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 } |
Definition at line 19 of file TimingNtuple.h.
View newest version in sPHENIX GitHub at line 19 of file TimingNtuple.h
TimingNtuple::TimingNtuple | ( | const std::string & | name = "TimingNtuple" , |
const std::string & | filename = "TimingNtuple.root" |
||
) |
constructor
Definition at line 25 of file TimingNtuple.cc.
View newest version in sPHENIX GitHub at line 25 of file TimingNtuple.cc
|
virtual |
destructor
Definition at line 34 of file TimingNtuple.cc.
View newest version in sPHENIX GitHub at line 34 of file TimingNtuple.cc
References hm.
void TimingNtuple::AddNode | ( | const std::string & | name, |
const int | detid = 0 |
||
) |
Definition at line 155 of file TimingNtuple.cc.
View newest version in sPHENIX GitHub at line 155 of file TimingNtuple.cc
References _detid, _node_postfix, and perf_headwind::name.
|
virtual |
end of run method
Reimplemented from SubsysReco.
Definition at line 142 of file TimingNtuple.cc.
View newest version in sPHENIX GitHub at line 142 of file TimingNtuple.cc
References _filename, Fun4AllHistoManager::dumpHistos(), hm, ntupt, and outfile.
|
protected |
Definition at line 163 of file TimingNtuple.cc.
View newest version in sPHENIX GitHub at line 163 of file TimingNtuple.cc
References PHG4Hit::get_avg_x(), PHG4Hit::get_avg_y(), PHG4Hit::get_avg_z(), ActsTests::PropagationDatasets::phi, and ActsTests::PropagationDatasets::theta.
Referenced by process_event().
|
virtual |
full initialization
Reimplemented from SubsysReco.
Definition at line 42 of file TimingNtuple.cc.
View newest version in sPHENIX GitHub at line 42 of file TimingNtuple.cc
References _filename, eloss, h1, hm, Fun4AllBase::Name(), ntupt, and outfile.
|
virtual |
event processing method
Reimplemented from SubsysReco.
Definition at line 59 of file TimingNtuple.cc.
View newest version in sPHENIX GitHub at line 59 of file TimingNtuple.cc
References get_dtotal(), PHG4Particle::get_e(), PHG4Particle::get_px(), PHG4Particle::get_py(), PHG4Particle::get_pz(), PHG4HitContainer::getHits(), PHG4TruthInfoContainer::GetPrimaryParticleRange(), ntupt, and particle.
|
protected |
Definition at line 49 of file TimingNtuple.h.
View newest version in sPHENIX GitHub at line 49 of file TimingNtuple.h
Referenced by AddNode().
|
protected |
Definition at line 47 of file TimingNtuple.h.
View newest version in sPHENIX GitHub at line 47 of file TimingNtuple.h
|
protected |
Definition at line 48 of file TimingNtuple.h.
View newest version in sPHENIX GitHub at line 48 of file TimingNtuple.h
Referenced by AddNode().
|
protected |
Definition at line 45 of file TimingNtuple.h.
View newest version in sPHENIX GitHub at line 45 of file TimingNtuple.h
Referenced by Init().
|
protected |
Definition at line 43 of file TimingNtuple.h.
View newest version in sPHENIX GitHub at line 43 of file TimingNtuple.h
Referenced by End(), Init(), and ~TimingNtuple().
|
protected |
Definition at line 42 of file TimingNtuple.h.
View newest version in sPHENIX GitHub at line 42 of file TimingNtuple.h
|
protected |
Definition at line 44 of file TimingNtuple.h.
View newest version in sPHENIX GitHub at line 44 of file TimingNtuple.h
|
protected |
Definition at line 50 of file TimingNtuple.h.
View newest version in sPHENIX GitHub at line 50 of file TimingNtuple.h
|
protected |
Definition at line 51 of file TimingNtuple.h.
View newest version in sPHENIX GitHub at line 51 of file TimingNtuple.h
Referenced by End(), Init(), and process_event().
|
protected |
Definition at line 52 of file TimingNtuple.h.
View newest version in sPHENIX GitHub at line 52 of file TimingNtuple.h