Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/offline/packages/CaloReco/RawClusterDeadHotMask.h>
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. | |
RawClusterContainer * | m_rawClusters |
RawClusterContainer * | m_towerinfoClusters |
RawTowerDeadMap * | m_deadMap |
RawTowerContainer * | m_calibTowers |
TowerInfoContainer * | m_calibTowerInfos |
RawTowerGeomContainer * | m_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") | |
Definition at line 15 of file RawClusterDeadHotMask.h.
View newest version in sPHENIX GitHub at line 15 of file RawClusterDeadHotMask.h
|
explicit |
Definition at line 34 of file RawClusterDeadHotMask.cc.
View newest version in sPHENIX GitHub at line 34 of file RawClusterDeadHotMask.cc
|
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().
|
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.
|
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().
|
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.
|
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.
|
overridevirtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
Definition at line 54 of file RawClusterDeadHotMask.cc.
View newest version in sPHENIX GitHub at line 54 of file RawClusterDeadHotMask.cc
References assert, TowerInfoDefs::encode_emcal(), myAnalysis::eta_bins, Fun4AllReturnCodes::EVENT_OK, RawTowerGeom::get_bineta(), RawTower::get_bineta(), RawTowerGeom::get_binphi(), RawTower::get_binphi(), TowerInfo::get_energy(), RawTower::get_energy(), RawTowerGeomContainer::get_etabins(), RawCluster::get_id(), RawTowerGeomContainer::get_phibins(), TowerInfoContainer::get_tower_at_key(), RawTowerGeomContainer::get_tower_geometry(), RawCluster::get_towers(), RawClusterContainer::getClusters(), RawClusterContainer::getClustersMap(), RawTowerContainer::getTower(), RawCluster::identify(), RawTowerDeadMap::isDeadTower(), j, m_calibTowerInfos, m_calibTowers, m_deadMap, m_deadTowerMaskHalfWidth, m_detector, m_geometry, m_rawClusters, m_towerinfoClusters, m_UseTowerInfo, Fun4AllBase::Name(), myAnalysis::phi_bins, RawClusterContainer::size(), Fun4AllBase::Verbosity(), Fun4AllBase::VERBOSITY_MORE, and Fun4AllBase::VERBOSITY_SOME.
|
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.
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().