Analysis Software
Documentation for sPHENIX simulation software
|
Cluster container object. More...
#include <coresoftware/blob/master/simulation/g4simulation/g4tracking/TrkrTruthTrackContainerv1.h>
Public Member Functions | |
void | Reset () override |
reset method | |
void | addTruthTrack (TrkrTruthTrack *) override |
add a Track | |
TrkrTruthTrack * | getTruthTrack (unsigned int trackid) override |
TrkrTruthTrack * | getTruthTrack (unsigned int trackid, PHG4TruthInfoContainer *) override |
ConstRange | getTruthTrackRange () const override |
bool | hasTrackid (unsigned int trackid) const override |
Map & | getMap () 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 PHObject * | CloneMe () const |
Virtual copy constructor. | |
virtual PHObject * | clone () const final |
PHObject * | Clone (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 | |
Cluster container object.
Definition at line 18 of file TrkrTruthTrackContainerv1.h.
View newest version in sPHENIX GitHub at line 18 of file TrkrTruthTrackContainerv1.h
|
default |
|
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.
|
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.
|
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.
|
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.
|
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.
|
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().
|
overridevirtual |
identify Function from PHObject
os | Output 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
|
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
|
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
|
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().