Analysis Software
Documentation for sPHENIX simulation software
|
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>
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 | |
TowerInfoContainer * | m_calibTowers = nullptr |
RawTowerGeomContainer * | m_geometry = nullptr |
RawTowerDeadMap * | m_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 } |
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
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
|
inlineoverride |
Definition at line 18 of file RawTowerDeadTowerInterp.h.
View newest version in sPHENIX GitHub at line 18 of file RawTowerDeadTowerInterp.h
|
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().
|
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.
|
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.
|
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().
|
overridevirtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
Definition at line 61 of file RawTowerDeadTowerInterp.cc.
View newest version in sPHENIX GitHub at line 61 of file RawTowerDeadTowerInterp.cc
References assert, myAnalysis::eta_bins, Fun4AllReturnCodes::EVENT_OK, RawTowerGeom::get_bineta(), RawTowerGeom::get_binphi(), TowerInfo::get_energy(), RawTowerGeomContainer::get_etabins(), RawTowerGeomContainer::get_phibins(), TowerInfoContainer::get_tower_at_key(), RawTowerGeomContainer::get_tower_geometry(), RawTowerDeadMap::getDeadTowers(), RawTowerDeadMap::isDeadTower(), m_calibTowers, m_deadTowerMap, m_detector, m_geometry, Fun4AllBase::Name(), myAnalysis::phi_bins, TowerInfo::set_energy(), Fun4AllBase::Verbosity(), and Fun4AllBase::VERBOSITY_MORE.
|
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().
|
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().
|
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().
|
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().
|
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().