Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TowerInfoDeadHotMask Class Reference

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

+ Inheritance diagram for TowerInfoDeadHotMask:
+ Collaboration diagram for TowerInfoDeadHotMask:

Public Member Functions

 TowerInfoDeadHotMask (const std::string &name="TowerInfoDeadHotMask")
 
int InitRun (PHCompositeNode *topNode) override
 
int process_event (PHCompositeNode *topNode) override
 
int End (PHCompositeNode *topNode) override
 Called at the end of all processing.
 
void detector (const std::string &detector)
 
- Public Member Functions inherited from SubsysReco
 ~SubsysReco () override
 
virtual int EndRun (const int)
 Called at the end of each run.
 
virtual int Init (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 Member Functions

void CreateNodeTree (PHCompositeNode *topNode)
 

Private Attributes

std::string m_detector
 
RawTowerDeadMapm_deadMap
 
TowerInfoContainerm_calibTowerInfos
 
RawTowerGeomContainerm_geometry
 

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

Detailed Description

Definition at line 15 of file TowerInfoDeadHotMask.h.

View newest version in sPHENIX GitHub at line 15 of file TowerInfoDeadHotMask.h

Constructor & Destructor Documentation

TowerInfoDeadHotMask::TowerInfoDeadHotMask ( const std::string &  name = "TowerInfoDeadHotMask")
explicit

Definition at line 23 of file TowerInfoDeadHotMask.cc.

View newest version in sPHENIX GitHub at line 23 of file TowerInfoDeadHotMask.cc

Member Function Documentation

void TowerInfoDeadHotMask::CreateNodeTree ( PHCompositeNode topNode)
private

Definition at line 62 of file TowerInfoDeadHotMask.cc.

View newest version in sPHENIX GitHub at line 62 of file TowerInfoDeadHotMask.cc

References RawTowerDeadMap::identify(), m_calibTowerInfos, m_deadMap, m_detector, m_geometry, and Fun4AllBase::Name().

Referenced by InitRun().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 24 of file TowerInfoDeadHotMask.h.

View newest version in sPHENIX GitHub at line 24 of file TowerInfoDeadHotMask.h

References m_detector.

Referenced by Fun4All_Calo(), and Fun4All_Year1().

+ Here is the caller graph for this function:

int TowerInfoDeadHotMask::End ( PHCompositeNode )
overridevirtual

Called at the end of all processing.

Reimplemented from SubsysReco.

Definition at line 88 of file TowerInfoDeadHotMask.cc.

View newest version in sPHENIX GitHub at line 88 of file TowerInfoDeadHotMask.cc

References Fun4AllReturnCodes::EVENT_OK.

int TowerInfoDeadHotMask::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 32 of file TowerInfoDeadHotMask.cc.

View newest version in sPHENIX GitHub at line 32 of file TowerInfoDeadHotMask.cc

References CreateNodeTree(), and Fun4AllReturnCodes::EVENT_OK.

+ Here is the call graph for this function:

int TowerInfoDeadHotMask::process_event ( PHCompositeNode )
overridevirtual

Called for each event. This is where you do the real work.

Reimplemented from SubsysReco.

Definition at line 39 of file TowerInfoDeadHotMask.cc.

View newest version in sPHENIX GitHub at line 39 of file TowerInfoDeadHotMask.cc

References TowerInfoDefs::encode_emcal(), Fun4AllReturnCodes::EVENT_OK, RawTowerGeom::get_bineta(), RawTowerGeom::get_binphi(), TowerInfoContainer::get_tower_at_key(), RawTowerGeomContainer::get_tower_geometry(), RawTowerDeadMap::getDeadTowers(), m_calibTowerInfos, m_deadMap, m_detector, m_geometry, Fun4AllBase::Name(), TowerInfo::set_energy(), TowerInfo::set_time(), Fun4AllBase::Verbosity(), and Fun4AllBase::VERBOSITY_SOME.

+ Here is the call graph for this function:

Member Data Documentation

TowerInfoContainer* TowerInfoDeadHotMask::m_calibTowerInfos
private

Definition at line 35 of file TowerInfoDeadHotMask.h.

View newest version in sPHENIX GitHub at line 35 of file TowerInfoDeadHotMask.h

Referenced by CreateNodeTree(), and process_event().

RawTowerDeadMap* TowerInfoDeadHotMask::m_deadMap
private

Definition at line 34 of file TowerInfoDeadHotMask.h.

View newest version in sPHENIX GitHub at line 34 of file TowerInfoDeadHotMask.h

Referenced by CreateNodeTree(), and process_event().

std::string TowerInfoDeadHotMask::m_detector
private

Definition at line 32 of file TowerInfoDeadHotMask.h.

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

Referenced by CreateNodeTree(), detector(), and process_event().

RawTowerGeomContainer* TowerInfoDeadHotMask::m_geometry
private

Definition at line 36 of file TowerInfoDeadHotMask.h.

View newest version in sPHENIX GitHub at line 36 of file TowerInfoDeadHotMask.h

Referenced by CreateNodeTree(), and process_event().


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