#include <TrackWithHistory.h>
Private Attributes | |
bool | crossedBoundary_ {false} |
int | genParticleID_ {-1} |
int | idAtBoundary_ {-1} |
math::XYZVectorD | momentum_ |
math::XYZTLorentzVectorF | momentumAtBoundary_ {math::XYZTLorentzVectorF(0.f, 0.f, 0.f, 0.f)} |
int | parentID_ |
int | pdgID_ |
math::XYZTLorentzVectorF | positionAtBoundary_ {math::XYZTLorentzVectorF(0.f, 0.f, 0.f, 0.f)} |
int | procType_ {0} |
bool | saved_ {false} |
bool | storeTrack_ {false} |
double | time_ |
math::XYZTLorentzVectorD | tkSurfaceMomentum_ {math::XYZTLorentzVectorD(0., 0., 0., 0.)} |
math::XYZVectorD | tkSurfacePosition_ {math::XYZVectorD(0., 0., 0.)} |
double | totalEnergy_ |
int | trackID_ |
int | vertexID_ {-1} |
math::XYZVectorD | vertexPosition_ |
double | weight_ |
The part of the information about a SimTrack that we need from a G4Track
Definition at line 15 of file TrackWithHistory.h.
TrackWithHistory::TrackWithHistory | ( | const G4Track * | g4track, |
int | pID | ||
) |
The constructor is called at time, when some of the information may not available yet.
Definition at line 17 of file TrackWithHistory.cc.
References genParticleID_, momentum_, AlCaHLTBitMon_ParallelJobs::p, parentID_, G4TrackToParticleID::particleID(), pdgID_, procType_, TrackInformation::storeTrack(), storeTrack_, time_, totalEnergy_, trackID_, vertexPosition_, and weight_.
TrackWithHistory::TrackWithHistory | ( | const G4PrimaryParticle * | ptr, |
int | trackID, | ||
const math::XYZVectorD & | pos, | ||
const double | time | ||
) |
Definition at line 43 of file TrackWithHistory.cc.
References genParticleID_, momentum_, parentID_, G4TrackToParticleID::particleID(), pdgID_, storeTrack_, time(), time_, totalEnergy_, trackID(), trackID_, vertexPosition_, and weight_.
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 61 of file TrackWithHistory.h.
References momentumAtBoundary_.
|
inline |
Definition at line 60 of file TrackWithHistory.h.
References positionAtBoundary_.
|
inline |
Definition at line 48 of file TrackWithHistory.h.
References momentum_.
Referenced by CaloSD::createNewHit(), and setCrossedBoundaryPosMom().
|
inline |
Definition at line 101 of file TrackWithHistory.h.
References fpTrackWithHistoryAllocator.
|
inline |
Definition at line 95 of file TrackWithHistory.h.
References fpTrackWithHistoryAllocator.
|
inline |
Definition at line 29 of file TrackWithHistory.h.
References parentID_.
Referenced by SimTrackManager::addTrack(), CaloSD::findBoundaryCrossingParent(), and SimTrackManager::saveTrackAndItsBranch().
|
inline |
|
inline |
Definition at line 32 of file TrackWithHistory.h.
References procType_.
Referenced by SimTrackManager::getOrCreateVertex().
|
inline |
Definition at line 45 of file TrackWithHistory.h.
References saved_.
Referenced by TrackingAction::PostUserTrackingAction().
|
inline |
Definition at line 52 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 66 of file TrackWithHistory.h.
References tkSurfaceMomentum_, and tkSurfacePosition_.
|
inline |
Definition at line 43 of file TrackWithHistory.h.
References saved_.
Referenced by CaloSD::createNewHit(), TrackingAction::PostUserTrackingAction(), TrackingAction::PreUserTrackingAction(), and SimTrackManager::saveTrackAndItsBranch().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 41 of file TrackWithHistory.h.
References time_.
Referenced by SimTrackManager::getOrCreateVertex(), and TrackWithHistory().
|
inline |
|
inline |
Definition at line 65 of file TrackWithHistory.h.
References tkSurfaceMomentum_.
|
inline |
Definition at line 64 of file TrackWithHistory.h.
References tkSurfacePosition_.
|
inline |
Definition at line 27 of file TrackWithHistory.h.
References trackID_.
Referenced by SimTrackManager::addTrack(), trkIDLess::operator()(), TrackWithHistory(), and CaloSD::update().
|
inline |
|
inline |
Definition at line 49 of file TrackWithHistory.h.
References vertexPosition_.
Referenced by SimTrackManager::getOrCreateVertex().
|
inline |
|
private |
Definition at line 90 of file TrackWithHistory.h.
Referenced by crossedBoundary(), and setCrossedBoundaryPosMom().
|
private |
Definition at line 75 of file TrackWithHistory.h.
Referenced by genParticleID(), setGenParticleID(), and TrackWithHistory().
|
private |
Definition at line 77 of file TrackWithHistory.h.
Referenced by getIDAtBoundary(), and setCrossedBoundaryPosMom().
|
private |
Definition at line 82 of file TrackWithHistory.h.
Referenced by momentum(), and TrackWithHistory().
|
private |
Definition at line 85 of file TrackWithHistory.h.
Referenced by getMomentumAtBoundary(), and setCrossedBoundaryPosMom().
|
private |
Definition at line 74 of file TrackWithHistory.h.
Referenced by parentID(), setParentID(), and TrackWithHistory().
|
private |
Definition at line 73 of file TrackWithHistory.h.
Referenced by particleID(), and TrackWithHistory().
|
private |
Definition at line 84 of file TrackWithHistory.h.
Referenced by getPositionAtBoundary(), and setCrossedBoundaryPosMom().
|
private |
Definition at line 78 of file TrackWithHistory.h.
Referenced by processType(), and TrackWithHistory().
|
private |
Definition at line 89 of file TrackWithHistory.h.
Referenced by saved(), and setToBeSaved().
|
private |
Definition at line 88 of file TrackWithHistory.h.
Referenced by storeTrack(), and TrackWithHistory().
|
private |
Definition at line 80 of file TrackWithHistory.h.
Referenced by time(), and TrackWithHistory().
|
private |
Definition at line 87 of file TrackWithHistory.h.
Referenced by setSurfacePosMom(), and trackerSurfaceMomentum().
|
private |
Definition at line 86 of file TrackWithHistory.h.
Referenced by setSurfacePosMom(), and trackerSurfacePosition().
|
private |
Definition at line 79 of file TrackWithHistory.h.
Referenced by totalEnergy(), and TrackWithHistory().
|
private |
Definition at line 72 of file TrackWithHistory.h.
Referenced by setTrackID(), trackID(), and TrackWithHistory().
|
private |
Definition at line 76 of file TrackWithHistory.h.
Referenced by setVertexID(), and vertexID().
|
private |
Definition at line 83 of file TrackWithHistory.h.
Referenced by TrackWithHistory(), and vertexPosition().
|
private |
Definition at line 81 of file TrackWithHistory.h.
Referenced by TrackWithHistory(), and weight().