#include <SimDataFormats/Vertex/interface/SimVertex.h>
Public Types | |
typedef CoreSimVertex | Core |
Public Member Functions | |
bool | noParent () const |
int | parentIndex () const |
G4 TrackId of the parent in the Event SimTrack container (-1 if no parent) BE CAREFUL this is not a vector index. | |
SimVertex (const CoreSimVertex &t, int it) | |
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) | |
SimVertex () | |
constructor | |
Private Attributes | |
int | itrack |
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 math::XYZVectorD & | v, | |
float | tof | |||
) |
SimVertex::SimVertex | ( | const math::XYZVectorD & | v, | |
float | tof, | |||
int | it | |||
) |
SimVertex::SimVertex | ( | const CoreSimVertex & | t, | |
int | it | |||
) |
bool SimVertex::noParent | ( | ) | const [inline] |
Definition at line 24 of file SimVertex.h.
References itrack.
Referenced by FBaseSimEvent::fill(), pat::PATGenCandsFromSimTracksProducer::findGeantMother(), and JetMatchingTools::generatorId().
00024 { 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 23 of file SimVertex.h.
References itrack.
Referenced by FBaseSimEvent::fill(), PizeroMCTruthFinder::find(), ElectronMCTruthFinder::find(), PhotonMCTruthFinder::find(), pat::PATGenCandsFromSimTracksProducer::findGeantMother(), JetMatchingTools::generatorId(), and operator<<().
00023 { return itrack; }
int SimVertex::itrack [private] |