#include <TrackWithHistory.h>
Public Member Functions | |
void | checkAtEnd (const G4Track *) |
const G4VProcess * | creatorProcess () const |
bool | crossedBoundary () const |
int | genParticleID () const |
int | getIDAtBoundary () const |
const math::XYZTLorentzVectorF & | getMomentumAtBoundary () const |
const math::XYZTLorentzVectorF & | getPositionAtBoundary () const |
double | globalTime () const |
double | localTime () const |
const math::XYZVectorD & | momentum () const |
void | operator delete (void *TrackWithHistory) |
void * | operator new (size_t) |
int | parentID () const |
int | particleID () const |
double | properTime () const |
void | save () |
bool | saved () const |
void | setCrossedBoundaryPosMom (int id, const math::XYZTLorentzVectorF position, const math::XYZTLorentzVectorF momentum) |
void | setGenParticleID (int i) |
void | setParentID (int i) |
void | setTrackID (int i) |
bool | storeTrack () const |
double | totalEnergy () const |
unsigned int | trackID () const |
TrackWithHistory (const G4Track *g4track) | |
const math::XYZVectorD & | vertexPosition () const |
double | weight () const |
~TrackWithHistory () | |
Private Member Functions | |
int | extractGenID (const G4Track *gt) const |
Private Attributes | |
const G4VProcess * | creatorProcess_ |
bool | crossedBoundary_ |
int | genParticleID_ |
double | globalTime_ |
int | idAtBoundary_ |
bool | isPrimary_ |
double | localTime_ |
math::XYZVectorD | momentum_ |
math::XYZTLorentzVectorF | momentumAtBoundary_ |
int | parentID_ |
int | particleID_ |
math::XYZTLorentzVectorF | positionAtBoundary_ |
double | properTime_ |
bool | saved_ |
bool | storeTrack_ |
double | totalEnergy_ |
unsigned int | trackID_ |
math::XYZVectorD | vertexPosition_ |
double | weight_ |
The part of the information about a SimTrack that we need from a G4Track
Definition at line 16 of file TrackWithHistory.h.
TrackWithHistory::TrackWithHistory | ( | const G4Track * | g4track | ) |
The constructor is called at PreUserTrackingAction time, when some of the information is not available yet.
Definition at line 16 of file TrackWithHistory.cc.
References creatorProcess_, crossedBoundary_, extractGenID(), genParticleID_, globalTime_, localTime_, LogDebug, momentum_, parentID_, G4TrackToParticleID::particleID(), particleID_, properTime_, saved_, storeTrack_, totalEnergy_, trackID_, vertexPosition_, and weight_.
|
inline |
Definition at line 22 of file TrackWithHistory.h.
void TrackWithHistory::checkAtEnd | ( | const G4Track * | gt | ) |
Internal consistency check (optional). Method called at PostUserTrackingAction time, to check if the information is consistent with that provided to the constructor.
Definition at line 56 of file TrackWithHistory.cc.
References geometryDiff::epsilon, momentum_, convertSQLiteXML::ok, and vertexPosition_.
Referenced by TrackingAction::PostUserTrackingAction().
|
inline |
Definition at line 38 of file TrackWithHistory.h.
References creatorProcess_.
Referenced by SimTrackManager::getOrCreateVertex().
|
inline |
Definition at line 55 of file TrackWithHistory.h.
References crossedBoundary_.
Referenced by G4SimTrack::copyCrossedBoundaryVars(), and CaloSD::findBoundaryCrossingParent().
|
private |
|
inline |
Definition at line 31 of file TrackWithHistory.h.
References genParticleID_.
Referenced by SimTrackManager::reallyStoreTracks(), and SimTrackManager::resetGenID().
|
inline |
Definition at line 58 of file TrackWithHistory.h.
References idAtBoundary_.
Referenced by G4SimTrack::copyCrossedBoundaryVars().
|
inline |
Definition at line 57 of file TrackWithHistory.h.
References momentumAtBoundary_.
Referenced by G4SimTrack::copyCrossedBoundaryVars().
|
inline |
Definition at line 56 of file TrackWithHistory.h.
References positionAtBoundary_.
Referenced by G4SimTrack::copyCrossedBoundaryVars().
|
inline |
Definition at line 35 of file TrackWithHistory.h.
References globalTime_.
Referenced by SimTrackManager::getOrCreateVertex().
|
inline |
|
inline |
Definition at line 32 of file TrackWithHistory.h.
References momentum_.
Referenced by CaloSD::createNewHit(), SimTrackManager::reallyStoreTracks(), and setCrossedBoundaryPosMom().
|
inline |
Definition at line 99 of file TrackWithHistory.h.
References fpTrackWithHistoryAllocator.
|
inline |
Definition at line 93 of file TrackWithHistory.h.
References fpTrackWithHistoryAllocator.
|
inline |
Definition at line 30 of file TrackWithHistory.h.
References parentID_.
Referenced by SimTrackManager::addTrack(), CaloSD::findBoundaryCrossingParent(), and SimTrackManager::reallyStoreTracks().
|
inline |
Definition at line 29 of file TrackWithHistory.h.
References particleID_.
Referenced by SimTrackManager::reallyStoreTracks().
|
inline |
|
inline |
Definition at line 27 of file TrackWithHistory.h.
References saved_.
Referenced by CaloSD::createNewHit(), CaloSD::findBoundaryCrossingParent(), TrackingAction::PostUserTrackingAction(), and TrackingAction::PreUserTrackingAction().
|
inline |
Definition at line 44 of file TrackWithHistory.h.
References saved_.
Referenced by SimTrackManager::cleanTracksWithHistory(), and TrackingAction::PostUserTrackingAction().
|
inline |
Definition at line 47 of file TrackWithHistory.h.
References crossedBoundary_, gpuClustering::id, idAtBoundary_, momentum(), momentumAtBoundary_, position, and positionAtBoundary_.
Referenced by TrackingAction::PostUserTrackingAction().
|
inline |
Definition at line 42 of file TrackWithHistory.h.
References genParticleID_, and mps_fire::i.
Referenced by SimTrackManager::resetGenID().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 33 of file TrackWithHistory.h.
References totalEnergy_.
Referenced by SimTrackManager::reallyStoreTracks().
|
inline |
Definition at line 28 of file TrackWithHistory.h.
References trackID_.
Referenced by SimTrackManager::addTrack(), SimTrackManager::cleanTracksWithHistory(), SimTrackManager::StrictWeakOrdering::operator()(), trkIDLess::operator()(), TrackingAction::PostUserTrackingAction(), SimTrackManager::reallyStoreTracks(), and CaloSD::update().
|
inline |
Definition at line 34 of file TrackWithHistory.h.
References vertexPosition_.
Referenced by SimTrackManager::getOrCreateVertex().
|
inline |
|
private |
Definition at line 77 of file TrackWithHistory.h.
Referenced by creatorProcess(), and TrackWithHistory().
|
private |
Definition at line 83 of file TrackWithHistory.h.
Referenced by crossedBoundary(), setCrossedBoundaryPosMom(), and TrackWithHistory().
|
private |
Definition at line 70 of file TrackWithHistory.h.
Referenced by genParticleID(), setGenParticleID(), and TrackWithHistory().
|
private |
Definition at line 74 of file TrackWithHistory.h.
Referenced by globalTime(), and TrackWithHistory().
|
private |
Definition at line 84 of file TrackWithHistory.h.
Referenced by getIDAtBoundary(), and setCrossedBoundaryPosMom().
|
private |
Definition at line 82 of file TrackWithHistory.h.
|
private |
Definition at line 75 of file TrackWithHistory.h.
Referenced by localTime(), and TrackWithHistory().
|
private |
Definition at line 71 of file TrackWithHistory.h.
Referenced by checkAtEnd(), momentum(), and TrackWithHistory().
|
private |
Definition at line 86 of file TrackWithHistory.h.
Referenced by getMomentumAtBoundary(), and setCrossedBoundaryPosMom().
|
private |
Definition at line 69 of file TrackWithHistory.h.
Referenced by parentID(), setParentID(), and TrackWithHistory().
|
private |
Definition at line 68 of file TrackWithHistory.h.
Referenced by particleID(), and TrackWithHistory().
|
private |
Definition at line 85 of file TrackWithHistory.h.
Referenced by getPositionAtBoundary(), and setCrossedBoundaryPosMom().
|
private |
Definition at line 76 of file TrackWithHistory.h.
Referenced by properTime(), and TrackWithHistory().
|
private |
Definition at line 80 of file TrackWithHistory.h.
Referenced by save(), saved(), and TrackWithHistory().
|
private |
Definition at line 79 of file TrackWithHistory.h.
Referenced by storeTrack(), and TrackWithHistory().
|
private |
Definition at line 72 of file TrackWithHistory.h.
Referenced by totalEnergy(), and TrackWithHistory().
|
private |
Definition at line 67 of file TrackWithHistory.h.
Referenced by setTrackID(), trackID(), and TrackWithHistory().
|
private |
Definition at line 73 of file TrackWithHistory.h.
Referenced by checkAtEnd(), TrackWithHistory(), and vertexPosition().
|
private |
Definition at line 78 of file TrackWithHistory.h.
Referenced by TrackWithHistory(), and weight().