Go to the documentation of this file. 1 #ifndef FastSimulation_Event_FSimTrack_H
2 #define FastSimulation_Event_FSimTrack_H
78 inline const std::vector<int>&
daughters()
const;
96 inline int id()
const {
return id_; }
264 #include "FastSimulation/Event/interface/FSimTrack.icc"
266 #endif // FSimTrack_H
RawParticle Layer1_Entrance
void setMomentum(const math::XYZTLorentzVector &newMomentum)
Reset the momentum (to be used with care)
float charge() const
charge
int nDaughters() const
Number of daughters.
const FSimTrack & mother() const
mother
const SimTrack & simTrack() const
Simply returns the SimTrack.
void setLayer1(const RawParticle &pp, int success)
Set the preshower layer1 variables.
void setEcal(const RawParticle &pp, int success)
Set the ecal variables.
void setEndVertex(int endv)
Set the end vertex.
bool isGlobal() const
particle did not decay before more detectors (useful for newProducer)
const HepMC::GenParticle * genParticle() const
The original GenParticle.
const RawParticle & hoEntrance() const
The particle at HCAL exir.
bool propagated() const
The particle was tentatively propagated to calorimeters.
const RawParticle & layer1Entrance() const
The particle at Preshower Layer 1.
void setOriginVertex(const SimVertex &v)
Set origin vertex.
double decayTime() const
Return the pre-defined decay time.
const FSimVertex & endVertex() const
end vertex
RawParticle ECAL_Entrance
const std::vector< int > & daughters() const
Vector of daughter indices.
const RawParticle & layer2Entrance() const
The particle at Preshower Layer 2.
math::XYZTLorentzVector XYZTLorentzVector
void setVFcal(const RawParticle &pp, int success)
Set the hcal variables.
HepPDT::ParticleData ParticleData
int closestDaughterId() const
Get the index of the closest charged daughter.
void setGlobal()
particle did not decay before more detectors (useful for newProducer)
const RawParticle & vfcalEntrance() const
The particle at VFCAL entrance.
const HepPDT::ParticleData * particleInfo() const
particle info...
const RawParticle & hcalEntrance() const
The particle at HCAL entrance.
const HepPDT::ParticleData * info_
const RawParticle & ecalEntrance() const
The particle at ECAL entrance.
std::ostream & operator<<(std::ostream &o, const FSimTrack &t)
void addDaughter(int i)
Add a RecHit for a track on a layer.
int id() const
the index in FBaseSimEvent and other vectors
XYZTLorentzVector momentum_
const FSimVertex vertex() const
Origin vertex.
RawParticle Layer2_Entrance
bool noDaughter() const
no daughters
std::vector< int > daugh_
virtual ~FSimTrack()
Destructor.
const FSimTrack & daughter(int i) const
Ith daughter.
const XYZTLorentzVector & momentum() const
Temporary (until move of SimTrack to Mathcore) - No! Actually very useful.
FSimTrack()
Default constructor.
RawParticle VFCAL_Entrance
const RawParticle & hcalExit() const
The particle at HCAL exir.
void setHO(const RawParticle &pp, int success)
Set the ho variables.
bool noEndVertex() const
no end vertex
void setHcal(const RawParticle &pp, int success)
Set the hcal variables.
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
void setClosestDaughterId(int id)
Set the index of the closest charged daughter.
void setHcalExit(const RawParticle &pp, int success)
Set the hcal exit variables.
bool notYetToEndVertex(const XYZTLorentzVector &pos) const
Compare the end vertex position with another position.
bool noMother() const
no mother particle
void setPropagate()
The particle has been propgated through the tracker.
void setLayer2(const RawParticle &pp, int success)
Set the preshower layer2 variables.
RawParticle HCAL_Entrance