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];
void setPy(double)
Set the vertical momentum.
double getPy() const
Get vertical momentum (no dimension).
const Vector_t & getR() const
Get position in m.
const Vector_t & getP() const
Get momentum.
double getPz() const
Get relative momentum error (no dimension).
void setPx(double)
Set the horizontal momentum.
void setPz(double)
Set the longitudinal momentum.
void setZ(double)
Set longitudinal position in m.
void setY(double)
Set the vertical displacement in m.
double getY() const
Get vertical displacement in m.
double getCharge() const
Get charge in Coulomb.
double getZ() const
Get longitudinal displacement c*t in m.
double operator[](unsigned int) const
Get coordinate.
double getMass() const
Get mass in GeV/c^2.
void setP(Vector_t const &)
Set momentum.
double getTime() const
Get time.
void setTime(double t)
Set the time.
int64_t getId() const
Get the id of the particle.
double getPx() const
Get horizontal momentum (no dimension).
double getX() const
Get horizontal position in m.
void setX(double)
Set the horizontal position in m.
void setR(Vector_t const &)
Set position in m.