18 #ifndef CLASSIC_OpalParticle_HH
19 #define CLASSIC_OpalParticle_HH
41 double time,
double q,
double m);
73 int64_t
getId()
const;
185 return i % 2 == 0?
R_m[i / 2]:
P_m[i / 2];
254 #endif // CLASSIC_OpalParticle_HH
double getPx() const
Get horizontal momentum (no dimension).
void setPy(double)
Set the vertical momentum.
const Vector_t & getR() const
Get position in m.
double getPy() const
Get vertical momentum (no dimension).
void setY(double)
Set the vertical displacement in m.
double getTime() const
Get time.
void setX(double)
Set the horizontal position in m.
double getPz() const
Get relative momentum error (no dimension).
double getZ() const
Get longitudinal displacement c*t in m.
void setP(Vector_t const &)
Set momentum.
void setPx(double)
Set the horizontal momentum.
void setR(Vector_t const &)
Set position in m.
void setZ(double)
Set longitudinal position in m.
const Vector_t & getP() const
Get momentum.
double operator[](unsigned int) const
Get coordinate.
void setPz(double)
Set the longitudinal momentum.
double getY() const
Get vertical displacement in m.
double getMass() const
Get mass in GeV/c^2.
int64_t getId() const
Get the id of the particle.
double getX() const
Get horizontal position in m.
double getCharge() const
Get charge in Coulomb.
void setTime(double t)
Set the time.