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

Cluster container object. More...

#include <coresoftware/blob/master/simulation/g4simulation/g4tracking/TrkrTruthTrackContainerv1.h>

+ Inheritance diagram for TrkrTruthTrackContainerv1:
+ Collaboration diagram for TrkrTruthTrackContainerv1:

Public Member Functions

void Reset () override
 reset method
 
void addTruthTrack (TrkrTruthTrack *) override
 add a Track
 
TrkrTruthTrackgetTruthTrack (unsigned int trackid) override
 
TrkrTruthTrackgetTruthTrack (unsigned int trackid, PHG4TruthInfoContainer *) override
 
ConstRange getTruthTrackRange () const override
 
bool hasTrackid (unsigned int trackid) const override
 
MapgetMap () override
 
 TrkrTruthTrackContainerv1 ()=default
 
void identify (std::ostream &os=std::cout) const override
 
int nhw_virt () override
 
- Public Member Functions inherited from TrkrTruthTrackContainer
int nhw ()
 
int nhw_cc ()
 
- 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

Map m_data {}
 

Additional Inherited Members

- Public Types inherited from TrkrTruthTrackContainer
using Map = std::map< unsigned int, TrkrTruthTrack * >
 
using Iterator = Map::iterator
 
using ConstIterator = Map::const_iterator
 
using Range = std::pair< Iterator, Iterator >
 
using ConstRange = std::pair< ConstIterator, ConstIterator >
 
- Protected Member Functions inherited from TrkrTruthTrackContainer
 TrkrTruthTrackContainer ()=default
 

Detailed Description

Cluster container object.

Definition at line 18 of file TrkrTruthTrackContainerv1.h.

View newest version in sPHENIX GitHub at line 18 of file TrkrTruthTrackContainerv1.h

Constructor & Destructor Documentation

TrkrTruthTrackContainerv1::TrkrTruthTrackContainerv1 ( )
default

Member Function Documentation

void TrkrTruthTrackContainerv1::addTruthTrack ( TrkrTruthTrack )
overridevirtual

add a Track

Reimplemented from TrkrTruthTrackContainer.

Definition at line 25 of file TrkrTruthTrackContainerv1.cc.

View newest version in sPHENIX GitHub at line 25 of file TrkrTruthTrackContainerv1.cc

References TrkrTruthTrack::getTrackid(), hasTrackid(), train_ambiguity_solver::id, m_data, and PHWHERE.

+ Here is the call graph for this function:

TrkrTruthTrackContainer::Map & TrkrTruthTrackContainerv1::getMap ( )
overridevirtual

Reimplemented from TrkrTruthTrackContainer.

Definition at line 76 of file TrkrTruthTrackContainerv1.cc.

View newest version in sPHENIX GitHub at line 76 of file TrkrTruthTrackContainerv1.cc

References m_data.

TrkrTruthTrack * TrkrTruthTrackContainerv1::getTruthTrack ( unsigned int  trackid)
overridevirtual

Reimplemented from TrkrTruthTrackContainer.

Definition at line 35 of file TrkrTruthTrackContainerv1.cc.

View newest version in sPHENIX GitHub at line 35 of file TrkrTruthTrackContainerv1.cc

References hasTrackid(), m_data, and PHWHERE.

+ Here is the call graph for this function:

TrkrTruthTrack * TrkrTruthTrackContainerv1::getTruthTrack ( unsigned int  trackid,
PHG4TruthInfoContainer truth_info 
)
overridevirtual

Reimplemented from TrkrTruthTrackContainer.

Definition at line 46 of file TrkrTruthTrackContainerv1.cc.

View newest version in sPHENIX GitHub at line 46 of file TrkrTruthTrackContainerv1.cc

References PHG4Particle::get_vtx_id(), PHG4TruthInfoContainer::GetParticle(), PHG4TruthInfoContainer::GetVtx(), hasTrackid(), train_ambiguity_solver::id, m_data, particle, and PHWHERE.

+ Here is the call graph for this function:

TrkrTruthTrackContainer::ConstRange TrkrTruthTrackContainerv1::getTruthTrackRange ( ) const
overridevirtual

Reimplemented from TrkrTruthTrackContainer.

Definition at line 66 of file TrkrTruthTrackContainerv1.cc.

View newest version in sPHENIX GitHub at line 66 of file TrkrTruthTrackContainerv1.cc

References m_data.

bool TrkrTruthTrackContainerv1::hasTrackid ( unsigned int  trackid) const
overridevirtual

Reimplemented from TrkrTruthTrackContainer.

Definition at line 71 of file TrkrTruthTrackContainerv1.cc.

View newest version in sPHENIX GitHub at line 71 of file TrkrTruthTrackContainerv1.cc

References m_data.

Referenced by addTruthTrack(), and getTruthTrack().

+ Here is the caller graph for this function:

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

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from TrkrTruthTrackContainer.

Definition at line 81 of file TrkrTruthTrackContainerv1.cc.

View newest version in sPHENIX GitHub at line 81 of file TrkrTruthTrackContainerv1.cc

References entry, and m_data.

int TrkrTruthTrackContainerv1::nhw_virt ( )
inlineoverridevirtual

Reimplemented from TrkrTruthTrackContainer.

Definition at line 33 of file TrkrTruthTrackContainerv1.h.

View newest version in sPHENIX GitHub at line 33 of file TrkrTruthTrackContainerv1.h

void TrkrTruthTrackContainerv1::Reset ( )
overridevirtual

reset method

Reimplemented from TrkrTruthTrackContainer.

Definition at line 16 of file TrkrTruthTrackContainerv1.cc.

View newest version in sPHENIX GitHub at line 16 of file TrkrTruthTrackContainerv1.cc

References entry, and m_data.

Member Data Documentation

Map TrkrTruthTrackContainerv1::m_data {}
private

Definition at line 37 of file TrkrTruthTrackContainerv1.h.

View newest version in sPHENIX GitHub at line 37 of file TrkrTruthTrackContainerv1.h

Referenced by addTruthTrack(), getMap(), getTruthTrack(), getTruthTrackRange(), hasTrackid(), identify(), and Reset().


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