Analysis Software
Documentation for sPHENIX simulation software
|
#include <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 | 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 TempInfoUnpackPRDF::addPacketInfo(), Prototype2RawTowerBuilder::process_event(), RawTowerBuilder::process_event(), GenericUnpackPRDF::process_event(), CaloUnpackPRDF::process_event(), CaloCalibration::process_event(), HcalRawTowerBuilder::process_event(), RawTowerCalibration::process_event(), RawTowerBuilderByHitIndex::process_event(), SubtractTowers::process_event(), SubtractTowersCS::process_event(), RawTowerDigitizer::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(), 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 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().
|
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().
double RawTowerContainer::getTotalEdep | ( | ) | const |
Definition at line 141 of file RawTowerContainer.cc.
View newest version in sPHENIX GitHub at line 141 of file RawTowerContainer.cc
Referenced by RawClusterBuilderGraph::process_event(), Prototype2RawTowerBuilder::process_event(), RawTowerBuilder::process_event(), RawClusterBuilderTemplate::process_event(), CaloCalibration::process_event(), HcalRawTowerBuilder::process_event(), RawTowerCalibration::process_event(), RawTowerBuilderByHitIndex::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 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().
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::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().
Range RawTowerContainer::getTowers | ( | void | ) |
|
overridevirtual |
identify Function from PHObject
os | Output 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().
|
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
|
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().
|
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 CaloCalibration::process_event(), RawTowerBuilderByHitIndex::process_event(), CaloTemplateFit::process_event(), SubtractTowers::process_event(), SubtractTowersCS::process_event(), RetowerCEMC::process_event(), DetermineTowerBackground::process_event(), Prototype2DSTReader::process_event(), PHG4DSTReader::process_event(), Prototype3DSTReader::process_event(), Prototype4DSTReader::process_event(), LiteCaloEval::process_event(), RawTowerCombiner::process_event(), 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().