1 #ifndef FastSimulation_Event_FSimTrack_H 2 #define FastSimulation_Event_FSimTrack_H 48 return particleInfo()->charge();
65 inline int nDaughters()
const;
68 inline const std::vector<int>&
daughters()
const;
71 inline bool noEndVertex()
const;
77 inline bool noMother()
const;
80 inline bool noDaughter()
const;
86 inline int id()
const {
return id_; }
116 inline int outHcal()
const {
return hcalexit; }
121 inline int onHO()
const {
return hoentr; }
157 void setLayer2(
const RawParticle& pp,
int success);
169 void setHcalExit(
const RawParticle& pp,
int success);
199 inline double decayTime()
const {
return properDecayTime; }
245 #include "FastSimulation/Event/interface/FSimTrack.icc" 249 #endif // FSimTrack_H
float charge() const
charge
const SimTrack & simTrack() const
Simply returns the SimTrack.
const HepPDT::ParticleData * particleInfo() const
particle info...
const RawParticle & vfcalEntrance() const
The particle at VFCAL entrance.
const RawParticle & hoEntrance() const
The particle at HCAL exir.
const RawParticle & hcalExit() const
The particle at HCAL exir.
RawParticle Layer1_Entrance
const HepPDT::ParticleData * info_
RawParticle VFCAL_Entrance
const XYZTLorentzVector & momentum() const
Temporary (until move of SimTrack to Mathcore) - No! Actually very useful.
const RawParticle & layer1Entrance() const
The particle at Preshower Layer 1.
void setClosestDaughterId(int id)
Set the index of the closest charged daughter.
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
bool propagated() const
The particle was tentatively propagated to calorimeters.
int closestDaughterId() const
Get the index of the closest charged daughter.
const RawParticle & ecalEntrance() const
The particle at ECAL entrance.
HepPDT::ParticleData ParticleData
RawParticle HCAL_Entrance
std::ostream & operator<<(std::ostream &o, const FSimTrack &t)
void setEndVertex(int endv)
Set the end vertex.
XYZTLorentzVector momentum_
int id() const
the index in FBaseSimEvent and other vectors
void addDaughter(int i)
Add a RecHit for a track on a layer.
const RawParticle & layer2Entrance() const
The particle at Preshower Layer 2.
const RawParticle & hcalEntrance() const
The particle at HCAL entrance.
RawParticle Layer2_Entrance
RawParticle ECAL_Entrance
void setMomentum(const math::XYZTLorentzVector &newMomentum)
Reset the momentum (to be used with care)
double decayTime() const
Return the pre-defined decay time.
std::vector< int > daugh_
math::XYZTLorentzVector XYZTLorentzVector