#include <SimTrack.h>
Public Types | |
typedef CoreSimTrack | Core |
Public Member Functions | |
int | genpartIndex () const |
index of the corresponding Generator particle in the Event container (-1 if no Genpart) More... | |
bool | noGenpart () const |
bool | noVertex () const |
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 |
particle info... More... | |
void | setEventId (EncodedEventId e) |
void | setTrackId (unsigned int t) |
unsigned int | trackId () const |
int | type () const |
particle type (HEP PDT convension) More... | |
Private Attributes | |
int | igenpart |
int | ivert |
math::XYZTLorentzVectorD | tkmomentum |
math::XYZVectorD | tkposition |
Definition at line 6 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 10 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 15 of file SimTrack.cc.
SimTrack::SimTrack | ( | const CoreSimTrack & | t, |
int | iv, | ||
int | ig | ||
) |
|
inline |
index of the corresponding Generator particle in the Event container (-1 if no Genpart)
Definition at line 33 of file SimTrack.h.
References igenpart.
Referenced by FBaseSimEvent::addSimTrack(), ValidationMisalignedTracker::analyze(), FBaseSimEvent::fill(), TrackDetectorAssociator::fillCaloTruth(), pat::PATGenCandsFromSimTracksProducer::findGeantMother(), pat::PATGenCandsFromSimTracksProducer::findRef(), JetMatchingTools::generatorId(), pat::PATGenCandsFromSimTracksProducer::generatorRef_(), and operator<<().
|
inline |
Definition at line 34 of file SimTrack.h.
References igenpart.
Referenced by JetMatchingTools::generatorId().
|
inline |
Definition at line 30 of file SimTrack.h.
References ivert.
Referenced by pat::GenPlusSimParticleProducer::addGenParticle(), FWSimTrackProxyBuilder::build(), pat::PATGenCandsFromSimTracksProducer::findGeantMother(), JetMatchingTools::generatorId(), pat::PATGenCandsFromSimTracksProducer::makeGenParticle_(), and PropagateToMuon::startingState().
|
inline |
Definition at line 42 of file SimTrack.h.
References tkmomentum.
Referenced by CalorimetryManager::MuonMipSimulation(), and TrajectoryManager::propagateToCalorimeters().
|
inline |
Definition at line 40 of file SimTrack.h.
References tkposition.
Referenced by CalorimetryManager::MuonMipSimulation(), and TrajectoryManager::propagateToCalorimeters().
|
inline |
|
inline |
Definition at line 38 of file SimTrack.h.
References tkmomentum.
Referenced by FWSimTrackProxyBuilder::build(), FBaseSimEvent::fill(), TrackCandidateProducer::produce(), MuonSimHitProducer::produce(), and FastTSGFromPropagation::trackerSeeds().
|
inline |
Definition at line 36 of file SimTrack.h.
References tkposition.
Referenced by FWSimTrackProxyBuilder::build(), FBaseSimEvent::fill(), TrackCandidateProducer::produce(), MuonSimHitProducer::produce(), and FastTSGFromPropagation::trackerSeeds().
|
inline |
index of the vertex in the Event container (-1 if no vertex)
Definition at line 29 of file SimTrack.h.
References ivert.
Referenced by pat::GenPlusSimParticleProducer::addGenParticle(), FWSimTrackProxyBuilder::build(), FBaseSimEvent::fill(), ElectronMCTruthFinder::find(), PhotonMCTruthFinder::find(), pat::PATGenCandsFromSimTracksProducer::findGeantMother(), JetMatchingTools::generatorId(), pat::PATGenCandsFromSimTracksProducer::makeGenParticle_(), operator<<(), TrajectorySeedProducer::produce(), MuonSimHitProducer::produce(), and PropagateToMuon::startingState().
|
private |
Definition at line 49 of file SimTrack.h.
Referenced by genpartIndex(), and noGenpart().
|
private |
Definition at line 48 of file SimTrack.h.
Referenced by noVertex(), setVertexIndex(), and vertIndex().
|
private |
Definition at line 52 of file SimTrack.h.
Referenced by setTkMomentum(), and trackerSurfaceMomentum().
|
private |
Definition at line 51 of file SimTrack.h.
Referenced by setTkPosition(), and trackerSurfacePosition().