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

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

+ Inheritance diagram for RawClusterDeadHotMask:
+ Collaboration diagram for RawClusterDeadHotMask:

Public Member Functions

 RawClusterDeadHotMask (const std::string &name="RawClusterDeadHotMask")
 
int InitRun (PHCompositeNode *topNode) override
 
int process_event (PHCompositeNode *topNode) override
 
int End (PHCompositeNode *topNode) override
 Called at the end of all processing.
 
void deadTowerMaskHalfWidth (double deadTowerMaskHalfWidth)
 half width of the dead area around the center of a dead tower, if cluster center fall into this region it is rejected.
 
void detector (const std::string &detector)
 
void set_UseTowerInfo (const bool useMode)
 
- 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
 
double m_deadTowerMaskHalfWidth
 half width of the dead area around the center of a dead tower, if cluster center fall into this region it is rejected.
 
RawClusterContainerm_rawClusters
 
RawClusterContainerm_towerinfoClusters
 
RawTowerDeadMapm_deadMap
 
RawTowerContainerm_calibTowers
 
TowerInfoContainerm_calibTowerInfos
 
RawTowerGeomContainerm_geometry
 
bool m_UseTowerInfo = true
 

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 RawClusterDeadHotMask.h.

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

Constructor & Destructor Documentation

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

Definition at line 34 of file RawClusterDeadHotMask.cc.

View newest version in sPHENIX GitHub at line 34 of file RawClusterDeadHotMask.cc

Member Function Documentation

void RawClusterDeadHotMask::CreateNodeTree ( PHCompositeNode topNode)
private

Definition at line 271 of file RawClusterDeadHotMask.cc.

View newest version in sPHENIX GitHub at line 271 of file RawClusterDeadHotMask.cc

References PHNodeIterator::findFirst(), RawTowerDeadMap::identify(), m_calibTowerInfos, m_calibTowers, m_deadMap, m_detector, m_geometry, m_rawClusters, m_towerinfoClusters, m_UseTowerInfo, and Fun4AllBase::Name().

Referenced by InitRun().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void RawClusterDeadHotMask::deadTowerMaskHalfWidth ( double  deadTowerMaskHalfWidth)
inline

half width of the dead area around the center of a dead tower, if cluster center fall into this region it is rejected.

Definition at line 25 of file RawClusterDeadHotMask.h.

View newest version in sPHENIX GitHub at line 25 of file RawClusterDeadHotMask.h

References m_deadTowerMaskHalfWidth.

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

Definition at line 30 of file RawClusterDeadHotMask.h.

View newest version in sPHENIX GitHub at line 30 of file RawClusterDeadHotMask.h

References m_detector.

Referenced by Fun4All_Calo(), Fun4All_CaloProduction_PreQM23(), and Fun4All_Year1().

+ Here is the caller graph for this function:

int RawClusterDeadHotMask::End ( PHCompositeNode )
overridevirtual

Called at the end of all processing.

Reimplemented from SubsysReco.

Definition at line 346 of file RawClusterDeadHotMask.cc.

View newest version in sPHENIX GitHub at line 346 of file RawClusterDeadHotMask.cc

References Fun4AllReturnCodes::EVENT_OK.

int RawClusterDeadHotMask::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 47 of file RawClusterDeadHotMask.cc.

View newest version in sPHENIX GitHub at line 47 of file RawClusterDeadHotMask.cc

References CreateNodeTree(), and Fun4AllReturnCodes::EVENT_OK.

+ Here is the call graph for this function:

void RawClusterDeadHotMask::set_UseTowerInfo ( const bool  useMode)
inline

Definition at line 35 of file RawClusterDeadHotMask.h.

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

References m_UseTowerInfo.

Member Data Documentation

TowerInfoContainer* RawClusterDeadHotMask::m_calibTowerInfos
private

Definition at line 52 of file RawClusterDeadHotMask.h.

View newest version in sPHENIX GitHub at line 52 of file RawClusterDeadHotMask.h

Referenced by CreateNodeTree(), and process_event().

RawTowerContainer* RawClusterDeadHotMask::m_calibTowers
private

Definition at line 51 of file RawClusterDeadHotMask.h.

View newest version in sPHENIX GitHub at line 51 of file RawClusterDeadHotMask.h

Referenced by CreateNodeTree(), and process_event().

RawTowerDeadMap* RawClusterDeadHotMask::m_deadMap
private

Definition at line 50 of file RawClusterDeadHotMask.h.

View newest version in sPHENIX GitHub at line 50 of file RawClusterDeadHotMask.h

Referenced by CreateNodeTree(), and process_event().

double RawClusterDeadHotMask::m_deadTowerMaskHalfWidth
private

half width of the dead area around the center of a dead tower, if cluster center fall into this region it is rejected.

Definition at line 46 of file RawClusterDeadHotMask.h.

View newest version in sPHENIX GitHub at line 46 of file RawClusterDeadHotMask.h

Referenced by deadTowerMaskHalfWidth(), and process_event().

std::string RawClusterDeadHotMask::m_detector
private

Definition at line 43 of file RawClusterDeadHotMask.h.

View newest version in sPHENIX GitHub at line 43 of file RawClusterDeadHotMask.h

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

RawTowerGeomContainer* RawClusterDeadHotMask::m_geometry
private

Definition at line 53 of file RawClusterDeadHotMask.h.

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

Referenced by CreateNodeTree(), and process_event().

RawClusterContainer* RawClusterDeadHotMask::m_rawClusters
private

Definition at line 48 of file RawClusterDeadHotMask.h.

View newest version in sPHENIX GitHub at line 48 of file RawClusterDeadHotMask.h

Referenced by CreateNodeTree(), and process_event().

RawClusterContainer* RawClusterDeadHotMask::m_towerinfoClusters
private

Definition at line 49 of file RawClusterDeadHotMask.h.

View newest version in sPHENIX GitHub at line 49 of file RawClusterDeadHotMask.h

Referenced by CreateNodeTree(), and process_event().

bool RawClusterDeadHotMask::m_UseTowerInfo = true
private

Definition at line 54 of file RawClusterDeadHotMask.h.

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

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


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