EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <fun4all_eicdetectors/blob/master/simulation/g4simulation/g4lblvtx/SimpleNtuple.h>
Public Member Functions | |
SimpleNtuple (const std::string &name="SimpleNtuple", const std::string &filename="SimpleNtuple.root") | |
constructor | |
virtual | ~SimpleNtuple () |
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) |
SimpleNtuple (const std::string &name="SimpleNtuple", const std::string &filename="SimpleNtuple.root") | |
constructor | |
virtual | ~SimpleNtuple () |
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 | |
Fun4AllHistoManager * | m_HistoManager |
TNtuple * | m_Ntup |
TFile * | m_Outfile |
std::string | m_Filename |
std::vector< TH1 * > | m_ElossVec |
std::set< std::string > | m_NodePostfixSet |
std::map< std::string, int > | m_DetIdMap |
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 18 of file SimpleNtuple.h.
View newest version in sPHENIX GitHub at line 18 of file SimpleNtuple.h
SimpleNtuple::SimpleNtuple | ( | const std::string & | name = "SimpleNtuple" , |
const std::string & | filename = "SimpleNtuple.root" |
||
) |
constructor
Definition at line 20 of file SimpleNtuple.cc.
View newest version in sPHENIX GitHub at line 20 of file SimpleNtuple.cc
|
virtual |
destructor
Definition at line 29 of file SimpleNtuple.cc.
View newest version in sPHENIX GitHub at line 29 of file SimpleNtuple.cc
References m_HistoManager.
SimpleNtuple::SimpleNtuple | ( | const std::string & | name = "SimpleNtuple" , |
const std::string & | filename = "SimpleNtuple.root" |
||
) |
constructor
|
virtual |
destructor
void SimpleNtuple::AddNode | ( | const std::string & | name, |
const int | detid = 0 |
||
) |
Definition at line 96 of file SimpleNtuple.cc.
View newest version in sPHENIX GitHub at line 96 of file SimpleNtuple.cc
References m_DetIdMap, m_NodePostfixSet, and name.
Referenced by add_AllSi_hits(), Fun4All_G4_FastMom_GEM(), and Fun4All_G4_FastMom_GEM_RICH().
void SimpleNtuple::AddNode | ( | const std::string & | name, |
const int | detid = 0 |
||
) |
|
virtual |
end of run method
Reimplemented from SubsysReco.
Definition at line 85 of file SimpleNtuple.cc.
View newest version in sPHENIX GitHub at line 85 of file SimpleNtuple.cc
References Fun4AllHistoManager::dumpHistos(), m_Filename, m_HistoManager, m_Ntup, and m_Outfile.
|
virtual |
end of run method
Reimplemented from SubsysReco.
|
virtual |
full initialization
Reimplemented from SubsysReco.
|
virtual |
full initialization
Reimplemented from SubsysReco.
Definition at line 34 of file SimpleNtuple.cc.
View newest version in sPHENIX GitHub at line 34 of file SimpleNtuple.cc
References h1, m_ElossVec, m_Filename, m_HistoManager, m_Ntup, m_Outfile, and Fun4AllBase::Name().
|
virtual |
event processing method
Reimplemented from SubsysReco.
|
virtual |
event processing method
Reimplemented from SubsysReco.
Definition at line 47 of file SimpleNtuple.cc.
View newest version in sPHENIX GitHub at line 47 of file SimpleNtuple.cc
References PHG4HitContainer::getHits(), m_DetIdMap, m_ElossVec, m_NodePostfixSet, and m_Ntup.
|
protected |
Definition at line 45 of file SimpleNtuple.h.
View newest version in sPHENIX GitHub at line 45 of file SimpleNtuple.h
Referenced by AddNode(), and process_event().
|
protected |
Definition at line 43 of file SimpleNtuple.h.
View newest version in sPHENIX GitHub at line 43 of file SimpleNtuple.h
Referenced by Init(), and process_event().
|
protected |
Definition at line 42 of file SimpleNtuple.h.
View newest version in sPHENIX GitHub at line 42 of file SimpleNtuple.h
|
protected |
Definition at line 39 of file SimpleNtuple.h.
View newest version in sPHENIX GitHub at line 39 of file SimpleNtuple.h
Referenced by End(), Init(), and ~SimpleNtuple().
|
protected |
Definition at line 44 of file SimpleNtuple.h.
View newest version in sPHENIX GitHub at line 44 of file SimpleNtuple.h
Referenced by AddNode(), and process_event().
|
protected |
Definition at line 40 of file SimpleNtuple.h.
View newest version in sPHENIX GitHub at line 40 of file SimpleNtuple.h
Referenced by End(), Init(), and process_event().
|
protected |
Definition at line 41 of file SimpleNtuple.h.
View newest version in sPHENIX GitHub at line 41 of file SimpleNtuple.h