float getEnergy() const
Return particle energy in GeV.
double getZ()
Getter for z component of vertex.
float getCharge() const
Return the particle charge defined in TDatabasePDG.
double getP()
Getter for magnitut of momentum.
double getPtheta()
Getter for theta of momentum vector.
double getPy()
Getter for y component of momentum.
double getCharge()
Getter for electric charge of particle.
double getY()
Getter for y component of vertex.
const MCParticle & m_mcParticle
Reference to MC particle.
double getPt()
Getter for transverse momentum.
double m_myBz
Member variable for z component of B field.
double m_charge
Member variable for particle's electric charge.
TVector3 getVertex() const
Return production vertex position, shorthand for getProductionVertex().
double getPphi()
Getter for phi of momentum vector.
double getX()
Getter for x component of vertex.
double getPx()
Getter for x component of momentum.
MCParticleInfo(const MCParticle &the_mcParticle, const TVector3 &the_magField)
Constructor.
TVector3 getMomentum() const
Return momentum.
A Class to store the Monte Carlo particle information.
double getPz()
Getter for z component of momentum.