ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
Cluster container object. More...
#include <coresoftware/blob/master/offline/packages/trackbase/TrkrClusterContainer.h>
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 Map * | getClusterMap (TrkrDefs::hitsetkey) |
get pointer to map containing clusters mathching hitset | |
virtual TrkrCluster * | findCluster (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 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 | 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 | |
Cluster container object.
Definition at line 24 of file TrkrClusterContainer.h.
View newest version in sPHENIX GitHub at line 24 of file TrkrClusterContainer.h
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
using TrkrClusterContainer::ConstRange = std::pair<ConstIterator, ConstIterator> |
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
using TrkrClusterContainer::Map = std::map<TrkrDefs::cluskey, TrkrCluster *> |
Definition at line 30 of file TrkrClusterContainer.h.
View newest version in sPHENIX GitHub at line 30 of file TrkrClusterContainer.h
using TrkrClusterContainer::Range = std::pair<Iterator, Iterator> |
Definition at line 33 of file TrkrClusterContainer.h.
View newest version in sPHENIX GitHub at line 33 of file TrkrClusterContainer.h
|
protecteddefault |
constructor
|
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().
|
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
|
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().
|
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().
|
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().
|
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().
|
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
|
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().
|
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().
|
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
|
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().
total number of clusters
Reimplemented in TrkrClusterContainerv1, TrkrClusterContainerv2, and TrkrClusterContainerv3.
Definition at line 71 of file TrkrClusterContainer.h.
View newest version in sPHENIX GitHub at line 71 of file TrkrClusterContainer.h
Referenced by SvtxClusterEval::best_cluster_by_nhit(), PHInitZVertexing::export_output(), PHPatternReco::export_output(), PHHoughSeeding::export_output(), SvtxEvaluator::fillOutputNtuples(), SvtxClusterEval::get_node_pointers(), DSTEmulator::load_nodes(), MvtxClusterizer::PrintClusters(), InttClusterizer::PrintClusters(), RawDigitBuilderTTL::PrintClusters(), SvtxEvaluator::printInputInfo(), TpcClusterCleaner::process_event(), TpcClusterizer::process_event(), PHG4TpcPadBaselineShift::process_event(), PHTpcCentralMembraneClusterizer::process_event(), DumpTrkrClusterContainer::process_Node(), and PHInitZVertexing::translate_input().