Analysis Software
Documentation for sPHENIX simulation 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 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(), 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 RawTower::get_energy().

Referenced by alphas(), converttohepmc(), deriv(), dofistatescat(), doinstatescat(), dokinematics(), generatez(), genevent(), getdeltat(), getinspliti(), getinsudafast(), getinsudakov(), getinsudared(), getmass(), getnewmass(), getpdf(), getpdfxintexact(), getpnorad1(), getqvec(), getspliti(), getsscat(), getsudakov(), gett(), getxsecint(), init(), initpythia(), insudaint(), intpgghigh(), intpgglow(), intpqghigh(), intpqglow(), intpqq(), makebranch(), makecascade(), makeinsplit(), makesplitting(), makestrings_minl(), makestrings_vac(), pdfint(), Prototype2RawTowerBuilder::process_event(), RawTowerBuilder::process_event(), HcalRawTowerBuilder::process_event(), RawTowerBuilderByHitIndex::process_event(), scatprimfunc(), splitfncint(), and xsecint().

+ 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(), CaloCalibration::CreateNodeTree(), and CaloTemplateFit::CreateNodeTree().

+ Here is the caller graph for this function:

double RawTowerContainer::getTotalEdep ( ) const
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 TempInfoUnpackPRDF::addPacketInfo(), CaloRawClusterEval::all_truth_hits(), JetRecoEval::all_truth_hits(), JetRecoEval::all_truth_particles(), CaloRawClusterEval::all_truth_primary_showers(), JetRecoEval::all_truth_showers(), cemcReco::calculateTSP(), TreeMaker::CopyAndMakeJets(), EMCalCalib::eval_photon_proj(), EMCalAna::eval_trk_proj(), QAG4SimulationCalorimeterSum::eval_trk_proj(), EpFinderEval::fill_tree(), Calib::fill_tree(), CaloEvaluator::fillOutputNtuples(), Proto4SampleFrac::find_max(), Proto4ShowerCalib::find_max(), Proto2ShowerCalib::find_max(), Proto3ShowerCalib::find_max(), Proto4TowerCalib::find_max(), ExampleAnalysisModule::find_max(), sPHAnalysis::Get_CAL_e3x3(), CaloRawClusterEval::get_energy_contribution(), JetRecoEval::get_energy_contribution(), STACalorimeterCharacterization::get_ordered_towers(), TrackProjectionTools::getE33Barrel(), TrackProjectionTools::getE33Forward(), RawClusterBuilderGraph::process_event(), EventInfoSummary::process_event(), Prototype2RawTowerBuilder::process_event(), RawClusterDeadHotMask::process_event(), RawTowerBuilder::process_event(), GenericUnpackPRDF::process_event(), CaloUnpackPRDF::process_event(), RawClusterPositionCorrection::process_event(), HcalRawTowerBuilder::process_event(), RawTowerBuilderByHitIndex::process_event(), Proto4ShowerCalib::process_event(), RawTowerDigitizer::process_event(), SubtractTowers::process_event(), SubtractTowersCS::process_event(), CopyAndSubtractJets::process_event(), DetermineTowerBackground::process_event(), Proto2ShowerCalib::process_event(), Proto3ShowerCalib::process_event(), JetUnderlyingEvent::process_event(), CaloCalibEmc_Pi0::process_event(), ExampleAnalysisModule::process_event(), PhotonJet::process_event(), sPHAnalysis::process_event_notracking(), sPHAnalysis_calo::process_event_test(), QAG4SimulationCalorimeter::process_event_Tower(), EMCalAna::process_event_Tower(), EMCalCalib::process_event_Tower(), and EMCalCalib_TestBeam::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().

+ 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::Range 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 DISKinematicsReco::AddGlobalCalorimeterInformation(), CaloRawTowerEval::all_towers_from(), EpFinderEval::fill_tree(), Calib::fill_tree(), CaloEvaluator::fillOutputNtuples(), EventEvaluator::fillOutputNtuples(), sPHAnalysis::Get_CAL_e3x3(), TowerJetInput::get_input(), STACalorimeterCharacterization::get_ordered_towers(), TrackProjectionTools::getE33Forward(), IsolatedTrackAnalysis::getSimTowers(), IsolatedTrackAnalysis::getTowers(), RawClusterBuilderGraph::process_event(), EventInfoSummary::process_event(), Prototype2RawTowerBuilder::process_event(), RawTowerBuilder::process_event(), RawClusterBuilderTemplate::process_event(), CaloUnpackPRDF::process_event(), RecoInfoExport::process_event(), HcalRawTowerBuilder::process_event(), CaloCalibration::process_event(), SaveTowerInfo::process_event(), RawTowerBuilderByHitIndex::process_event(), RawTowerCalibration::process_event(), Proto4ShowerCalib::process_event(), CaloTemplateFit::process_event(), SubtractTowers::process_event(), SubtractTowersCS::process_event(), TowerTiming::process_event(), RetowerCEMC::process_event(), DetermineTowerBackground::process_event(), Proto2ShowerCalib::process_event(), Proto3ShowerCalib::process_event(), Proto4TowerCalib::process_event(), Prototype2DSTReader::process_event(), PHG4DSTReader::process_event(), TruthCaloTree::process_event(), Prototype4DSTReader::process_event(), Prototype3DSTReader::process_event(), ExampleAnalysisModule::process_event(), LiteCaloEval::process_event(), RawTowerCombiner::process_event(), sPHAnalysis::process_event_notracking(), sPHAnalysis_calo::process_event_test(), CaloWaveFormSim::process_g4hits(), and DumpRawTowerContainer::process_Node().

+ Here is the caller graph for this function:

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

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from PHObject.

Definition at line 135 of file RawTowerContainer.cc.

View newest version in sPHENIX GitHub at line 135 of file RawTowerContainer.cc

References size.

Referenced by Prototype2RawTowerBuilder::process_event(), RawTowerBuilder::process_event(), CaloUnpackPRDF::process_event(), HcalRawTowerBuilder::process_event(), and RawTowerBuilderByHitIndex::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 121 of file RawTowerContainer.cc.

View newest version in sPHENIX GitHub at line 121 of file RawTowerContainer.cc

void RawTowerContainer::Reset ( )
overridevirtual

Clear Event.

Reimplemented from PHObject.

Definition at line 126 of file RawTowerContainer.cc.

View newest version in sPHENIX GitHub at line 126 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: