1 #ifndef FastSimulation_Event_FSimTrack_H
2 #define FastSimulation_Event_FSimTrack_H
68 inline const std::vector<int>&
daughters()
const;
86 inline int id()
const {
return id_; }
245 #include "FastSimulation/Event/interface/FSimTrack.icc"
249 #endif // FSimTrack_H
bool noEndVertex() const
no end vertex
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 FSimVertex & endVertex() const
end vertex
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.
virtual ~FSimTrack()
Destructor.
const RawParticle & layer1Entrance() const
The particle at Preshower Layer 1.
const FSimTrack & daughter(int i) const
Ith daughter.
void setEcal(const RawParticle &pp, int success)
Set the ecal variables.
void setPropagate()
The particle has been propgated through the tracker.
int nDaughters() const
Number of daughters.
void setClosestDaughterId(int id)
Set the index of the closest charged daughter.
void setLayer2(const RawParticle &pp, int success)
Set the preshower layer2 variables.
const std::vector< int > & daughters() const
Vector of daughter indices.
std::ostream & operator<<(std::ostream &out, const ALILine &li)
bool notYetToEndVertex(const XYZTLorentzVector &pos) const
Compare the end vertex position with another position.
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
void setLayer1(const RawParticle &pp, int success)
Set the preshower layer1 variables.
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.
const FSimVertex & vertex() const
Origin vertex.
FSimTrack()
Default constructor.
HepPDT::ParticleData ParticleData
const HepMC::GenParticle * genParticle() const
The original GenParticle.
RawParticle HCAL_Entrance
void setHcalExit(const RawParticle &pp, int success)
Set the hcal exit variables.
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.
void setHO(const RawParticle &pp, int success)
Set the ho variables.
void setVFcal(const RawParticle &pp, int success)
Set the hcal variables.
bool noMother() const
no mother particle
const RawParticle & hcalEntrance() const
The particle at HCAL entrance.
bool noDaughter() const
no daughters
RawParticle Layer2_Entrance
void setHcal(const RawParticle &pp, int success)
Set the hcal variables.
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.
const FSimTrack & mother() const
mother
std::vector< int > daugh_
math::XYZTLorentzVector XYZTLorentzVector