Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/offline/packages/CaloBase/RawClusterContainer.h>
Public Types | |
typedef std::map < RawClusterDefs::keytype, RawCluster * > | 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 | |
RawClusterContainer () | |
~RawClusterContainer () 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 |
ConstIterator | AddCluster (RawCluster *clus) |
RawCluster * | getCluster (const RawClusterDefs::keytype id) |
const RawCluster * | getCluster (const RawClusterDefs::keytype id) const |
ConstRange | getClusters (void) const |
return all clusters | |
Range | getClusters (void) |
const Map & | getClustersMap () const |
Map & | getClustersMap () |
unsigned int | size () const |
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 | |
Map | _clusters |
Definition at line 14 of file RawClusterContainer.h.
View newest version in sPHENIX GitHub at line 14 of file RawClusterContainer.h
typedef Map::const_iterator RawClusterContainer::ConstIterator |
Definition at line 19 of file RawClusterContainer.h.
View newest version in sPHENIX GitHub at line 19 of file RawClusterContainer.h
typedef std::pair<ConstIterator, ConstIterator> RawClusterContainer::ConstRange |
Definition at line 21 of file RawClusterContainer.h.
View newest version in sPHENIX GitHub at line 21 of file RawClusterContainer.h
typedef Map::iterator RawClusterContainer::Iterator |
Definition at line 18 of file RawClusterContainer.h.
View newest version in sPHENIX GitHub at line 18 of file RawClusterContainer.h
typedef std::map<RawClusterDefs::keytype, RawCluster *> RawClusterContainer::Map |
Definition at line 17 of file RawClusterContainer.h.
View newest version in sPHENIX GitHub at line 17 of file RawClusterContainer.h
typedef std::pair<Iterator, Iterator> RawClusterContainer::Range |
Definition at line 20 of file RawClusterContainer.h.
View newest version in sPHENIX GitHub at line 20 of file RawClusterContainer.h
|
inline |
Definition at line 23 of file RawClusterContainer.h.
View newest version in sPHENIX GitHub at line 23 of file RawClusterContainer.h
|
inlineoverride |
Definition at line 24 of file RawClusterContainer.h.
View newest version in sPHENIX GitHub at line 24 of file RawClusterContainer.h
RawClusterContainer::ConstIterator RawClusterContainer::AddCluster | ( | RawCluster * | clus | ) |
Definition at line 23 of file RawClusterContainer.cc.
View newest version in sPHENIX GitHub at line 23 of file RawClusterContainer.cc
References RawCluster::set_id().
Referenced by TreeMaker::CopyAndMakeClusters(), RawClusterBuilderTopo::export_clusters(), VtxTest::numUnique(), RawClusterBuilderGraph::process_event(), RawClusterBuilderTemplate::process_event(), RawClusterPositionCorrection::process_event(), FilterEventsUpsilon::process_event(), and FilterEvents::process_event().
RawCluster * RawClusterContainer::getCluster | ( | const RawClusterDefs::keytype | id | ) |
Definition at line 39 of file RawClusterContainer.cc.
View newest version in sPHENIX GitHub at line 39 of file RawClusterContainer.cc
References it.
Referenced by ExclusiveReco::AddInvariantMassInformation(), JetRecoEval::all_truth_hits(), JetRecoEval::all_truth_particles(), JetRecoEval::all_truth_showers(), DISKinematicsReco::CollectEmCandidatesFromCluster(), JetRecoEval::get_energy_contribution(), TrackProjectionTools::getCluster(), PJTranslator::process_event(), RecoConversionEval::process_event(), ElectronID::process_event(), PairMaker::process_event_test(), VtxTest::processBackground(), TruthConversionEval::processTrackBackground(), TruthConversionEval::recordConversion(), and PHFlowJetMaker::run_particle_flow().
const RawCluster * RawClusterContainer::getCluster | ( | const RawClusterDefs::keytype | id | ) | const |
Definition at line 50 of file RawClusterContainer.cc.
View newest version in sPHENIX GitHub at line 50 of file RawClusterContainer.cc
References it.
RawClusterContainer::Range RawClusterContainer::getClusters | ( | void | ) | const |
return all clusters
Definition at line 11 of file RawClusterContainer.cc.
View newest version in sPHENIX GitHub at line 11 of file RawClusterContainer.cc
Referenced by ResonanceJetTagging::addClusters(), CaloRawClusterEval::all_clusters_from(), cemcReco::coneSum(), PhotonJet::ConeSum(), TreeMaker::CopyAndMakeClusters(), ClusterJetInput::get_input(), STACalorimeterCharacterization::get_ordered_clusters(), TreeMaker::GetClusters(), AnaTutorial::getEMCalClusters(), FilterEventsUpsilon::MatchClusterCEMC(), FilterEvents::MatchClusterCEMC(), sPHAnalysis::MatchClusterCEMC(), CaloAna::process_clusters(), RawClusterZVertexRecorrect::process_event(), RawClusterDeadHotMask::process_event(), RawClusterPositionCorrection::process_event(), FilterEvents::process_event(), FilterEventsUpsilon::process_event(), RawClusterBuilderTopo::process_event(), ClusterIso::process_event(), ParticleFlowReco::process_event(), Photons::process_event(), Pi0MassAnalysis::process_event(), CaloCalibEmc_Pi0::process_event(), sPHAnalysis::process_event_notracking(), PairMaker::process_event_test(), sPHAnalysis_calo::process_event_test(), DumpRawClusterContainer::process_Node(), CaloAna::process_towers(), CaloValid::process_towers(), pi0EtaByEta::process_towers(), and TreeMaker::UseFastJet().
Range RawClusterContainer::getClusters | ( | void | ) |
|
inline |
Definition at line 38 of file RawClusterContainer.h.
View newest version in sPHENIX GitHub at line 38 of file RawClusterContainer.h
References _clusters.
Referenced by CaloEvaluator::fillOutputNtuples(), EventEvaluator::fillOutputNtuples(), PHTrackClusterAssociator::getCluster(), PHActsTrackProjection::getClusterProperties(), IsolatedTrackAnalysis::getClusters(), RawClusterBuilderGraph::process_event(), RawClusterDeadHotMask::process_event(), and PHGenFitTrackProjection::process_event().
|
inline |
Definition at line 39 of file RawClusterContainer.h.
View newest version in sPHENIX GitHub at line 39 of file RawClusterContainer.h
References _clusters.
double RawClusterContainer::getTotalEdep | ( | ) | const |
Definition at line 80 of file RawClusterContainer.cc.
View newest version in sPHENIX GitHub at line 80 of file RawClusterContainer.cc
Referenced by RawClusterBuilderGraph::process_event(), and RawClusterBuilderTemplate::process_event().
|
overridevirtual |
identify Function from PHObject
os | Output Stream |
Reimplemented from PHObject.
Definition at line 74 of file RawClusterContainer.cc.
View newest version in sPHENIX GitHub at line 74 of file RawClusterContainer.cc
References size.
|
overridevirtual |
isValid returns non zero if object contains vailid data
Reimplemented from PHObject.
Definition at line 60 of file RawClusterContainer.cc.
View newest version in sPHENIX GitHub at line 60 of file RawClusterContainer.cc
|
overridevirtual |
Clear Event.
Reimplemented from PHObject.
Definition at line 65 of file RawClusterContainer.cc.
View newest version in sPHENIX GitHub at line 65 of file RawClusterContainer.cc
Referenced by RawClusterBuilderTemplate::process_event(), RawClusterPositionCorrection::process_event(), FilterEventsUpsilon::process_event(), FilterEvents::process_event(), and TruthConversionEval::process_event().
|
inline |
Definition at line 41 of file RawClusterContainer.h.
View newest version in sPHENIX GitHub at line 41 of file RawClusterContainer.h
References _clusters.
Referenced by ExclusiveReco::AddInvariantMassInformation(), DISKinematicsReco::CollectEmCandidatesFromCluster(), TreeMaker::CopyAndMakeClusters(), TrackProjectionTools::getCluster(), RawClusterDeadHotMask::process_event(), FilterEvents::process_event(), FilterEventsUpsilon::process_event(), ClusterIso::process_event(), PJTranslator::process_event(), QAG4SimulationCalorimeter::process_event_Cluster(), sPHAnalysis::process_event_filtered(), sPHAnalysis::process_event_notracking(), sPHAnalysis_calo::process_event_test(), sPHAnalysis::process_event_test(), DumpRawClusterContainer::process_Node(), and PHFlowJetMaker::run_particle_flow().
|
protected |
Definition at line 45 of file RawClusterContainer.h.
View newest version in sPHENIX GitHub at line 45 of file RawClusterContainer.h
Referenced by getClustersMap(), and size().