#include <FastSimulation/Event/interface/FSimVertex.h>
Public Member Functions | |
void | addDaughter (int i) |
const FSimTrack & | daughter (int i) const |
ith daughter | |
const std::vector< int > & | daughters () const |
The vector of daughter indices. | |
FSimVertex (const math::XYZTLorentzVector &v, int im, int id, FBaseSimEvent *mom) | |
constructor from the embedded vertex index in the FBaseSimEvent | |
FSimVertex () | |
Default constructor. | |
int | id () const |
the index in FBaseSimEvent | |
int | nDaughters () const |
The number of daughters. | |
bool | noDaughter () const |
no Daughters | |
const FSimTrack & | parent () const |
parent track | |
const math::XYZTLorentzVector & | position () const |
Temporary (until CMSSW moves to Mathcore). | |
const SimVertex & | simVertex () const |
Simply returns the SimVertex. | |
Private Attributes | |
std::vector< int > | daugh_ |
int | id_ |
const FBaseSimEvent * | mom_ |
math::XYZTLorentzVector | position_ |
Essentially an interface to SimVertex.
Definition at line 19 of file FSimVertex.h.
FSimVertex::FSimVertex | ( | ) |
FSimVertex::FSimVertex | ( | const math::XYZTLorentzVector & | v, | |
int | im, | |||
int | id, | |||
FBaseSimEvent * | mom | |||
) |
constructor from the embedded vertex index in the FBaseSimEvent
Definition at line 46 of file FSimVertex.h.
References daugh_.
Referenced by FBaseSimEvent::addSimTrack().
const std::vector<int>& FSimVertex::daughters | ( | ) | const [inline] |
The vector of daughter indices.
Definition at line 32 of file FSimVertex.h.
References daugh_.
00032 { return daugh_; }
the index in FBaseSimEvent
Definition at line 44 of file FSimVertex.h.
References id_.
Referenced by operator<<().
00044 { return id_; }
int FSimVertex::nDaughters | ( | ) | const [inline] |
The number of daughters.
Definition at line 35 of file FSimVertex.h.
References daugh_.
Referenced by noDaughter().
00035 { return daugh_.size(); }
bool FSimVertex::noDaughter | ( | ) | const [inline] |
no Daughters
Definition at line 41 of file FSimVertex.h.
References nDaughters().
00041 { return !nDaughters(); }
const FSimTrack& FSimVertex::parent | ( | ) | const [inline] |
parent track
const math::XYZTLorentzVector& FSimVertex::position | ( | ) | const [inline] |
Temporary (until CMSSW moves to Mathcore).
Reimplemented from CoreSimVertex.
Definition at line 49 of file FSimVertex.h.
References position_.
Referenced by EcalHitMaker::buildSegments(), EcalHitMaker::cellLine(), FBaseSimEvent::fill(), MaterialEffects::interact(), TrajectoryManager::makeSinglePSimHit(), operator<<(), ParticlePropagator::ParticlePropagator(), and PFSimParticleProducer::produce().
00049 { return position_; }
const SimVertex& FSimVertex::simVertex | ( | ) | const [inline] |
std::vector<int> FSimVertex::daugh_ [private] |
Definition at line 58 of file FSimVertex.h.
Referenced by addDaughter(), daughters(), and nDaughters().
int FSimVertex::id_ [private] |
const FBaseSimEvent* FSimVertex::mom_ [private] |
Definition at line 56 of file FSimVertex.h.
math::XYZTLorentzVector FSimVertex::position_ [private] |