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

#include <coresoftware/blob/master/offline/packages/trackreco/AssocInfoContainerv1.h>

+ Inheritance diagram for AssocInfoContainerv1:
+ Collaboration diagram for AssocInfoContainerv1:

Public Types

typedef std::multimap
< TrkrDefs::cluskey, unsigned
int > 
ClusterTrackMap
 
- Public Types inherited from AssocInfoContainer
typedef std::multimap
< TrkrDefs::cluskey, unsigned
int > 
ClusterTrackMap
 

Public Member Functions

 AssocInfoContainerv1 ()
 
 ~AssocInfoContainerv1 () override
 
void Reset () override
 Clear Event.
 
void identify (std::ostream &os=std::cout) const override
 
void SetClusterTrackAssoc (const TrkrDefs::cluskey &cluster_id, const unsigned int &track_id) override
 
std::vector< unsigned int > GetTracksFromCluster (const TrkrDefs::cluskey &cluster_id) const override
 
- Public Member Functions inherited from AssocInfoContainer
 ~AssocInfoContainer () override
 
- 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 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)
 

Private Attributes

ClusterTrackMap _map_cluster_id_track_id
 

Additional Inherited Members

- Protected Member Functions inherited from AssocInfoContainer
 AssocInfoContainer ()
 

Detailed Description

Definition at line 13 of file AssocInfoContainerv1.h.

View newest version in sPHENIX GitHub at line 13 of file AssocInfoContainerv1.h

Member Typedef Documentation

typedef std::multimap<TrkrDefs::cluskey, unsigned int> AssocInfoContainerv1::ClusterTrackMap

Definition at line 16 of file AssocInfoContainerv1.h.

View newest version in sPHENIX GitHub at line 16 of file AssocInfoContainerv1.h

Constructor & Destructor Documentation

AssocInfoContainerv1::AssocInfoContainerv1 ( )

Definition at line 3 of file AssocInfoContainerv1.cc.

View newest version in sPHENIX GitHub at line 3 of file AssocInfoContainerv1.cc

AssocInfoContainerv1::~AssocInfoContainerv1 ( )
override

Definition at line 8 of file AssocInfoContainerv1.cc.

View newest version in sPHENIX GitHub at line 8 of file AssocInfoContainerv1.cc

References Reset().

+ Here is the call graph for this function:

Member Function Documentation

std::vector<unsigned int> AssocInfoContainerv1::GetTracksFromCluster ( const TrkrDefs::cluskey cluster_id) const
inlineoverridevirtual

Reimplemented from AssocInfoContainer.

Definition at line 30 of file AssocInfoContainerv1.h.

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

References _map_cluster_id_track_id.

void AssocInfoContainerv1::identify ( std::ostream &  os = std::cout) const
overridevirtual

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from AssocInfoContainer.

Definition at line 15 of file AssocInfoContainerv1.cc.

View newest version in sPHENIX GitHub at line 15 of file AssocInfoContainerv1.cc

References _map_cluster_id_track_id.

void AssocInfoContainerv1::Reset ( )
overridevirtual

Clear Event.

Reimplemented from PHObject.

Definition at line 10 of file AssocInfoContainerv1.cc.

View newest version in sPHENIX GitHub at line 10 of file AssocInfoContainerv1.cc

References _map_cluster_id_track_id.

Referenced by ~AssocInfoContainerv1().

+ Here is the caller graph for this function:

void AssocInfoContainerv1::SetClusterTrackAssoc ( const TrkrDefs::cluskey cluster_id,
const unsigned int &  track_id 
)
inlineoverridevirtual

Reimplemented from AssocInfoContainer.

Definition at line 25 of file AssocInfoContainerv1.h.

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

References _map_cluster_id_track_id.

Member Data Documentation

ClusterTrackMap AssocInfoContainerv1::_map_cluster_id_track_id
private

Definition at line 42 of file AssocInfoContainerv1.h.

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

Referenced by GetTracksFromCluster(), identify(), Reset(), and SetClusterTrackAssoc().


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