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

#include <fun4all_coresoftware/blob/master/offline/packages/CaloReco/RawClusterDeadAreaMask.h>

+ Inheritance diagram for RawClusterDeadAreaMask:
+ Collaboration diagram for RawClusterDeadAreaMask:

Public Member Functions

 RawClusterDeadAreaMask (const std::string &name="RawClusterDeadAreaMask")
 
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)
 
- 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
 
RawTowerDeadMapm_deadMap
 
RawTowerContainerm_calibTowers
 
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 = INT_MAX - 10
}
 
- Protected Member Functions inherited from SubsysReco
 SubsysReco (const std::string &name="NONAME")
 

Detailed Description

Definition at line 14 of file RawClusterDeadAreaMask.h.

View newest version in sPHENIX GitHub at line 14 of file RawClusterDeadAreaMask.h

Constructor & Destructor Documentation

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

Definition at line 32 of file RawClusterDeadAreaMask.cc.

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

Member Function Documentation

void RawClusterDeadAreaMask::CreateNodeTree ( PHCompositeNode topNode)
private

Definition at line 210 of file RawClusterDeadAreaMask.cc.

View newest version in sPHENIX GitHub at line 210 of file RawClusterDeadAreaMask.cc

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

Referenced by InitRun().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void RawClusterDeadAreaMask::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 24 of file RawClusterDeadAreaMask.h.

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

References m_deadTowerMaskHalfWidth.

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

Definition at line 29 of file RawClusterDeadAreaMask.h.

View newest version in sPHENIX GitHub at line 29 of file RawClusterDeadAreaMask.h

References m_detector.

int RawClusterDeadAreaMask::End ( PHCompositeNode )
overridevirtual

Called at the end of all processing.

Reimplemented from SubsysReco.

Definition at line 265 of file RawClusterDeadAreaMask.cc.

View newest version in sPHENIX GitHub at line 265 of file RawClusterDeadAreaMask.cc

References Fun4AllReturnCodes::EVENT_OK.

int RawClusterDeadAreaMask::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 43 of file RawClusterDeadAreaMask.cc.

View newest version in sPHENIX GitHub at line 43 of file RawClusterDeadAreaMask.cc

References CreateNodeTree(), and Fun4AllReturnCodes::EVENT_OK.

+ Here is the call graph for this function:

int RawClusterDeadAreaMask::process_event ( PHCompositeNode )
overridevirtual

Member Data Documentation

RawTowerContainer* RawClusterDeadAreaMask::m_calibTowers
private

Definition at line 44 of file RawClusterDeadAreaMask.h.

View newest version in sPHENIX GitHub at line 44 of file RawClusterDeadAreaMask.h

Referenced by CreateNodeTree(), and process_event().

RawTowerDeadMap* RawClusterDeadAreaMask::m_deadMap
private

Definition at line 43 of file RawClusterDeadAreaMask.h.

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

Referenced by CreateNodeTree(), and process_event().

double RawClusterDeadAreaMask::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 40 of file RawClusterDeadAreaMask.h.

View newest version in sPHENIX GitHub at line 40 of file RawClusterDeadAreaMask.h

Referenced by deadTowerMaskHalfWidth(), and process_event().

std::string RawClusterDeadAreaMask::m_detector
private

Definition at line 37 of file RawClusterDeadAreaMask.h.

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

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

RawTowerGeomContainer* RawClusterDeadAreaMask::m_geometry
private

Definition at line 45 of file RawClusterDeadAreaMask.h.

View newest version in sPHENIX GitHub at line 45 of file RawClusterDeadAreaMask.h

Referenced by CreateNodeTree(), and process_event().

RawClusterContainer* RawClusterDeadAreaMask::m_rawClusters
private

Definition at line 42 of file RawClusterDeadAreaMask.h.

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

Referenced by CreateNodeTree(), and process_event().


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