#include <TrackWithHistory.h>
Public Member Functions | |
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 |
bool | saved () const |
void | setCrossedBoundaryPosMom (int id, const math::XYZTLorentzVectorF position, const math::XYZTLorentzVectorF momentum) |
void | setGenParticleID (int i) |
void | setParentID (int i) |
void | setToBeSaved () |
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 ()=default | |
Private Attributes | |
const G4VProcess * | creatorProcess_ |
bool | crossedBoundary_ {false} |
int | genParticleID_ {-1} |
double | globalTime_ |
int | idAtBoundary_ {-1} |
double | localTime_ |
math::XYZVectorD | momentum_ |
math::XYZTLorentzVectorF | momentumAtBoundary_ {math::XYZTLorentzVectorF(0.f, 0.f, 0.f, 0.f)} |
int | parentID_ |
int | particleID_ |
math::XYZTLorentzVectorF | positionAtBoundary_ {math::XYZTLorentzVectorF(0.f, 0.f, 0.f, 0.f)} |
double | properTime_ |
bool | saved_ {false} |
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 19 of file TrackWithHistory.cc.
References creatorProcess_, genParticleID_, globalTime_, localTime_, LogDebug, momentum_, parentID_, G4TrackToParticleID::particleID(), particleID_, properTime_, TrackInformation::storeTrack(), storeTrack_, totalEnergy_, trackID_, vertexPosition_, and weight_.
|
default |
|
inline |
Definition at line 38 of file TrackWithHistory.h.
References creatorProcess_.
Referenced by SimTrackManager::getOrCreateVertex().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 57 of file TrackWithHistory.h.
References momentumAtBoundary_.
|
inline |
Definition at line 56 of file TrackWithHistory.h.
References positionAtBoundary_.
|
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(), and setCrossedBoundaryPosMom().
|
inline |
Definition at line 90 of file TrackWithHistory.h.
References fpTrackWithHistoryAllocator.
|
inline |
Definition at line 84 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::saveTrackAndItsBranch().
|
inline |
|
inline |
|
inline |
Definition at line 44 of file TrackWithHistory.h.
References saved_.
Referenced by TrackingAction::PostUserTrackingAction().
|
inline |
Definition at line 47 of file TrackWithHistory.h.
References crossedBoundary_, l1ctLayer2EG_cff::id, idAtBoundary_, momentum(), momentumAtBoundary_, position, and positionAtBoundary_.
Referenced by TrackingAction::PostUserTrackingAction().
|
inline |
|
inline |
|
inline |
Definition at line 27 of file TrackWithHistory.h.
References saved_.
Referenced by CaloSD::createNewHit(), TrackingAction::PostUserTrackingAction(), TrackingAction::PreUserTrackingAction(), and SimTrackManager::saveTrackAndItsBranch().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 28 of file TrackWithHistory.h.
References trackID_.
Referenced by SimTrackManager::addTrack(), trkIDLess::operator()(), and CaloSD::update().
|
inline |
Definition at line 34 of file TrackWithHistory.h.
References vertexPosition_.
Referenced by SimTrackManager::getOrCreateVertex().
|
inline |
|
private |
Definition at line 71 of file TrackWithHistory.h.
Referenced by creatorProcess(), and TrackWithHistory().
|
private |
Definition at line 76 of file TrackWithHistory.h.
Referenced by crossedBoundary(), and setCrossedBoundaryPosMom().
|
private |
Definition at line 64 of file TrackWithHistory.h.
Referenced by genParticleID(), setGenParticleID(), and TrackWithHistory().
|
private |
Definition at line 68 of file TrackWithHistory.h.
Referenced by globalTime(), and TrackWithHistory().
|
private |
Definition at line 77 of file TrackWithHistory.h.
Referenced by getIDAtBoundary(), and setCrossedBoundaryPosMom().
|
private |
Definition at line 69 of file TrackWithHistory.h.
Referenced by localTime(), and TrackWithHistory().
|
private |
Definition at line 65 of file TrackWithHistory.h.
Referenced by momentum(), and TrackWithHistory().
|
private |
Definition at line 79 of file TrackWithHistory.h.
Referenced by getMomentumAtBoundary(), and setCrossedBoundaryPosMom().
|
private |
Definition at line 63 of file TrackWithHistory.h.
Referenced by parentID(), setParentID(), and TrackWithHistory().
|
private |
Definition at line 62 of file TrackWithHistory.h.
Referenced by particleID(), and TrackWithHistory().
|
private |
Definition at line 78 of file TrackWithHistory.h.
Referenced by getPositionAtBoundary(), and setCrossedBoundaryPosMom().
|
private |
Definition at line 70 of file TrackWithHistory.h.
Referenced by properTime(), and TrackWithHistory().
|
private |
Definition at line 74 of file TrackWithHistory.h.
Referenced by saved(), and setToBeSaved().
|
private |
Definition at line 73 of file TrackWithHistory.h.
Referenced by storeTrack(), and TrackWithHistory().
|
private |
Definition at line 66 of file TrackWithHistory.h.
Referenced by totalEnergy(), and TrackWithHistory().
|
private |
Definition at line 61 of file TrackWithHistory.h.
Referenced by setTrackID(), trackID(), and TrackWithHistory().
|
private |
Definition at line 67 of file TrackWithHistory.h.
Referenced by TrackWithHistory(), and vertexPosition().
|
private |
Definition at line 72 of file TrackWithHistory.h.
Referenced by TrackWithHistory(), and weight().