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

Base class for associating clusters to the hits that went into them. More...

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

+ Inheritance diagram for TrkrClusterCrossingAssoc:
+ Collaboration diagram for TrkrClusterCrossingAssoc:

Public Types

using Map = std::multimap< TrkrDefs::cluskey, short int >
 
using ConstIterator = Map::const_iterator
 
using ConstRange = std::pair< Map::const_iterator, Map::const_iterator >
 

Public Member Functions

void Reset () override
 Clear Event.
 
virtual void addAssoc (TrkrDefs::cluskey ckey, short int hidx)=0
 Add association between cluster and hit.
 
virtual ConstRange getCrossings (TrkrDefs::cluskey) const =0
 
virtual ConstRange getAll () const =0
 
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

 TrkrClusterCrossingAssoc ()=default
 

Private Member Functions

 ClassDefOverride (TrkrClusterCrossingAssoc, 1)
 

Detailed Description

Base class for associating clusters to the hits that went into them.

Store the associations between clusters and the hits that went into them.

Definition at line 24 of file TrkrClusterCrossingAssoc.h.

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

Member Typedef Documentation

using TrkrClusterCrossingAssoc::ConstIterator = Map::const_iterator

Definition at line 29 of file TrkrClusterCrossingAssoc.h.

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

using TrkrClusterCrossingAssoc::ConstRange = std::pair<Map::const_iterator, Map::const_iterator>

Definition at line 30 of file TrkrClusterCrossingAssoc.h.

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

using TrkrClusterCrossingAssoc::Map = std::multimap<TrkrDefs::cluskey, short int>

Definition at line 28 of file TrkrClusterCrossingAssoc.h.

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

Constructor & Destructor Documentation

TrkrClusterCrossingAssoc::TrkrClusterCrossingAssoc ( )
protecteddefault

Member Function Documentation

virtual void TrkrClusterCrossingAssoc::addAssoc ( TrkrDefs::cluskey  ckey,
short int  hidx 
)
pure virtual

Add association between cluster and hit.

Parameters
[in]ckeyCluster key
[in]bunchcrossing number

Implemented in TrkrClusterCrossingAssocv1.

Referenced by InttClusterizer::ClusterLadderCells(), and InttClusterizer::ClusterLadderCellsRaw().

+ Here is the caller graph for this function:

TrkrClusterCrossingAssoc::ClassDefOverride ( TrkrClusterCrossingAssoc  ,
 
)
private
virtual ConstRange TrkrClusterCrossingAssoc::getAll ( ) const
pure virtual

Implemented in TrkrClusterCrossingAssocv1.

Referenced by DumpTrkrClusterCrossingAssoc::process_Node().

+ Here is the caller graph for this function:

virtual ConstRange TrkrClusterCrossingAssoc::getCrossings ( TrkrDefs::cluskey  ) const
pure virtual

Implemented in TrkrClusterCrossingAssocv1.

Referenced by PHSiliconTpcTrackMatching::getInttCrossings(), PHTruthSiliconAssociation::getInttCrossings(), PHTruthTrackSeeding::getInttCrossings(), and PHSiliconHelicalPropagator::process_event().

+ Here is the caller graph for this function:

void TrkrClusterCrossingAssoc::Reset ( )
overridevirtual

Clear Event.

Reimplemented from PHObject.

Reimplemented in TrkrClusterCrossingAssocv1.

Definition at line 6 of file TrkrClusterCrossingAssoc.cc.

View newest version in sPHENIX GitHub at line 6 of file TrkrClusterCrossingAssoc.cc

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

Reimplemented in TrkrClusterCrossingAssocv1.

Definition at line 45 of file TrkrClusterCrossingAssoc.h.

View newest version in sPHENIX GitHub at line 45 of file TrkrClusterCrossingAssoc.h

Referenced by DumpTrkrClusterCrossingAssoc::process_Node().

+ Here is the caller graph for this function:


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