16 : myMomentum(p), myCharge{charge}, myMass{
mass}, myId{
id} {}
20 : myMomentum(p), myVertex{xStart}, myCharge{
charge}, myMass{
mass}, myId{
id} {}
23 : myMomentum(p), myVertex{xStart}, myCharge{
charge} {}
26 : myMomentum(px, py, pz, e), myCharge{charge} {}
66 Boost b(betax, betay, betaz);
72 o.setf(std::ios::fixed, std::ios::floatfield);
73 o.setf(std::ios::right, std::ios::adjustfield);
75 o << std::setw(4) << std::setprecision(2) << p.
pid() <<
" (";
76 o << std::setw(2) << std::setprecision(2) << p.
status() <<
"): ";
77 o << std::setw(10) << std::setprecision(4) << p.
momentum() <<
" ";
78 o << std::setw(10) << std::setprecision(4) << p.
vertex();
83 double mypp, tmpEt = -1.;
87 tmpEt =
E() *
pt() / mypp;
void setMomentum(const XYZTLorentzVector &vtx)
set the momentum
void setCharge(float q)
set the MEASURED charge
void boost(double bx, double by, double bz)
void rotateZ(double rphi)
XYZTLorentzVector myVertex
the four vector of the vertex
double pt() const
transverse momentum
int status() const
get the particle status
void rotateY(double rphi)
int myId
the particle id number HEP-PID
double myMass
the RECONSTRUCTED mass
XYZTLorentzVector myMomentum
the four vector of the momentum
int pid() const
get the HEP particle ID number
void setT(const double t)
set the time of creation
std::ostream & operator<<(std::ostream &out, const ALILine &li)
ROOT::Math::RotationZ RotationZ
void setMass(float m)
set the RECONSTRUCTED mass
int myStatus
the status code according to PYTHIA
ROOT::Math::RotationX RotationX
const XYZTLorentzVector & momentum() const
the momentum fourvector
double myCharge
the MEASURED charge
T mag2() const
The vector magnitude squared. Equivalent to vec.dot(vec)
ROOT::Math::RotationY RotationY
void rotate(double rphi, const XYZVector &raxis)
const XYZTLorentzVector & vertex() const
the vertex fourvector
void setStatus(int istat)
void rotateX(double rphi)
double r() const
vertex radius
ROOT::Math::AxisAngle Rotation
double E() const
energy of the momentum
math::XYZVector XYZVector
double et() const
get the transverse energy
math::XYZTLorentzVector XYZTLorentzVector
T angle(T x1, T y1, T z1, T x2, T y2, T z2)