#include <FSimVertex.h>
Public Member Functions | |
void | addDaughter (int i) |
const FSimTrack & | daughter (int i) const |
ith daughter More... | |
const std::vector< int > & | daughters () const |
The vector of daughter indices. More... | |
FSimVertex () | |
Default constructor. More... | |
FSimVertex (const math::XYZTLorentzVector &v, int im, int id, FBaseSimEvent *mom) | |
constructor from the embedded vertex index in the FBaseSimEvent More... | |
int | id () const |
the index in FBaseSimEvent More... | |
int | nDaughters () const |
The number of daughters. More... | |
bool | noDaughter () const |
no Daughters More... | |
const FSimTrack & | parent () const |
parent track More... | |
const math::XYZTLorentzVector & | position () const |
Temporary (until CMSSW moves to Mathcore) - No ! Actually very useful. More... | |
void | setPosition (const math::XYZTLorentzVector &newPosition) |
Reset the position (to be used with care) More... | |
const SimVertex & | simVertex () const |
Simply returns the SimVertex. More... | |
Public Member Functions inherited from SimVertex | |
bool | noParent () const |
int | parentIndex () const |
unsigned int | processType () const |
void | setProcessType (unsigned int ty) |
void | setVertexId (unsigned int n) |
SimVertex () | |
constructor More... | |
SimVertex (const CoreSimVertex &t, int it) | |
constructor from transient More... | |
SimVertex (const CoreSimVertex &t, int it, unsigned int vId) | |
constructor from transient More... | |
SimVertex (const math::XYZVectorD &v, float tof) | |
SimVertex (const math::XYZVectorD &v, float tof, int it) | |
full constructor (position, time, index of parent in final vector) More... | |
SimVertex (const math::XYZVectorD &v, float tof, int it, unsigned int vId) | |
full constructor (position, time, index of parent in final vector) More... | |
SimVertex (const math::XYZVectorD &v, float tof, unsigned int vId) | |
unsigned int | vertexId () const |
Public Member Functions inherited from CoreSimVertex | |
CoreSimVertex () | |
constructors More... | |
CoreSimVertex (const math::XYZTLorentzVectorD &v) | |
CoreSimVertex (const math::XYZVectorD &v, float tof) | |
EncodedEventId | eventId () const |
const math::XYZTLorentzVectorD & | position () const |
void | setEventId (EncodedEventId e) |
void | setTof (float tof) |
Private Attributes | |
std::vector< int > | daugh_ |
int | id_ |
const FBaseSimEvent * | mom_ |
math::XYZTLorentzVector | position_ |
Additional Inherited Members | |
Public Types inherited from SimVertex | |
typedef CoreSimVertex | Core |
A class that mimics SimVertex, with enhanced features. Essentially an interface to SimVertex.
Definition at line 19 of file FSimVertex.h.
FSimVertex::FSimVertex | ( | ) |
Default constructor.
Definition at line 4 of file FSimVertex.cc.
FSimVertex::FSimVertex | ( | const math::XYZTLorentzVector & | v, |
int | im, | ||
int | id, | ||
FBaseSimEvent * | mom | ||
) |
|
inline |
Definition at line 45 of file FSimVertex.h.
References daugh_, and mps_fire::i.
Referenced by FBaseSimEvent::addSimTrack().
|
inline |
ith daughter
|
inline |
|
inline |
the index in FBaseSimEvent
Definition at line 43 of file FSimVertex.h.
References id_.
Referenced by TrajectoryManager::updateWithDaughters().
|
inline |
The number of daughters.
Definition at line 34 of file FSimVertex.h.
References daugh_.
Referenced by noDaughter().
|
inline |
|
inline |
parent track
|
inline |
Temporary (until CMSSW moves to Mathcore) - No ! Actually very useful.
Definition at line 48 of file FSimVertex.h.
References position_.
Referenced by FBaseSimEvent::addParticles(), EcalHitMaker::buildSegments(), EcalHitMaker::cellLine(), FBaseSimEvent::fill(), MaterialEffects::interact(), TrajectoryManager::makeSinglePSimHit(), and PFSimParticleProducer::produce().
|
inline |
Reset the position (to be used with care)
Definition at line 51 of file FSimVertex.h.
References position_.
Referenced by TrajectoryManager::updateWithDaughters().
|
inline |
|
private |
Definition at line 59 of file FSimVertex.h.
Referenced by addDaughter(), daughters(), and nDaughters().
|
private |
Definition at line 58 of file FSimVertex.h.
Referenced by id().
|
private |
Definition at line 57 of file FSimVertex.h.
|
private |
Definition at line 61 of file FSimVertex.h.
Referenced by position(), and setPosition().