ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RawTowerContainer Class Reference

#include <coresoftware/blob/master/offline/packages/CaloBase/RawTowerContainer.h>

+ Inheritance diagram for RawTowerContainer:
+ Collaboration diagram for RawTowerContainer:

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)
 
RawTowergetTower (RawTowerDefs::keytype key)
 
const RawTowergetTower (RawTowerDefs::keytype key) const
 
RawTowergetTower (const unsigned int ieta, const unsigned int iphi)
 
const RawTowergetTower (const unsigned int ieta, const unsigned int iphi) const
 
RawTowergetTower (const unsigned int ieta, const unsigned int iphi, const unsigned int il)
 
const RawTowergetTower (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 PHObjectCloneMe () const
 Virtual copy constructor.
 
virtual PHObjectclone () const final
 
PHObjectClone (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
 

Detailed Description

Definition at line 14 of file RawTowerContainer.h.

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

Member Typedef Documentation

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

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

Definition at line 17 of file RawTowerContainer.h.

View newest version in sPHENIX GitHub at line 17 of file RawTowerContainer.h

Definition at line 20 of file RawTowerContainer.h.

View newest version in sPHENIX GitHub at line 20 of file RawTowerContainer.h

Constructor & Destructor Documentation

RawTowerContainer::RawTowerContainer ( RawTowerDefs::CalorimeterId  caloid = RawTowerDefs::NONE)
inline

Definition at line 23 of file RawTowerContainer.h.

View newest version in sPHENIX GitHub at line 23 of file RawTowerContainer.h

RawTowerContainer::~RawTowerContainer ( )
inlineoverride

Definition at line 28 of file RawTowerContainer.h.

View newest version in sPHENIX GitHub at line 28 of file RawTowerContainer.h

Member Function Documentation

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(), g4zmq::exit(), and RawTower::set_id().

+ Here is the call graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

RawTowerDefs::CalorimeterId RawTowerContainer::getCalorimeterID ( )
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().

+ Here is the caller graph for this function:

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(), 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(), RawTowerDeadTowerInterp::process_event(), HcalRawTowerBuilder::process_event(), RawTowerBuilderDRCALO::process_event(), RawTowerBuilderByHitIndexLHCal::process_event(), RawTowerBuilderByHitIndex::process_event(), BwdRawTowerBuilderByHitIndex::process_event(), RawTowerBuilderByHitIndexBECAL::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(), eIDMLInterface::process_event(), and QAG4SimulationCalorimeter::process_event_Tower().

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

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().

+ Here is the call graph for this function:

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().

+ Here is the call graph for this function:

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().

+ Here is the call graph for this function:

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(), RawClusterBuilderTopo::process_event(), RawTowerBuilderDRCALO::process_event(), B0RawTowerBuilderByHitIndex::process_event(), BwdRawTowerBuilderByHitIndex::process_event(), RawTowerBuilderByHitIndexBECAL::process_event(), G4TowerNtuple::process_event(), RawClusterBuilderHelper::process_event(), ClusterIso::process_event(), SubtractTowers::process_event(), SubtractTowersCS::process_event(), RetowerCEMC::process_event(), CaloTriggerSim::process_event(), DetermineTowerBackground::process_event(), LiteCaloEval::process_event(), PHG4DSTReader::process_event(), RawTowerCombiner::process_event(), DumpRawTowerContainer::process_Node(), and CaloAna::process_towers().

+ Here is the caller graph for this function:

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

void RawTowerContainer::identify ( std::ostream &  os = std::cout) const
overridevirtual

identify Function from PHObject

Parameters
osOutput 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().

+ Here is the caller graph for this function:

int RawTowerContainer::isValid ( ) const
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

void RawTowerContainer::Reset ( )
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().

+ Here is the caller graph for this function:

void RawTowerContainer::setCalorimeterID ( RawTowerDefs::CalorimeterId  caloid)
inline

Definition at line 34 of file RawTowerContainer.h.

View newest version in sPHENIX GitHub at line 34 of file RawTowerContainer.h

References _caloid.

Member Data Documentation

RawTowerDefs::CalorimeterId RawTowerContainer::_caloid
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().

Map RawTowerContainer::_towers
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().


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