Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/offline/packages/trackbase/TrkrHitSetContainer.h>
Public Types | |
using | Map = std::map< TrkrDefs::hitsetkey, TrkrHitSet * > |
using | Iterator = Map::iterator |
using | ConstIterator = Map::const_iterator |
using | Range = std::pair< Iterator, Iterator > |
using | ConstRange = std::pair< ConstIterator, ConstIterator > |
Public Member Functions | |
~TrkrHitSetContainer () override=default | |
dtir | |
void | Reset () override |
PHObject functions. | |
virtual ConstIterator | addHitSet (TrkrHitSet *) |
Add a TrkrHitSet to the container. | |
virtual ConstIterator | addHitSetSpecifyKey (const TrkrDefs::hitsetkey, TrkrHitSet *) |
virtual void | removeHitSet (TrkrDefs::hitsetkey) |
preferred removal method, key is currently the hit id | |
virtual void | removeHitSet (TrkrHitSet *) |
inefficent, use key where possible instead | |
virtual Iterator | findOrAddHitSet (TrkrDefs::hitsetkey) |
find or add HitSet | |
virtual ConstRange | getHitSets (const TrkrDefs::TrkrId) const |
return all HitSets matching a given detid | |
virtual ConstRange | getHitSets (const TrkrDefs::TrkrId trackerid, const uint8_t layer) const |
return all HitSets matching a given detid, layer | |
virtual ConstRange | getHitSets () const |
return all HitSets | |
virtual TrkrHitSet * | findHitSet (TrkrDefs::hitsetkey) |
return a given HitSet based on its key | |
virtual unsigned int | size () 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 void | identify (std::ostream &os=std::cout) const |
virtual int | isValid () const |
isValid returns non zero if object contains vailid data | |
virtual int | Integrate () const |
virtual int | Integrate (PHObject *) |
virtual void | CopyFrom (const PHObject *obj) |
Protected Member Functions | |
TrkrHitSetContainer ()=default | |
ctor | |
Container for TrkrHitSet objects
Definition at line 23 of file TrkrHitSetContainer.h.
View newest version in sPHENIX GitHub at line 23 of file TrkrHitSetContainer.h
using TrkrHitSetContainer::ConstIterator = Map::const_iterator |
Definition at line 29 of file TrkrHitSetContainer.h.
View newest version in sPHENIX GitHub at line 29 of file TrkrHitSetContainer.h
using TrkrHitSetContainer::ConstRange = std::pair<ConstIterator, ConstIterator> |
Definition at line 31 of file TrkrHitSetContainer.h.
View newest version in sPHENIX GitHub at line 31 of file TrkrHitSetContainer.h
using TrkrHitSetContainer::Iterator = Map::iterator |
Definition at line 28 of file TrkrHitSetContainer.h.
View newest version in sPHENIX GitHub at line 28 of file TrkrHitSetContainer.h
using TrkrHitSetContainer::Map = std::map<TrkrDefs::hitsetkey, TrkrHitSet *> |
Definition at line 27 of file TrkrHitSetContainer.h.
View newest version in sPHENIX GitHub at line 27 of file TrkrHitSetContainer.h
using TrkrHitSetContainer::Range = std::pair<Iterator, Iterator> |
Definition at line 30 of file TrkrHitSetContainer.h.
View newest version in sPHENIX GitHub at line 30 of file TrkrHitSetContainer.h
|
overridedefault |
dtir
|
protecteddefault |
ctor
|
virtual |
Add a TrkrHitSet to the container.
Reimplemented in TrkrHitSetContainerv1.
Definition at line 27 of file TrkrHitSetContainer.cc.
View newest version in sPHENIX GitHub at line 27 of file TrkrHitSetContainer.cc
|
virtual |
Reimplemented in TrkrHitSetContainerv1.
Definition at line 31 of file TrkrHitSetContainer.cc.
View newest version in sPHENIX GitHub at line 31 of file TrkrHitSetContainer.cc
|
inlinevirtual |
return a given HitSet based on its key
Reimplemented in TrkrHitSetContainerv1.
Definition at line 65 of file TrkrHitSetContainer.h.
View newest version in sPHENIX GitHub at line 65 of file TrkrHitSetContainer.h
Referenced by PHG4MvtxHitReco::cluster_truthhits(), PHG4TpcDigitizer::DigitizeCylinderCells(), MvtxPrototype2UnpackPRDF::process_event(), and MvtxHitPruner::process_event().
|
virtual |
find or add HitSet
Reimplemented in TrkrHitSetContainerv1.
Definition at line 35 of file TrkrHitSetContainer.cc.
View newest version in sPHENIX GitHub at line 35 of file TrkrHitSetContainer.cc
Referenced by TpcClusterBuilder::addhitset(), PHG4InttHitReco::addtruthhitset(), PHG4MvtxHitReco::addtruthhitset(), PHG4MvtxHitReco::cluster_truthhits(), PHG4TpcDigitizer::DigitizeCylinderCells(), TpcPrototypeUnpacker::exportDSTHits(), PHG4TpcPadPlaneReadout::MapToPadPlane(), InttCombinedRawDataDecoder::process_event(), InttRawDataDecoder::process_event(), TpcCombinedRawDataUnpacker::process_event(), MvtxHitPruner::process_event(), MvtxCombinedRawDataDecoder::process_event(), and PHG4TpcElectronDrift::process_event().
|
virtual |
return all HitSets matching a given detid
Reimplemented in TrkrHitSetContainerv1.
Definition at line 39 of file TrkrHitSetContainer.cc.
View newest version in sPHENIX GitHub at line 39 of file TrkrHitSetContainer.cc
Referenced by SvtxHitEval::all_hits_from(), SvtxHitEval::all_truth_hits(), HFTrigger::calculateMultiplicity(), HFTriggerMVA::calculateMultiplicity(), TpcClusterBuilder::cluster_hits(), PHG4InttHitReco::cluster_truthhits(), PHG4MvtxHitReco::cluster_truthhits(), InttClusterizer::ClusterLadderCells(), MvtxPrototype2Clusterizer::ClusterMvtx(), MvtxClusterizer::ClusterMvtx(), PHG4TpcDigitizer::DigitizeCylinderCells(), PHG4InttDigitizer::DigitizeLadderCells(), PHG4MvtxDigitizer::DigitizeMvtxLadderCells(), QAG4SimulationMicromegas::evaluate_hits(), TrackResiduals::fillHitTree(), TrkrNtuplizer::fillOutputNtuples(), SvtxEvaluator::fillOutputNtuples(), dNdEtaINTT::GetTrkrHitInfo(), TrackerEventDisplay::makeJsonFile(), TrkrNtuplizer::printOutputInfo(), SvtxEvaluator::printOutputInfo(), TpcPrototypeClusterizer::process_event(), TpcSimpleClusterizer::process_event(), PHG4TpcPadBaselineShift::process_event(), TpcRawWriter::process_event(), TpcClusterizer::process_event(), MvtxHitPruner::process_event(), SynRadAna::process_event(), TPCMLDataInterface::process_event(), PHG4TpcElectronDrift::process_event(), readDigitalCurrents::process_event(), DumpTrkrHitSetContainer::process_Node(), and TpcDirectLaserReconstruction::process_track().
|
virtual |
return all HitSets matching a given detid, layer
Reimplemented in TrkrHitSetContainerv1.
Definition at line 43 of file TrkrHitSetContainer.cc.
View newest version in sPHENIX GitHub at line 43 of file TrkrHitSetContainer.cc
|
virtual |
return all HitSets
Reimplemented in TrkrHitSetContainerv1.
Definition at line 47 of file TrkrHitSetContainer.cc.
View newest version in sPHENIX GitHub at line 47 of file TrkrHitSetContainer.cc
|
inlinevirtual |
preferred removal method, key is currently the hit id
Reimplemented in TrkrHitSetContainerv1.
Definition at line 45 of file TrkrHitSetContainer.h.
View newest version in sPHENIX GitHub at line 45 of file TrkrHitSetContainer.h
Referenced by PHG4MvtxHitReco::cluster_truthhits(), and MvtxHitPruner::process_event().
|
inlinevirtual |
inefficent, use key where possible instead
Reimplemented in TrkrHitSetContainerv1.
Definition at line 49 of file TrkrHitSetContainer.h.
View newest version in sPHENIX GitHub at line 49 of file TrkrHitSetContainer.h
|
overridevirtual |
PHObject functions.
Reimplemented from PHObject.
Reimplemented in TrkrHitSetContainerv1.
Definition at line 20 of file TrkrHitSetContainer.cc.
View newest version in sPHENIX GitHub at line 20 of file TrkrHitSetContainer.cc
Referenced by TpcClusterBuilder::cluster_hits(), PHG4InttHitReco::cluster_truthhits(), and PHG4MvtxHitReco::cluster_truthhits().
|
inlinevirtual |
Reimplemented in TrkrHitSetContainerv1.
Definition at line 68 of file TrkrHitSetContainer.h.
View newest version in sPHENIX GitHub at line 68 of file TrkrHitSetContainer.h
Referenced by DumpTrkrHitSetContainer::process_Node().