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

RawTowerDeadTowerInterp recovers the energy in the known dead towers with interpolation between alive towers near-by. More...

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

+ Inheritance diagram for RawTowerDeadTowerInterp:
+ Collaboration diagram for RawTowerDeadTowerInterp:

Public Member Functions

 RawTowerDeadTowerInterp (const std::string &name="RawTowerDeadTowerInterp")
 
 ~RawTowerDeadTowerInterp () override
 
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 &d)
 
- 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.
 

Protected Member Functions

void CreateNodes (PHCompositeNode *topNode)
 
- Protected Member Functions inherited from SubsysReco
 SubsysReco (const std::string &name="NONAME")
 
- Protected Member Functions inherited from Fun4AllBase
 Fun4AllBase (const std::string &name="NONAME")
 

Protected Attributes

TowerInfoContainerm_calibTowers = nullptr
 
RawTowerGeomContainerm_geometry = nullptr
 
RawTowerDeadMapm_deadTowerMap = nullptr
 
std::string m_detector = "NONE"
 
std::string _calib_tower_node_prefix = "CALIB"
 

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
}
 

Detailed Description

RawTowerDeadTowerInterp recovers the energy in the known dead towers with interpolation between alive towers near-by.

Definition at line 14 of file RawTowerDeadTowerInterp.h.

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

Constructor & Destructor Documentation

RawTowerDeadTowerInterp::RawTowerDeadTowerInterp ( const std::string &  name = "RawTowerDeadTowerInterp")

Definition at line 29 of file RawTowerDeadTowerInterp.cc.

View newest version in sPHENIX GitHub at line 29 of file RawTowerDeadTowerInterp.cc

RawTowerDeadTowerInterp::~RawTowerDeadTowerInterp ( )
inlineoverride

Definition at line 18 of file RawTowerDeadTowerInterp.h.

View newest version in sPHENIX GitHub at line 18 of file RawTowerDeadTowerInterp.h

Member Function Documentation

void RawTowerDeadTowerInterp::CreateNodes ( PHCompositeNode topNode)
protected

Definition at line 250 of file RawTowerDeadTowerInterp.cc.

View newest version in sPHENIX GitHub at line 250 of file RawTowerDeadTowerInterp.cc

References _calib_tower_node_prefix, PHNodeIterator::findFirst(), RawTowerDeadMap::identify(), RawTowerGeomContainer::identify(), m_calibTowers, m_deadTowerMap, m_detector, m_geometry, Fun4AllBase::Name(), and Fun4AllBase::Verbosity().

Referenced by InitRun().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void RawTowerDeadTowerInterp::detector ( const std::string &  d)
inline

Definition at line 27 of file RawTowerDeadTowerInterp.h.

View newest version in sPHENIX GitHub at line 27 of file RawTowerDeadTowerInterp.h

References m_detector.

int RawTowerDeadTowerInterp::End ( PHCompositeNode )
overridevirtual

Called at the end of all processing.

Reimplemented from SubsysReco.

Definition at line 245 of file RawTowerDeadTowerInterp.cc.

View newest version in sPHENIX GitHub at line 245 of file RawTowerDeadTowerInterp.cc

References Fun4AllReturnCodes::EVENT_OK.

int RawTowerDeadTowerInterp::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 34 of file RawTowerDeadTowerInterp.cc.

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

References Fun4AllReturnCodes::ABORTRUN, CreateNodes(), Acts::UnitConstants::e, Fun4AllReturnCodes::EVENT_OK, PHNodeIterator::findFirst(), m_detector, and Fun4AllBase::Name().

+ Here is the call graph for this function:

int RawTowerDeadTowerInterp::process_event ( PHCompositeNode )
overridevirtual

Member Data Documentation

std::string RawTowerDeadTowerInterp::_calib_tower_node_prefix = "CALIB"
protected

Definition at line 42 of file RawTowerDeadTowerInterp.h.

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

Referenced by CreateNodes().

TowerInfoContainer* RawTowerDeadTowerInterp::m_calibTowers = nullptr
protected

Definition at line 36 of file RawTowerDeadTowerInterp.h.

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

Referenced by CreateNodes(), and process_event().

RawTowerDeadMap* RawTowerDeadTowerInterp::m_deadTowerMap = nullptr
protected

Definition at line 38 of file RawTowerDeadTowerInterp.h.

View newest version in sPHENIX GitHub at line 38 of file RawTowerDeadTowerInterp.h

Referenced by CreateNodes(), and process_event().

std::string RawTowerDeadTowerInterp::m_detector = "NONE"
protected

Definition at line 40 of file RawTowerDeadTowerInterp.h.

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

Referenced by CreateNodes(), detector(), InitRun(), and process_event().

RawTowerGeomContainer* RawTowerDeadTowerInterp::m_geometry = nullptr
protected

Definition at line 37 of file RawTowerDeadTowerInterp.h.

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

Referenced by CreateNodes(), and process_event().


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