Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TrkrHitSetContainer Class Reference

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

+ Inheritance diagram for TrkrHitSetContainer:
+ Collaboration diagram for TrkrHitSetContainer:

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 TrkrHitSetfindHitSet (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 PHObjectCloneMe () const
 Virtual copy constructor.
 
virtual PHObjectclone () const final
 
PHObjectClone (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
 

Detailed Description

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

Member Typedef Documentation

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

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

Definition at line 27 of file TrkrHitSetContainer.h.

View newest version in sPHENIX GitHub at line 27 of file TrkrHitSetContainer.h

Definition at line 30 of file TrkrHitSetContainer.h.

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

Constructor & Destructor Documentation

TrkrHitSetContainer::~TrkrHitSetContainer ( )
overridedefault

dtir

TrkrHitSetContainer::TrkrHitSetContainer ( )
protecteddefault

ctor

Member Function Documentation

TrkrHitSetContainer::ConstIterator TrkrHitSetContainer::addHitSet ( TrkrHitSet )
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

TrkrHitSetContainer::ConstIterator TrkrHitSetContainer::addHitSetSpecifyKey ( const TrkrDefs::hitsetkey  ,
TrkrHitSet  
)
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

virtual TrkrHitSet* TrkrHitSetContainer::findHitSet ( TrkrDefs::hitsetkey  )
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().

+ Here is the caller graph for this function:

TrkrHitSetContainer::ConstRange TrkrHitSetContainer::getHitSets ( const TrkrDefs::TrkrId  ) const
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().

+ Here is the caller graph for this function:

TrkrHitSetContainer::ConstRange TrkrHitSetContainer::getHitSets ( const TrkrDefs::TrkrId  trackerid,
const uint8_t  layer 
) const
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

TrkrHitSetContainer::ConstRange TrkrHitSetContainer::getHitSets ( ) const
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

virtual void TrkrHitSetContainer::removeHitSet ( TrkrDefs::hitsetkey  )
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().

+ Here is the caller graph for this function:

virtual void TrkrHitSetContainer::removeHitSet ( TrkrHitSet )
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

void TrkrHitSetContainer::Reset ( )
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().

+ Here is the caller graph for this function:

virtual unsigned int TrkrHitSetContainer::size ( void  ) const
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().

+ Here is the caller graph for this function:


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