#include <SimVertex.h>
Public Types | |
typedef CoreSimVertex | Core |
Public Member Functions | |
bool | noParent () const |
int | parentIndex () const |
void | setVertexId (unsigned int n) |
SimVertex (const CoreSimVertex &t, int it) | |
constructor from transient | |
SimVertex () | |
constructor | |
SimVertex (const math::XYZVectorD &v, float tof, int it, unsigned int vId) | |
full constructor (position, time, index of parent in final vector) | |
SimVertex (const math::XYZVectorD &v, float tof, unsigned int vId) | |
SimVertex (const CoreSimVertex &t, int it, unsigned int vId) | |
constructor from transient | |
SimVertex (const math::XYZVectorD &v, float tof, int it) | |
full constructor (position, time, index of parent in final vector) | |
SimVertex (const math::XYZVectorD &v, float tof) | |
unsigned int | vertexId () const |
Private Attributes | |
int | itrack |
unsigned int | vtxId |
Definition at line 5 of file SimVertex.h.
typedef CoreSimVertex SimVertex::Core |
Definition at line 10 of file SimVertex.h.
SimVertex::SimVertex | ( | ) |
SimVertex::SimVertex | ( | const CoreSimVertex & | t, |
int | it | ||
) |
SimVertex::SimVertex | ( | const math::XYZVectorD & | v, |
float | tof | ||
) |
SimVertex::SimVertex | ( | const math::XYZVectorD & | v, |
float | tof, | ||
int | it | ||
) |
SimVertex::SimVertex | ( | const CoreSimVertex & | t, |
int | it, | ||
unsigned int | vId | ||
) |
SimVertex::SimVertex | ( | const math::XYZVectorD & | v, |
float | tof, | ||
unsigned int | vId | ||
) |
SimVertex::SimVertex | ( | const math::XYZVectorD & | v, |
float | tof, | ||
int | it, | ||
unsigned int | vId | ||
) |
bool SimVertex::noParent | ( | ) | const [inline] |
Definition at line 34 of file SimVertex.h.
References itrack.
Referenced by pat::GenPlusSimParticleProducer::addGenParticle(), TrackingTruthProducer::createTrackingTruth(), FBaseSimEvent::fill(), pat::PATGenCandsFromSimTracksProducer::findGeantMother(), JetMatchingTools::generatorId(), and pat::GenPlusSimParticleProducer::produce().
{ return itrack==-1; }
int SimVertex::parentIndex | ( | ) | const [inline] |
G4 TrackId of the parent in the Event SimTrack container (-1 if no parent) BE CAREFUL this is not a vector index
Definition at line 33 of file SimVertex.h.
References itrack.
Referenced by pat::GenPlusSimParticleProducer::addGenParticle(), edm::TestMix::analyze(), TrackingTruthProducer::createTrackingTruth(), FBaseSimEvent::fill(), PizeroMCTruthFinder::find(), ElectronMCTruthFinder::find(), PhotonMCTruthFinder::find(), pat::PATGenCandsFromSimTracksProducer::findGeantMother(), ContainmentCorrectionAnalyzer::findMcTruth(), JetMatchingTools::generatorId(), operator<<(), and pat::GenPlusSimParticleProducer::produce().
{ return itrack; }
void SimVertex::setVertexId | ( | unsigned int | n | ) | [inline] |
unsigned int SimVertex::vertexId | ( | ) | const [inline] |
Definition at line 37 of file SimVertex.h.
References vtxId.
Referenced by operator<<().
{ return vtxId; }
int SimVertex::itrack [private] |
Definition at line 40 of file SimVertex.h.
Referenced by noParent(), and parentIndex().
unsigned int SimVertex::vtxId [private] |
Definition at line 41 of file SimVertex.h.
Referenced by setVertexId(), and vertexId().