ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <coresoftware/blob/master/offline/packages/CaloReco/RawClusterDeadAreaMask.h>
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. | |
RawClusterContainer * | m_rawClusters |
RawTowerDeadMap * | m_deadMap |
RawTowerContainer * | m_calibTowers |
RawTowerGeomContainer * | m_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") | |
Definition at line 14 of file RawClusterDeadAreaMask.h.
View newest version in sPHENIX GitHub at line 14 of file RawClusterDeadAreaMask.h
|
explicit |
Definition at line 32 of file RawClusterDeadAreaMask.cc.
View newest version in sPHENIX GitHub at line 32 of file RawClusterDeadAreaMask.cc
|
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().
|
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.
|
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.
|
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.
|
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.
|
overridevirtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
Definition at line 50 of file RawClusterDeadAreaMask.cc.
View newest version in sPHENIX GitHub at line 50 of file RawClusterDeadAreaMask.cc
References kdfinder::abs(), Fun4AllReturnCodes::EVENT_OK, RawTower::get_bineta(), RawTower::get_binphi(), RawTower::get_energy(), RawTowerGeomContainer::get_etabins(), RawCluster::get_id(), RawTowerGeomContainer::get_phibins(), RawCluster::get_towers(), RawClusterContainer::getClusters(), RawClusterContainer::getClustersMap(), RawTowerContainer::getTower(), RawCluster::identify(), RawTowerDeadMap::isDeadTower(), m_calibTowers, m_deadMap, m_deadTowerMaskHalfWidth, m_detector, m_geometry, m_rawClusters, Fun4AllBase::Name(), RawClusterContainer::size(), Fun4AllBase::Verbosity(), Fun4AllBase::VERBOSITY_MORE, and Fun4AllBase::VERBOSITY_SOME.
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().