ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RawTowerDeadMapLoader Class Reference

RawTowerDeadMapLoader loads dead map at inti run. More...

#include <coresoftware/blob/master/offline/packages/CaloReco/RawTowerDeadMapLoader.h>

+ Inheritance diagram for RawTowerDeadMapLoader:
+ Collaboration diagram for RawTowerDeadMapLoader:

Public Member Functions

 RawTowerDeadMapLoader (const std::string &detector)
 
 ~RawTowerDeadMapLoader () override
 
int InitRun (PHCompositeNode *topNode) override
 
const std::string & deadMapPath () const
 
void deadMapPath (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::string m_detector
 
std::string m_deadMapPath
 

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")
 

Detailed Description

RawTowerDeadMapLoader loads dead map at inti run.

Definition at line 23 of file RawTowerDeadMapLoader.h.

View newest version in sPHENIX GitHub at line 23 of file RawTowerDeadMapLoader.h

Constructor & Destructor Documentation

RawTowerDeadMapLoader::RawTowerDeadMapLoader ( const std::string &  detector)

Definition at line 54 of file RawTowerDeadMapLoader.cc.

View newest version in sPHENIX GitHub at line 54 of file RawTowerDeadMapLoader.cc

RawTowerDeadMapLoader::~RawTowerDeadMapLoader ( )
inlineoverride

Definition at line 28 of file RawTowerDeadMapLoader.h.

View newest version in sPHENIX GitHub at line 28 of file RawTowerDeadMapLoader.h

Member Function Documentation

const std::string& RawTowerDeadMapLoader::deadMapPath ( ) const
inline

Definition at line 32 of file RawTowerDeadMapLoader.h.

View newest version in sPHENIX GitHub at line 32 of file RawTowerDeadMapLoader.h

References m_deadMapPath.

Referenced by deadMapPath().

+ Here is the caller graph for this function:

void RawTowerDeadMapLoader::deadMapPath ( const std::string &  deadMapPath)
inline

Definition at line 37 of file RawTowerDeadMapLoader.h.

View newest version in sPHENIX GitHub at line 37 of file RawTowerDeadMapLoader.h

References deadMapPath(), and m_deadMapPath.

+ Here is the call graph for this function:

const std::string& RawTowerDeadMapLoader::detector ( ) const
inline

Definition at line 42 of file RawTowerDeadMapLoader.h.

View newest version in sPHENIX GitHub at line 42 of file RawTowerDeadMapLoader.h

References m_detector.

Referenced by detector().

+ Here is the caller graph for this function:

void RawTowerDeadMapLoader::detector ( const std::string &  detector)
inline

Definition at line 47 of file RawTowerDeadMapLoader.h.

View newest version in sPHENIX GitHub at line 47 of file RawTowerDeadMapLoader.h

References detector(), and m_detector.

+ Here is the call graph for this function:

int RawTowerDeadMapLoader::InitRun ( PHCompositeNode )
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 60 of file RawTowerDeadMapLoader.cc.

View newest version in sPHENIX GitHub at line 60 of file RawTowerDeadMapLoader.cc

References RawTowerDeadMap::addDeadTower(), PHCompositeNode::addNode(), RawTowerDefs::convert_name_to_caloid(), Acts::VectorHelpers::eta(), Fun4AllReturnCodes::EVENT_OK, PHNodeIterator::findFirst(), PHParameters::get_all_int_params(), RawTowerDeadMap::identify(), m_deadMapPath, m_detector, Fun4AllBase::Name(), phi, PHParameters::ReadFromFile(), and Fun4AllBase::Verbosity().

+ Here is the call graph for this function:

Member Data Documentation

std::string RawTowerDeadMapLoader::m_deadMapPath
private

Definition at line 54 of file RawTowerDeadMapLoader.h.

View newest version in sPHENIX GitHub at line 54 of file RawTowerDeadMapLoader.h

Referenced by deadMapPath(), and InitRun().

std::string RawTowerDeadMapLoader::m_detector
private

Definition at line 53 of file RawTowerDeadMapLoader.h.

View newest version in sPHENIX GitHub at line 53 of file RawTowerDeadMapLoader.h

Referenced by detector(), and InitRun().


The documentation for this class was generated from the following files: