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} {}
66 Boost b(betax, betay, betaz);
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)
std::ostream & operator<<(std::ostream &o, const RawParticle &p)
XYZTLorentzVector myVertex
the four vector of the vertex
void rotateY(double rphi)
double et() const
get the transverse energy
int myId
the particle id number HEP-PID
double myMass
the RECONSTRUCTED mass
XYZTLorentzVector myMomentum
the four vector of the momentum
double r() const
vertex radius
double E() const
energy of the momentum
const XYZTLorentzVector & momentum() const
the momentum fourvector
void setT(const double t)
set the time of creation
double t() const
vertex time
ROOT::Math::RotationZ RotationZ
double charge() const
get the MEASURED charge
void setMass(float m)
set the RECONSTRUCTED mass
int myStatus
the status code according to PYTHIA
double pt() const
transverse momentum
ROOT::Math::RotationX RotationX
double myCharge
the MEASURED charge
ROOT::Math::RotationY RotationY
void rotate(double rphi, const XYZVector &raxis)
void setStatus(int istat)
T mag2() const
The vector magnitude squared. Equivalent to vec.dot(vec)
void rotateX(double rphi)
ROOT::Math::AxisAngle Rotation
math::XYZVector XYZVector
math::XYZTLorentzVector XYZTLorentzVector
T angle(T x1, T y1, T z1, T x2, T y2, T z2)