#include <SimTrack.h>
Public Types | |
typedef CoreSimTrack | Core |
Public Member Functions | |
bool | crossedBoundary () const |
int | genpartIndex () const |
index of the corresponding Generator particle in the Event container (-1 if no Genpart) More... | |
int | getIDAtBoundary () const |
const math::XYZTLorentzVectorF & | getMomentumAtBoundary () const |
const math::XYZTLorentzVectorF & | getPositionAtBoundary () const |
bool | noGenpart () const |
bool | noVertex () const |
void | setCrossedBoundaryVars (bool crossedBoundary, int idAtBoundary, math::XYZTLorentzVectorF positionAtBoundary, math::XYZTLorentzVectorF momentumAtBoundary) |
void | setTkMomentum (const math::XYZTLorentzVectorD &mom) |
void | setTkPosition (const math::XYZVectorD &pos) |
void | setVertexIndex (const int v) |
SimTrack () | |
constructor More... | |
SimTrack (int ipart, const math::XYZTLorentzVectorD &p) | |
SimTrack (int ipart, const math::XYZTLorentzVectorD &p, int iv, int ig) | |
SimTrack (int ipart, const math::XYZTLorentzVectorD &p, int iv, int ig, const math::XYZVectorD &tkp, const math::XYZTLorentzVectorD &tkm) | |
SimTrack (const CoreSimTrack &t, int iv, int ig) | |
constructor from transient More... | |
const math::XYZTLorentzVectorD & | trackerSurfaceMomentum () const |
const math::XYZVectorD & | trackerSurfacePosition () const |
int | vertIndex () const |
index of the vertex in the Event container (-1 if no vertex) More... | |
Public Member Functions inherited from CoreSimTrack | |
float | charge () const |
charge More... | |
CoreSimTrack () | |
constructors More... | |
CoreSimTrack (int ipart, const math::XYZTLorentzVectorD &p) | |
CoreSimTrack (int ipart, math::XYZVectorD &ip, double ie) | |
EncodedEventId | eventId () const |
const math::XYZTLorentzVectorD & | momentum () const |
void | setEventId (EncodedEventId e) |
void | setTrackId (unsigned int t) |
unsigned int | trackId () const |
int | type () const |
particle type (HEP PDT convension) More... | |
Private Attributes | |
bool | crossedBoundary_ |
int | idAtBoundary_ |
int | igenpart |
int | ivert |
math::XYZTLorentzVectorF | momentumAtBoundary_ |
math::XYZTLorentzVectorF | positionAtBoundary_ |
math::XYZTLorentzVectorD | tkmomentum |
math::XYZVectorD | tkposition |
Definition at line 9 of file SimTrack.h.
typedef CoreSimTrack SimTrack::Core |
Definition at line 11 of file SimTrack.h.
SimTrack::SimTrack | ( | ) |
SimTrack::SimTrack | ( | int | ipart, |
const math::XYZTLorentzVectorD & | p | ||
) |
Definition at line 5 of file SimTrack.cc.
SimTrack::SimTrack | ( | int | ipart, |
const math::XYZTLorentzVectorD & | p, | ||
int | iv, | ||
int | ig | ||
) |
full constructor (pdg type, momentum, time, index of parent vertex in final vector index of corresponding gen part in final vector)
Definition at line 8 of file SimTrack.cc.
SimTrack::SimTrack | ( | int | ipart, |
const math::XYZTLorentzVectorD & | p, | ||
int | iv, | ||
int | ig, | ||
const math::XYZVectorD & | tkp, | ||
const math::XYZTLorentzVectorD & | tkm | ||
) |
Definition at line 11 of file SimTrack.cc.
SimTrack::SimTrack | ( | const CoreSimTrack & | t, |
int | iv, | ||
int | ig | ||
) |
|
inline |
Definition at line 59 of file SimTrack.h.
References crossedBoundary_.
Referenced by setCrossedBoundaryVars().
|
inline |
index of the corresponding Generator particle in the Event container (-1 if no Genpart)
Definition at line 37 of file SimTrack.h.
References igenpart.
Referenced by FBaseSimEvent::addSimTrack(), ValidationMisalignedTracker::analyze(), FBaseSimEvent::fill(), pat::PATGenCandsFromSimTracksProducer::findGeantMother(), pat::PATGenCandsFromSimTracksProducer::findRef(), and pat::PATGenCandsFromSimTracksProducer::generatorRef_().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 38 of file SimTrack.h.
References igenpart.
Referenced by CaloTruthAccumulator::accumulateEvent().
|
inline |
Definition at line 34 of file SimTrack.h.
References ivert.
Referenced by pat::GenPlusSimParticleProducer::addGenParticle(), FWSimTrackProxyBuilder::build(), pat::PATGenCandsFromSimTracksProducer::findGeantMother(), MuonSimHitMatcher::getIdsOfSimTrackShower(), pat::PATGenCandsFromSimTracksProducer::makeGenParticle_(), and PropagateToMuon::startingState().
|
inline |
Definition at line 50 of file SimTrack.h.
References crossedBoundary(), crossedBoundary_, idAtBoundary_, momentumAtBoundary_, and positionAtBoundary_.
|
inline |
Definition at line 46 of file SimTrack.h.
References tkmomentum.
Referenced by CalorimetryManager::MuonMipSimulation(), and TrajectoryManager::propagateToCalorimeters().
|
inline |
Definition at line 44 of file SimTrack.h.
References tkposition.
Referenced by CalorimetryManager::MuonMipSimulation(), and TrajectoryManager::propagateToCalorimeters().
|
inline |
|
inline |
Definition at line 42 of file SimTrack.h.
References tkmomentum.
Referenced by FWSimTrackProxyBuilder::build(), FBaseSimEvent::fill(), MuonSimHitProducer::produce(), and FastTSGFromPropagation::trackerSeeds().
|
inline |
Definition at line 40 of file SimTrack.h.
References tkposition.
Referenced by FWSimTrackProxyBuilder::build(), FBaseSimEvent::fill(), MuonSimHitProducer::produce(), and FastTSGFromPropagation::trackerSeeds().
|
inline |
index of the vertex in the Event container (-1 if no vertex)
Definition at line 33 of file SimTrack.h.
References ivert.
Referenced by pat::GenPlusSimParticleProducer::addGenParticle(), TestPythiaDecays::analyze(), FWSimTrackProxyBuilder::build(), JetCoreMCtruthSeedGenerator::coreTracksFilling(), JetCoreMCtruthSeedGenerator::coreTracksFillingDeltaR(), FBaseSimEvent::fill(), ElectronMCTruthFinder::find(), PhotonMCTruthFinder::find(), pat::PATGenCandsFromSimTracksProducer::findGeantMother(), MuonSimHitMatcher::getIdsOfSimTrackShower(), phase2tkutil::isPrimary(), Phase2TrackerValidateDigi::isPrimary(), pat::PATGenCandsFromSimTracksProducer::makeGenParticle_(), MuonSimHitProducer::produce(), and PropagateToMuon::startingState().
|
private |
Definition at line 71 of file SimTrack.h.
Referenced by crossedBoundary(), and setCrossedBoundaryVars().
|
private |
Definition at line 72 of file SimTrack.h.
Referenced by getIDAtBoundary(), and setCrossedBoundaryVars().
|
private |
Definition at line 66 of file SimTrack.h.
Referenced by genpartIndex(), and noGenpart().
|
private |
Definition at line 65 of file SimTrack.h.
Referenced by noVertex(), setVertexIndex(), and vertIndex().
|
private |
Definition at line 74 of file SimTrack.h.
Referenced by getMomentumAtBoundary(), and setCrossedBoundaryVars().
|
private |
Definition at line 73 of file SimTrack.h.
Referenced by getPositionAtBoundary(), and setCrossedBoundaryVars().
|
private |
Definition at line 69 of file SimTrack.h.
Referenced by setTkMomentum(), and trackerSurfaceMomentum().
|
private |
Definition at line 68 of file SimTrack.h.
Referenced by setTkPosition(), and trackerSurfacePosition().