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

Cluster container object. More...

#include <coresoftware/blob/master/offline/packages/trackbase/TrkrClusterContainer.h>

+ Inheritance diagram for TrkrClusterContainer:
+ Collaboration diagram for TrkrClusterContainer:

Public Types

convenient shortuts
using Map = std::map< TrkrDefs::cluskey, TrkrCluster * >
 
using Iterator = Map::iterator
 
using ConstIterator = Map::const_iterator
 
using Range = std::pair< Iterator, Iterator >
 
using ConstRange = std::pair< ConstIterator, ConstIterator >
 

Public Member Functions

void Reset () override
 reset method
 
void identify (std::ostream &=std::cout) const override
 identify object
 
virtual ConstIterator addCluster (TrkrCluster *)
 add a cluster
 
virtual ConstIterator addClusterSpecifyKey (const TrkrDefs::cluskey, TrkrCluster *)
 add a cluster with specific key
 
virtual void removeCluster (TrkrDefs::cluskey)
 remove cluster
 
virtual void removeCluster (TrkrCluster *)
 remove cluster
 
virtual Iterator findOrAddCluster (TrkrDefs::cluskey)
 find cluster matching key if any, add a new one otherwise and return cluster
 
virtual ConstRange getClusters () const
 return all clusters
 
virtual ConstRange getClusters (TrkrDefs::hitsetkey) const
 get all clusters matching hitset
 
virtual MapgetClusterMap (TrkrDefs::hitsetkey)
 get pointer to map containing clusters mathching hitset
 
virtual TrkrClusterfindCluster (TrkrDefs::cluskey) const
 find cluster matching given key
 
virtual unsigned int size () const
 total number of clusters
 
- 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
 isValid returns non zero if object contains vailid data
 
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 Member Functions

 TrkrClusterContainer ()=default
 constructor
 

Detailed Description

Cluster container object.

Definition at line 24 of file TrkrClusterContainer.h.

View newest version in sPHENIX GitHub at line 24 of file TrkrClusterContainer.h

Member Typedef Documentation

using TrkrClusterContainer::ConstIterator = Map::const_iterator

Definition at line 32 of file TrkrClusterContainer.h.

View newest version in sPHENIX GitHub at line 32 of file TrkrClusterContainer.h

Definition at line 34 of file TrkrClusterContainer.h.

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

using TrkrClusterContainer::Iterator = Map::iterator

Definition at line 31 of file TrkrClusterContainer.h.

View newest version in sPHENIX GitHub at line 31 of file TrkrClusterContainer.h

Definition at line 30 of file TrkrClusterContainer.h.

View newest version in sPHENIX GitHub at line 30 of file TrkrClusterContainer.h

Definition at line 33 of file TrkrClusterContainer.h.

View newest version in sPHENIX GitHub at line 33 of file TrkrClusterContainer.h

Constructor & Destructor Documentation

TrkrClusterContainer::TrkrClusterContainer ( )
protecteddefault

constructor

Member Function Documentation

TrkrClusterContainer::ConstIterator TrkrClusterContainer::addCluster ( TrkrCluster )
virtual

add a cluster

Reimplemented in TrkrClusterContainerv1, TrkrClusterContainerv2, and TrkrClusterContainerv3.

Definition at line 14 of file TrkrClusterContainer.cc.

View newest version in sPHENIX GitHub at line 14 of file TrkrClusterContainer.cc

Referenced by InttClusterizer::ClusterLadderCells(), MvtxClusterizer::ClusterMvtx(), and RawDigitBuilderTTL::process_event().

+ Here is the caller graph for this function:

TrkrClusterContainer::ConstIterator TrkrClusterContainer::addClusterSpecifyKey ( const TrkrDefs::cluskey  ,
TrkrCluster  
)
virtual

add a cluster with specific key

Reimplemented in TrkrClusterContainerv1, TrkrClusterContainerv2, and TrkrClusterContainerv3.

Definition at line 18 of file TrkrClusterContainer.cc.

View newest version in sPHENIX GitHub at line 18 of file TrkrClusterContainer.cc

virtual TrkrCluster* TrkrClusterContainer::findCluster ( TrkrDefs::cluskey  ) const
inlinevirtual

find cluster matching given key

Reimplemented in TrkrClusterContainerv1, TrkrClusterContainerv2, and TrkrClusterContainerv3.

Definition at line 68 of file TrkrClusterContainer.h.

View newest version in sPHENIX GitHub at line 68 of file TrkrClusterContainer.h

Referenced by ALICEKF::ALICEKalmanFilter(), SvtxClusterEval::all_truth_hits_by_nhit(), PHGenFitTrkProp::check_track_exists(), PHTruthTrackSeeding::circleFitByTaubin(), PHActsSiliconSeeding::circleFitSeed(), PHMicromegasTpcTrackMatching::copyMicromegasClustersToCorrectedMap(), PHTruthSiliconAssociation::copySiliconClustersToCorrectedMap(), PHSiliconTpcTrackMatching::copySiliconClustersToCorrectedMap(), PHSiliconTpcTrackMatching::correctTpcClusterZ(), DSTEmulator::evaluate_tracks(), TrackEvaluation::evaluate_tracks(), PHHoughSeeding::export_output(), KFParticle_truthAndDetTools::fillDetectorBranch(), SvtxEvaluator::fillOutputNtuples(), ActsEvaluator::fillProtoTrack(), PHSiliconTpcTrackMatching::getBunchCrossing(), PHActsTrkFitter::getSourceLinks(), PHTpcTrackSeedCircleFit::getTrackClusters(), SvtxClusterEval::gtrackid_and_layer_by_nhit(), PHActsSiliconSeeding::identifyBestSeed(), PHTruthTrackSeeding::lineFit(), PHGenFitTrkFitter::MakeSvtxTrack(), PHActsSiliconSeeding::makeSvtxTracks(), SvtxClusterEval::max_truth_cluster_by_energy(), PHSiliconTruthTrackSeeding::Process(), PHTruthTrackSeeding::Process(), PHRTreeSeeding::Process(), PHTpcClusterMover::process_event(), PHMicromegasTpcTrackMatching::process_event(), PHTpcDeltaZCorrection::process_track(), TpcSpaceChargeReconstruction::process_track(), PHTpcResiduals::processTrack(), PHSimpleKFProp::PropagateTrack(), SvtxClusterEval::reco_cluster_from_truth_cluster(), PHGenFitTrkProp::ReFitTrack(), PHGenFitTrkFitter::ReFitTrack(), PHGenFitTrkProp::SvtxTrackToPHGenFitTracks(), and PHGenFitTrkProp::TrackPropPatRec().

+ Here is the caller graph for this function:

TrkrClusterContainer::Iterator TrkrClusterContainer::findOrAddCluster ( TrkrDefs::cluskey  )
virtual

find cluster matching key if any, add a new one otherwise and return cluster

Reimplemented in TrkrClusterContainerv1, TrkrClusterContainerv2, and TrkrClusterContainerv3.

Definition at line 22 of file TrkrClusterContainer.cc.

View newest version in sPHENIX GitHub at line 22 of file TrkrClusterContainer.cc

Referenced by PHMicromegasTpcTrackMatching::copyMicromegasClustersToCorrectedMap(), PHTruthSiliconAssociation::copySiliconClustersToCorrectedMap(), PHSiliconTpcTrackMatching::copySiliconClustersToCorrectedMap(), and PHTpcClusterMover::process_event().

+ Here is the caller graph for this function:

virtual Map* TrkrClusterContainer::getClusterMap ( TrkrDefs::hitsetkey  )
inlinevirtual

get pointer to map containing clusters mathching hitset

Reimplemented in TrkrClusterContainerv2, and TrkrClusterContainerv3.

Definition at line 65 of file TrkrClusterContainer.h.

View newest version in sPHENIX GitHub at line 65 of file TrkrClusterContainer.h

Referenced by TpcClusterizer::process_event().

+ Here is the caller graph for this function:

TrkrClusterContainer::ConstRange TrkrClusterContainer::getClusters ( void  ) const
virtual

return all clusters

Reimplemented in TrkrClusterContainerv1.

Definition at line 26 of file TrkrClusterContainer.cc.

View newest version in sPHENIX GitHub at line 26 of file TrkrClusterContainer.cc

Referenced by SvtxClusterEval::all_clusters_from(), SvtxClusterEval::best_cluster_by_nhit(), PHGenFitTrkProp::BuildLayerZPhiHitMap(), PHTpcTrackerUtil::convert_clusters_to_hits(), QAG4SimulationIntt::evaluate_clusters(), QAG4SimulationMvtx::evaluate_clusters(), QAG4SimulationMicromegas::evaluate_clusters(), TrackEvaluation::evaluate_clusters(), TrackEvaluation::evaluate_event(), PHTpcEventExporter::exportEvent(), SvtxClusterEval::fill_cluster_layer_map(), SvtxEvaluator::fillOutputNtuples(), SvtxClusterEval::FillRecoClusterFromG4HitCache(), PHRTreeSeeding::FillTree(), PHCASeeding::FillTree(), PHActsSiliconSeeding::getMvtxSpacePoints(), PHTruthSiliconAssociation::getSiliconClustersFromParticle(), PHActsSiliconSeeding::matchInttClusters(), PHSimpleKFProp::PrepareKDTrees(), SvtxEvaluator::printInputInfo(), PHSiliconTruthTrackSeeding::Process(), TpcClusterCleaner::process_event(), QAG4SimulationTracking::process_event(), PHTruthClustering::process_event(), PHTpcCentralMembraneClusterizer::process_event(), PHMicromegasTpcTrackMatching::process_event(), DumpTrkrClusterContainer::process_Node(), TpcDirectLaserReconstruction::process_track(), TpcDirectLaserReconstruction::process_tracks(), PHInitZVertexing::translate_input(), PHPatternReco::translate_input(), and PHHoughSeeding::translate_input().

+ Here is the caller graph for this function:

TrkrClusterContainer::ConstRange TrkrClusterContainer::getClusters ( TrkrDefs::hitsetkey  ) const
virtual

get all clusters matching hitset

Reimplemented in TrkrClusterContainerv2, and TrkrClusterContainerv3.

Definition at line 30 of file TrkrClusterContainer.cc.

View newest version in sPHENIX GitHub at line 30 of file TrkrClusterContainer.cc

void TrkrClusterContainer::identify ( std::ostream &  = std::cout) const
inlineoverridevirtual

identify object

Reimplemented from PHObject.

Reimplemented in TrkrClusterContainerv1, TrkrClusterContainerv2, and TrkrClusterContainerv3.

Definition at line 41 of file TrkrClusterContainer.h.

View newest version in sPHENIX GitHub at line 41 of file TrkrClusterContainer.h

Referenced by MvtxClusterizer::PrintClusters(), InttClusterizer::PrintClusters(), RawDigitBuilderTTL::PrintClusters(), and DumpTrkrHitTruthAssoc::process_Node().

+ Here is the caller graph for this function:

virtual void TrkrClusterContainer::removeCluster ( TrkrDefs::cluskey  )
inlinevirtual

remove cluster

Reimplemented in TrkrClusterContainerv1, TrkrClusterContainerv2, and TrkrClusterContainerv3.

Definition at line 50 of file TrkrClusterContainer.h.

View newest version in sPHENIX GitHub at line 50 of file TrkrClusterContainer.h

Referenced by TpcClusterCleaner::process_event().

+ Here is the caller graph for this function:

virtual void TrkrClusterContainer::removeCluster ( TrkrCluster )
inlinevirtual

remove cluster

Reimplemented in TrkrClusterContainerv1, TrkrClusterContainerv2, and TrkrClusterContainerv3.

Definition at line 53 of file TrkrClusterContainer.h.

View newest version in sPHENIX GitHub at line 53 of file TrkrClusterContainer.h

void TrkrClusterContainer::Reset ( )
inlineoverridevirtual

reset method

Reimplemented from PHObject.

Reimplemented in TrkrClusterContainerv1, TrkrClusterContainerv2, and TrkrClusterContainerv3.

Definition at line 38 of file TrkrClusterContainer.h.

View newest version in sPHENIX GitHub at line 38 of file TrkrClusterContainer.h

Referenced by PHTpcClusterMover::GetNodes().

+ Here is the caller graph for this function:


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