#include <GaussTrackInformation.h>
Collaboration diagram for GaussTrackInformation:
Public Types | |
typedef std::vector< GaussHitBase * > | Hits |
Public Member Functions | |
GaussTrackInformation () | |
default (empty) constructor | |
GaussTrackInformation (const GaussTrackInformation &right) | |
copy constructor | |
virtual | ~GaussTrackInformation () |
destructor | |
virtual GaussTrackInformation * | clone () const |
clone (virtual constructor) | |
void * | operator new (size_t) |
overloaded operator new | |
void | operator delete (void *) |
overloaded operator delete | |
virtual void | Print () const |
needed by base class | |
const bool | appendStep () const |
flag to append the step | |
GaussTrackInformation & | setAppendStep (const bool value) |
set new value for flag to append step | |
const bool | toBeStored () const |
flag to force the saving of track into traectory | |
GaussTrackInformation & | setToBeStored (const bool value) |
set new value for flag to force the saving track into trajectory | |
const bool | createdHit () const |
track created a hit | |
GaussTrackInformation & | setCreatedHit (const bool value) |
set new value for flag | |
const bool | directParent () const |
GaussTrackInformation & | setDirectParent (const bool value) |
const bool | storeHepMC () const |
Get flag to store or not in internal HepMC structure. | |
GaussTrackInformation & | setStoreHepMC (const bool value) |
Set value of flag to store or not in internal HepMC structure. | |
GaussTrackInformation & | addHit (GaussHitBase *hit) |
add hit pointer | |
GaussTrackInformation & | addToHits (GaussHitBase *hit) |
add hit pointer | |
const Hits & | hits () const |
GaussTrackInformation & | updateHitsTrackID (G4int trackID) |
update Tracks IDs in hits (set the new track ID for all connected hits) | |
DetTrackInfo * | detInfo () const |
get the pointer to the detInfo | |
void | setDetInfo (DetTrackInfo *aDetInfo) |
set the pointer to the detInfo | |
Private Attributes | |
bool | m_appendStep |
flag indicating that TrajectoryPoint should be appended | |
bool | m_toBeStored |
flag indicating that track is forced to be stored into trajectory | |
bool | m_createdHit |
flag indicating that track created a hit | |
bool | m_directParent |
flag indicating that the direct parent particle was not stored in HepMC event this will be represented by a special 'dummy' link | |
bool | m_storeHepMC |
Hits | m_hits |
vector of pointers to hits created by that track | |
DetTrackInfo * | m_detInfo |
pointer to a specialised DetTrackInfo object containing detector-specific track information |
Vanya Belyaev Ivan.Belyaev@itep.ru
Definition at line 26 of file GaussTrackInformation.h.
typedef std::vector<GaussHitBase*> GaussTrackInformation::Hits |
Definition at line 30 of file GaussTrackInformation.h.
GaussTrackInformation::GaussTrackInformation | ( | ) |
default (empty) constructor
GaussTrackInformation::GaussTrackInformation | ( | const GaussTrackInformation & | right | ) |
copy constructor
right | object to be copied |
virtual GaussTrackInformation::~GaussTrackInformation | ( | ) | [virtual] |
destructor
virtual GaussTrackInformation* GaussTrackInformation::clone | ( | ) | const [virtual] |
clone (virtual constructor)
void* GaussTrackInformation::operator new | ( | size_t | ) |
overloaded operator new
void GaussTrackInformation::operator delete | ( | void * | ) |
overloaded operator delete
virtual void GaussTrackInformation::Print | ( | ) | const [inline, virtual] |
const bool GaussTrackInformation::appendStep | ( | ) | const [inline] |
flag to append the step
Definition at line 57 of file GaussTrackInformation.h.
00057 { return m_appendStep ; }
GaussTrackInformation& GaussTrackInformation::setAppendStep | ( | const bool | value | ) | [inline] |
set new value for flag to append step
value | new value of the flag |
Definition at line 62 of file GaussTrackInformation.h.
00063 { m_appendStep = value ; return *this ; }
const bool GaussTrackInformation::toBeStored | ( | ) | const [inline] |
flag to force the saving of track into traectory
Definition at line 66 of file GaussTrackInformation.h.
00066 { return m_toBeStored ; }
GaussTrackInformation& GaussTrackInformation::setToBeStored | ( | const bool | value | ) | [inline] |
set new value for flag to force the saving track into trajectory
value | new value of the flag |
Definition at line 71 of file GaussTrackInformation.h.
00072 { m_toBeStored = value ; return *this ; }
const bool GaussTrackInformation::createdHit | ( | ) | const [inline] |
track created a hit
Definition at line 75 of file GaussTrackInformation.h.
00075 { return m_createdHit ; }
GaussTrackInformation& GaussTrackInformation::setCreatedHit | ( | const bool | value | ) | [inline] |
set new value for flag
value | new value of the flag |
Definition at line 80 of file GaussTrackInformation.h.
00081 { m_createdHit = value ; return *this ; }
const bool GaussTrackInformation::directParent | ( | ) | const [inline] |
GaussTrackInformation& GaussTrackInformation::setDirectParent | ( | const bool | value | ) | [inline] |
Definition at line 87 of file GaussTrackInformation.h.
00088 { m_directParent = value; return *this;}
const bool GaussTrackInformation::storeHepMC | ( | ) | const [inline] |
Get flag to store or not in internal HepMC structure.
Definition at line 91 of file GaussTrackInformation.h.
00091 {return m_storeHepMC;}
GaussTrackInformation& GaussTrackInformation::setStoreHepMC | ( | const bool | value | ) | [inline] |
Set value of flag to store or not in internal HepMC structure.
Definition at line 94 of file GaussTrackInformation.h.
00095 { m_storeHepMC = value; return *this;}
GaussTrackInformation& GaussTrackInformation::addHit | ( | GaussHitBase * | hit | ) | [inline] |
add hit pointer
hit | hit to be added into list of connected hits |
Definition at line 100 of file GaussTrackInformation.h.
00101 { if ( 0 != hit ) { m_hits.push_back( hit ) ; } ; return *this ; }
GaussTrackInformation& GaussTrackInformation::addToHits | ( | GaussHitBase * | hit | ) | [inline] |
add hit pointer
hit | hit to be added into list of connected hits |
Definition at line 106 of file GaussTrackInformation.h.
00107 { return addHit( hit ) ; }
const Hits& GaussTrackInformation::hits | ( | ) | const [inline] |
GaussTrackInformation& GaussTrackInformation::updateHitsTrackID | ( | G4int | trackID | ) | [inline] |
update Tracks IDs in hits (set the new track ID for all connected hits)
trackID | new value of trackID |
Definition at line 116 of file GaussTrackInformation.h.
00117 { 00118 for( Hits::iterator ihit = m_hits.begin() ; m_hits.end() != ihit ; ++ihit ) 00119 { 00120 GaussHitBase* hit = *ihit ; 00121 if( 0 != hit ) { hit->setTrackID( trackID ); } 00122 } 00123 return *this ; 00124 }
DetTrackInfo* GaussTrackInformation::detInfo | ( | ) | const [inline] |
get the pointer to the detInfo
Definition at line 128 of file GaussTrackInformation.h.
00128 { return m_detInfo; }
void GaussTrackInformation::setDetInfo | ( | DetTrackInfo * | aDetInfo | ) | [inline] |
set the pointer to the detInfo
aDetInfo | pointer to DetTrackInfo |
Definition at line 133 of file GaussTrackInformation.h.
00134 { m_detInfo = aDetInfo; }
bool GaussTrackInformation::m_appendStep [private] |
flag indicating that TrajectoryPoint should be appended
Definition at line 140 of file GaussTrackInformation.h.
bool GaussTrackInformation::m_toBeStored [private] |
flag indicating that track is forced to be stored into trajectory
Definition at line 142 of file GaussTrackInformation.h.
bool GaussTrackInformation::m_createdHit [private] |
bool GaussTrackInformation::m_directParent [private] |
flag indicating that the direct parent particle was not stored in HepMC event this will be represented by a special 'dummy' link
Definition at line 147 of file GaussTrackInformation.h.
bool GaussTrackInformation::m_storeHepMC [private] |
Definition at line 149 of file GaussTrackInformation.h.
Hits GaussTrackInformation::m_hits [private] |
vector of pointers to hits created by that track
Definition at line 152 of file GaussTrackInformation.h.
DetTrackInfo* GaussTrackInformation::m_detInfo [private] |
pointer to a specialised DetTrackInfo object containing detector-specific track information
Definition at line 156 of file GaussTrackInformation.h.