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

Base class for associating clusters to iterations they were used in. More...

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

+ Inheritance diagram for TrkrClusterIterationMap:
+ Collaboration diagram for TrkrClusterIterationMap:

Public Types

using Map = std::map< TrkrDefs::cluskey, short int >
 
using ConstIter = Map::const_iterator
 

Public Member Functions

void Reset () override
 Clear Event.
 
virtual void addIteration (TrkrDefs::cluskey, short int)
 Add association between cluster andthe tracking iteration it was used in.
 
virtual short int getIteration (TrkrDefs::cluskey)
 
virtual unsigned int size () const
 
virtual ConstIter begin () const
 
virtual ConstIter end () 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

 TrkrClusterIterationMap ()=default
 

Private Member Functions

 ClassDefOverride (TrkrClusterIterationMap, 1)
 

Detailed Description

Base class for associating clusters to iterations they were used in.

Store the associations between clusters and trackign iterations.

Definition at line 25 of file TrkrClusterIterationMap.h.

View newest version in sPHENIX GitHub at line 25 of file TrkrClusterIterationMap.h

Member Typedef Documentation

using TrkrClusterIterationMap::ConstIter = Map::const_iterator

Definition at line 29 of file TrkrClusterIterationMap.h.

View newest version in sPHENIX GitHub at line 29 of file TrkrClusterIterationMap.h

using TrkrClusterIterationMap::Map = std::map<TrkrDefs::cluskey, short int>

Definition at line 28 of file TrkrClusterIterationMap.h.

View newest version in sPHENIX GitHub at line 28 of file TrkrClusterIterationMap.h

Constructor & Destructor Documentation

TrkrClusterIterationMap::TrkrClusterIterationMap ( )
protecteddefault

Member Function Documentation

virtual void TrkrClusterIterationMap::addIteration ( TrkrDefs::cluskey  ,
short int   
)
inlinevirtual

Add association between cluster andthe tracking iteration it was used in.

Parameters
[in]ckeyCluster key
[in]trackingiteration

Reimplemented in TrkrClusterIterationMapv1.

Definition at line 38 of file TrkrClusterIterationMap.h.

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

Referenced by TrackingIterationCounter::addClustersToIterationMap().

+ Here is the caller graph for this function:

TrkrClusterIterationMap::ConstIter TrkrClusterIterationMap::begin ( void  ) const
virtual

Reimplemented in TrkrClusterIterationMapv1.

Definition at line 17 of file TrkrClusterIterationMap.cc.

View newest version in sPHENIX GitHub at line 17 of file TrkrClusterIterationMap.cc

References dummy.

TrkrClusterIterationMap::ClassDefOverride ( TrkrClusterIterationMap  ,
 
)
private
TrkrClusterIterationMap::ConstIter TrkrClusterIterationMap::end ( void  ) const
virtual

Reimplemented in TrkrClusterIterationMapv1.

Definition at line 22 of file TrkrClusterIterationMap.cc.

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

References dummy.

virtual short int TrkrClusterIterationMap::getIteration ( TrkrDefs::cluskey  )
inlinevirtual

Reimplemented in TrkrClusterIterationMapv1.

Definition at line 40 of file TrkrClusterIterationMap.h.

View newest version in sPHENIX GitHub at line 40 of file TrkrClusterIterationMap.h

void TrkrClusterIterationMap::Reset ( )
overridevirtual

Clear Event.

Reimplemented from PHObject.

Reimplemented in TrkrClusterIterationMapv1.

Definition at line 11 of file TrkrClusterIterationMap.cc.

View newest version in sPHENIX GitHub at line 11 of file TrkrClusterIterationMap.cc

virtual unsigned int TrkrClusterIterationMap::size ( void  ) const
inlinevirtual

Reimplemented in TrkrClusterIterationMapv1.

Definition at line 42 of file TrkrClusterIterationMap.h.

View newest version in sPHENIX GitHub at line 42 of file TrkrClusterIterationMap.h


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