ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
PHG4InttDeadMapLoader loads dead map at inti run. More...
#include <coresoftware/blob/master/simulation/g4simulation/g4intt/PHG4InttDeadMapLoader.h>
Public Member Functions | |
PHG4InttDeadMapLoader (const std::string &detector="SILICON_TRACKER") | |
~PHG4InttDeadMapLoader () override | |
int | InitRun (PHCompositeNode *topNode) override |
void | deadMapPath (unsigned int layer, const std::string &deadMapPath) |
const std::string & | detector () const |
void | detector (const std::string &detector) |
Public Member Functions inherited from SubsysReco | |
~SubsysReco () override | |
virtual int | End (PHCompositeNode *) |
Called at the end of all processing. | |
virtual int | EndRun (const int) |
Called at the end of each run. | |
virtual int | Init (PHCompositeNode *) |
virtual int | process_event (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. | |
Private Attributes | |
std::map< unsigned int, std::string > | m_deadMapPathMap |
std::string | m_detector |
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") | |
PHG4InttDeadMapLoader loads dead map at inti run.
Definition at line 24 of file PHG4InttDeadMapLoader.h.
View newest version in sPHENIX GitHub at line 24 of file PHG4InttDeadMapLoader.h
|
explicit |
Definition at line 52 of file PHG4InttDeadMapLoader.cc.
View newest version in sPHENIX GitHub at line 52 of file PHG4InttDeadMapLoader.cc
|
override |
Definition at line 58 of file PHG4InttDeadMapLoader.cc.
View newest version in sPHENIX GitHub at line 58 of file PHG4InttDeadMapLoader.cc
|
inline |
Definition at line 33 of file PHG4InttDeadMapLoader.h.
View newest version in sPHENIX GitHub at line 33 of file PHG4InttDeadMapLoader.h
References G4TTL::layer, and m_deadMapPathMap.
Referenced by InitRun().
|
inline |
Definition at line 38 of file PHG4InttDeadMapLoader.h.
View newest version in sPHENIX GitHub at line 38 of file PHG4InttDeadMapLoader.h
References m_detector.
Referenced by detector().
|
inline |
Definition at line 43 of file PHG4InttDeadMapLoader.h.
View newest version in sPHENIX GitHub at line 43 of file PHG4InttDeadMapLoader.h
References detector(), and m_detector.
|
overridevirtual |
Called for first event when run number is known. Typically this is where you may want to fetch data from database, because you know the run number.
Reimplemented from SubsysReco.
Definition at line 62 of file PHG4InttDeadMapLoader.cc.
View newest version in sPHENIX GitHub at line 62 of file PHG4InttDeadMapLoader.cc
References InttDeadMap::addDeadChannelIntt(), PHCompositeNode::addNode(), deadMapPath(), Fun4AllReturnCodes::EVENT_OK, PHNodeIterator::findFirst(), PHParameters::get_all_int_params(), InttDeadMap::identify(), m_deadMapPathMap, m_detector, Fun4AllBase::Name(), PHParameters::ReadFromFile(), InttDeadMap::size(), and Fun4AllBase::Verbosity().
|
private |
Definition at line 49 of file PHG4InttDeadMapLoader.h.
View newest version in sPHENIX GitHub at line 49 of file PHG4InttDeadMapLoader.h
Referenced by deadMapPath(), and InitRun().
|
private |
Definition at line 51 of file PHG4InttDeadMapLoader.h.
View newest version in sPHENIX GitHub at line 51 of file PHG4InttDeadMapLoader.h
Referenced by detector(), and InitRun().