EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <fun4all_coresoftware/blob/master/offline/packages/CaloBase/RawTowerContainer.h>
Public Types | |
typedef std::map < RawTowerDefs::keytype, RawTower * > | Map |
typedef Map::iterator | Iterator |
typedef Map::const_iterator | ConstIterator |
typedef std::pair< Iterator, Iterator > | Range |
typedef std::pair < ConstIterator, ConstIterator > | ConstRange |
Public Member Functions | |
RawTowerContainer (RawTowerDefs::CalorimeterId caloid=RawTowerDefs::NONE) | |
~RawTowerContainer () override | |
void | Reset () override |
Clear Event. | |
int | isValid () const override |
isValid returns non zero if object contains vailid data | |
void | identify (std::ostream &os=std::cout) const override |
void | setCalorimeterID (RawTowerDefs::CalorimeterId caloid) |
RawTowerDefs::CalorimeterId | getCalorimeterID () |
ConstIterator | AddTower (const unsigned int ieta, const unsigned int iphi, RawTower *twr) |
ConstIterator | AddTower (RawTowerDefs::keytype key, RawTower *twr) |
RawTower * | getTower (RawTowerDefs::keytype key) |
const RawTower * | getTower (RawTowerDefs::keytype key) const |
RawTower * | getTower (const unsigned int ieta, const unsigned int iphi) |
const RawTower * | getTower (const unsigned int ieta, const unsigned int iphi) const |
RawTower * | getTower (const unsigned int ieta, const unsigned int iphi, const unsigned int il) |
const RawTower * | getTower (const unsigned int ieta, const unsigned int iphi, const unsigned int il) const |
ConstRange | getTowers (void) const |
return all towers | |
Range | getTowers (void) |
unsigned int | size () const |
void | compress (const double emin) |
double | getTotalEdep () const |
Public Member Functions inherited from PHObject | |
PHObject () | |
ctor | |
~PHObject () override | |
dtor | |
virtual PHObject * | CloneMe () const |
Virtual copy constructor. | |
virtual PHObject * | clone () const final |
PHObject * | Clone (const char *newname="") const final |
void | Copy (TObject &object) const final |
virtual int | isValid (const float) const |
virtual int | isValid (const double) const |
virtual int | isValid (const int) const |
virtual int | isValid (const unsigned int) const |
virtual int | isImplemented (const float f) const |
virtual int | isImplemented (const double f) const |
virtual int | isImplemented (const int i) const |
virtual int | isImplemented (const unsigned int i) const |
virtual int | Integrate () const |
virtual int | Integrate (PHObject *) |
virtual void | CopyFrom (const PHObject *obj) |
Protected Attributes | |
RawTowerDefs::CalorimeterId | _caloid |
Map | _towers |
Definition at line 14 of file RawTowerContainer.h.
View newest version in sPHENIX GitHub at line 14 of file RawTowerContainer.h
typedef Map::const_iterator RawTowerContainer::ConstIterator |
Definition at line 19 of file RawTowerContainer.h.
View newest version in sPHENIX GitHub at line 19 of file RawTowerContainer.h
typedef std::pair<ConstIterator, ConstIterator> RawTowerContainer::ConstRange |
Definition at line 21 of file RawTowerContainer.h.
View newest version in sPHENIX GitHub at line 21 of file RawTowerContainer.h
typedef Map::iterator RawTowerContainer::Iterator |
Definition at line 18 of file RawTowerContainer.h.
View newest version in sPHENIX GitHub at line 18 of file RawTowerContainer.h
typedef std::map<RawTowerDefs::keytype, RawTower *> RawTowerContainer::Map |
Definition at line 17 of file RawTowerContainer.h.
View newest version in sPHENIX GitHub at line 17 of file RawTowerContainer.h
typedef std::pair<Iterator, Iterator> RawTowerContainer::Range |
Definition at line 20 of file RawTowerContainer.h.
View newest version in sPHENIX GitHub at line 20 of file RawTowerContainer.h
|
inline |
Definition at line 23 of file RawTowerContainer.h.
View newest version in sPHENIX GitHub at line 23 of file RawTowerContainer.h
|
inlineoverride |
Definition at line 28 of file RawTowerContainer.h.
View newest version in sPHENIX GitHub at line 28 of file RawTowerContainer.h
ConstIterator RawTowerContainer::AddTower | ( | const unsigned int | ieta, |
const unsigned int | iphi, | ||
RawTower * | twr | ||
) |
Referenced by RawTowerBuilder::process_event(), RawTowerDeadTowerInterp::process_event(), HcalRawTowerBuilder::process_event(), RawTowerCalibration::process_event(), RawTowerBuilderByHitIndexLHCal::process_event(), RawTowerBuilderByHitIndex::process_event(), B0RawTowerBuilderByHitIndex::process_event(), RawTowerBuilderDRCALO::process_event(), BwdRawTowerBuilderByHitIndex::process_event(), RawTowerBuilderByHitIndexBECAL::process_event(), RawTowerDigitizer::process_event(), SubtractTowersCS::process_event(), SubtractTowers::process_event(), RetowerCEMC::process_event(), and RawTowerCombiner::process_event().
RawTowerContainer::ConstIterator RawTowerContainer::AddTower | ( | RawTowerDefs::keytype | key, |
RawTower * | twr | ||
) |
Definition at line 56 of file RawTowerContainer.cc.
View newest version in sPHENIX GitHub at line 56 of file RawTowerContainer.cc
References RawTowerDefs::decode_caloid(), exit(), and RawTower::set_id().
void RawTowerContainer::compress | ( | const double | emin | ) |
Definition at line 10 of file RawTowerContainer.cc.
View newest version in sPHENIX GitHub at line 10 of file RawTowerContainer.cc
References CEMC_TOWER::emin, and RawTower::get_energy().
Referenced by RawTowerBuilder::process_event(), HcalRawTowerBuilder::process_event(), RawTowerBuilderByHitIndexBECAL::process_event(), RawTowerBuilderDRCALO::process_event(), BwdRawTowerBuilderByHitIndex::process_event(), B0RawTowerBuilderByHitIndex::process_event(), RawTowerBuilderByHitIndex::process_event(), and RawTowerBuilderByHitIndexLHCal::process_event().
|
inline |
Definition at line 35 of file RawTowerContainer.h.
View newest version in sPHENIX GitHub at line 35 of file RawTowerContainer.h
References _caloid.
Referenced by RawTowerCalibration::CreateNodes(), RawTowerDigitizer::CreateNodes(), RawClusterBuilderTemplate::process_event(), and RawClusterBuilderHelper::process_event().
double RawTowerContainer::getTotalEdep | ( | ) | const |
Definition at line 142 of file RawTowerContainer.cc.
View newest version in sPHENIX GitHub at line 142 of file RawTowerContainer.cc
Referenced by RawClusterBuilderGraph::process_event(), RawTowerBuilder::process_event(), RawClusterBuilderTemplate::process_event(), RawClusterBuilderFwd::process_event(), RawTowerDeadTowerInterp::process_event(), HcalRawTowerBuilder::process_event(), RawTowerCalibration::process_event(), RawTowerBuilderByHitIndex::process_event(), RawTowerBuilderDRCALO::process_event(), BwdRawTowerBuilderByHitIndex::process_event(), RawTowerBuilderByHitIndexLHCal::process_event(), B0RawTowerBuilderByHitIndex::process_event(), RawTowerBuilderByHitIndexBECAL::process_event(), RawTowerDigitizer::process_event(), and RawTowerCombiner::process_event().
RawTower * RawTowerContainer::getTower | ( | RawTowerDefs::keytype | key | ) |
Definition at line 72 of file RawTowerContainer.cc.
View newest version in sPHENIX GitHub at line 72 of file RawTowerContainer.cc
References it.
Referenced by CaloRawClusterEval::all_truth_hits(), JetRecoEval::all_truth_hits(), JetRecoEval::all_truth_particles(), CaloRawClusterEval::all_truth_primary_showers(), JetRecoEval::all_truth_showers(), RawClusterBuilderFwd::CorrectPhi(), QAG4SimulationCalorimeterSum::eval_trk_proj(), QAG4SimulationEicCalorimeterSum::eval_trk_proj(), CaloRawClusterEval::get_energy_contribution(), JetRecoEval::get_energy_contribution(), PHActsTrackProjection::getSquareTowerEnergies(), RawClusterBuilderGraph::process_event(), RawTowerBuilder::process_event(), RawClusterDeadAreaMask::process_event(), RawClusterPositionCorrection::process_event(), RawClusterBuilderFwd::process_event(), HcalRawTowerBuilder::process_event(), RawTowerDeadTowerInterp::process_event(), BwdRawTowerBuilderByHitIndex::process_event(), RawTowerBuilderByHitIndexBECAL::process_event(), RawTowerBuilderByHitIndex::process_event(), RawTowerBuilderDRCALO::process_event(), RawTowerBuilderByHitIndexLHCal::process_event(), B0RawTowerBuilderByHitIndex::process_event(), RawTowerDigitizer::process_event(), ParticleFlowReco::process_event(), RawClusterBuilderHelper::process_event(), SubtractTowers::process_event(), SubtractTowersCS::process_event(), CopyAndSubtractJets::process_event(), DetermineTowerBackground::process_event(), CaloCalibEmc_Pi0::process_event(), PHGenFitTrackProjection::process_event(), QAG4SimulationCalorimeter::process_event_Tower(), and QAG4SimulationEicCalorimeter::process_event_Tower().
const RawTower * RawTowerContainer::getTower | ( | RawTowerDefs::keytype | key | ) | const |
Definition at line 83 of file RawTowerContainer.cc.
View newest version in sPHENIX GitHub at line 83 of file RawTowerContainer.cc
References it.
RawTower * RawTowerContainer::getTower | ( | const unsigned int | ieta, |
const unsigned int | iphi | ||
) |
Definition at line 94 of file RawTowerContainer.cc.
View newest version in sPHENIX GitHub at line 94 of file RawTowerContainer.cc
References RawTowerDefs::encode_towerid().
const RawTower * RawTowerContainer::getTower | ( | const unsigned int | ieta, |
const unsigned int | iphi | ||
) | const |
Definition at line 101 of file RawTowerContainer.cc.
View newest version in sPHENIX GitHub at line 101 of file RawTowerContainer.cc
References RawTowerDefs::encode_towerid().
RawTower * RawTowerContainer::getTower | ( | const unsigned int | ieta, |
const unsigned int | iphi, | ||
const unsigned int | il | ||
) |
Definition at line 108 of file RawTowerContainer.cc.
View newest version in sPHENIX GitHub at line 108 of file RawTowerContainer.cc
References RawTowerDefs::encode_towerid().
const RawTower * RawTowerContainer::getTower | ( | const unsigned int | ieta, |
const unsigned int | iphi, | ||
const unsigned int | il | ||
) | const |
Definition at line 115 of file RawTowerContainer.cc.
View newest version in sPHENIX GitHub at line 115 of file RawTowerContainer.cc
References RawTowerDefs::encode_towerid().
RawTowerContainer::ConstRange RawTowerContainer::getTowers | ( | void | ) | const |
return all towers
Definition at line 34 of file RawTowerContainer.cc.
View newest version in sPHENIX GitHub at line 34 of file RawTowerContainer.cc
Referenced by CaloRawTowerEval::all_towers_from(), CaloEvaluator::fillOutputNtuples(), EventEvaluator::fillOutputNtuples(), EventEvaluatorEIC::fillOutputNtuples(), TowerJetInput::get_input(), RawClusterBuilderGraph::process_event(), RawTowerBuilder::process_event(), RawClusterBuilderTemplate::process_event(), RawClusterBuilderFwd::process_event(), HcalRawTowerBuilder::process_event(), PHG4DstCompressReco::process_event(), RawTowerCalibration::process_event(), RawTowerBuilderByHitIndex::process_event(), RawTowerBuilderByHitIndexLHCal::process_event(), BwdRawTowerBuilderByHitIndex::process_event(), RawClusterBuilderTopo::process_event(), RawTowerBuilderByHitIndexBECAL::process_event(), B0RawTowerBuilderByHitIndex::process_event(), RawTowerBuilderDRCALO::process_event(), G4TowerNtuple::process_event(), ClusterIso::process_event(), RawClusterBuilderHelper::process_event(), SubtractTowers::process_event(), SubtractTowersCS::process_event(), CaloTriggerSim::process_event(), RetowerCEMC::process_event(), DetermineTowerBackground::process_event(), EvalRootTTreeReco::process_event(), LiteCaloEval::process_event(), PHG4DSTReader::process_event(), RawTowerCombiner::process_event(), DumpRawTowerContainer::process_Node(), and CaloAna::process_towers().
RawTowerContainer::Range RawTowerContainer::getTowers | ( | void | ) |
Definition at line 40 of file RawTowerContainer.cc.
View newest version in sPHENIX GitHub at line 40 of file RawTowerContainer.cc
|
overridevirtual |
identify Function from PHObject
os | Output Stream |
Reimplemented from PHObject.
Definition at line 136 of file RawTowerContainer.cc.
View newest version in sPHENIX GitHub at line 136 of file RawTowerContainer.cc
Referenced by RawTowerBuilder::process_event(), HcalRawTowerBuilder::process_event(), RawTowerBuilderByHitIndexBECAL::process_event(), RawTowerBuilderDRCALO::process_event(), BwdRawTowerBuilderByHitIndex::process_event(), B0RawTowerBuilderByHitIndex::process_event(), RawTowerBuilderByHitIndex::process_event(), and RawTowerBuilderByHitIndexLHCal::process_event().
|
overridevirtual |
isValid returns non zero if object contains vailid data
Reimplemented from PHObject.
Definition at line 122 of file RawTowerContainer.cc.
View newest version in sPHENIX GitHub at line 122 of file RawTowerContainer.cc
|
overridevirtual |
Clear Event.
Reimplemented from PHObject.
Definition at line 127 of file RawTowerContainer.cc.
View newest version in sPHENIX GitHub at line 127 of file RawTowerContainer.cc
Referenced by RawTowerCombiner::process_event().
|
inline |
Definition at line 34 of file RawTowerContainer.h.
View newest version in sPHENIX GitHub at line 34 of file RawTowerContainer.h
References _caloid.
|
inline |
Definition at line 53 of file RawTowerContainer.h.
View newest version in sPHENIX GitHub at line 53 of file RawTowerContainer.h
References _towers.
Referenced by EventEvaluatorEIC::fillOutputNtuples(), RawTowerBuilderByHitIndex::process_event(), BwdRawTowerBuilderByHitIndex::process_event(), RawTowerBuilderByHitIndexBECAL::process_event(), RawTowerBuilderByHitIndexLHCal::process_event(), RawClusterBuilderTopo::process_event(), B0RawTowerBuilderByHitIndex::process_event(), ClusterIso::process_event(), SubtractTowers::process_event(), SubtractTowersCS::process_event(), CaloTriggerSim::process_event(), RetowerCEMC::process_event(), DetermineTowerBackground::process_event(), PHG4DSTReader::process_event(), RawTowerCombiner::process_event(), QAG4SimulationEicCalorimeter::process_event_Tower(), QAG4SimulationCalorimeter::process_event_Tower(), and DumpRawTowerContainer::process_Node().
|
protected |
Definition at line 58 of file RawTowerContainer.h.
View newest version in sPHENIX GitHub at line 58 of file RawTowerContainer.h
Referenced by getCalorimeterID(), and setCalorimeterID().
|
protected |
Definition at line 59 of file RawTowerContainer.h.
View newest version in sPHENIX GitHub at line 59 of file RawTowerContainer.h
Referenced by size().