1 #ifndef Candidate_ParticleState_h 2 #define Candidate_ParticleState_h 43 bool integerCharge =
true)
47 qx3_(integerCharge ?
q * 3 :
q),
57 bool integerCharge =
true)
61 qx3_(integerCharge ?
q * 3 :
q),
71 bool integerCharge =
true)
75 qx3_(integerCharge ?
q * 3 :
q),
86 bool integerCharge =
true)
90 qx3_(integerCharge ?
q * 3 :
q),
ParticleState(Charge q, const PolarLorentzVector &p4, const Point &vertex=Point(0, 0, 0), int pdgId=0, int status=0, bool integerCharge=true)
constructor from values
int pdgId_
PDG identifier.
Point vertex_
vertex position
Vector momentum() const
spatial momentum vector
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
void setCartesian()
set internal cache
int charge() const
electric charge
double p() const
magnitude of momentum vector
double et() const
transverse energy
LorentzVector p4Cartesian_
internal cache for p4
double eta() const
momentum pseudorapidity
void setP4(const PolarLorentzVector &p4)
set 4-momentum
static const unsigned int longLivedTag
int pdgId() const
PDG identifier.
double massSqr() const
mass squared
int threeCharge() const
electric charge
int Charge
electric charge type
double px() const
x coordinate of momentum vector
math::XYZPoint Point
point in the space
void setMassConstraint()
set mass constraint flag
double rapidity() const
repidity
PolarLorentzVector p4Polar_
four-momentum Lorentz vector
PtEtaPhiMLorentzVectorD PtEtaPhiMLorentzVector
Lorentz vector with cartesian internal representation.
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
void setStatus(int status)
set status word
ParticleState(Charge q, const LorentzVector &p4, const Point &vertex=Point(0, 0, 0), int pdgId=0, int status=0, bool integerCharge=true)
constructor from values
const PolarLorentzVector & polarP4() const
four-momentum Lorentz vector
math::XYZVector Vector
point in the space
void setVertex(const Point &vertex)
set vertex
const LorentzVector & p4() const
four-momentum Lorentz vector
double vz() const
z coordinate of vertex position
double pt() const
transverse momentum
double theta() const
momentum polar angle
double vx() const
x coordinate of vertex position
math::XYZTLorentzVector LorentzVector
Lorentz vector.
double py() const
y coordinate of momentum vector
void setThreeCharge(Charge qx3)
set electric charge
T perp() const
Magnitude of transverse component.
ParticleState(Charge q, const GlobalVector &p3, float iEnergy, float imass, const Point &vertex=Point(0, 0, 0), int pdgId=0, int status=0, bool integerCharge=true)
bool massConstraint() const
do mass constraint?
void setLongLived()
set long lived flag
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< float >, ROOT::Math::GlobalCoordinateSystemTag > GlobalVector
vector in glovbal coordinate system
double vy() const
y coordinate of vertex position
double phi() const
momentum azimuthal angle
Charge qx3_
electric charge
XYZVectorD XYZVector
spatial vector with cartesian internal representation
XYZPointD XYZPoint
point in space with cartesian internal representation
double mtSqr() const
transverse mass squared
double mt() const
transverse mass
double et2() const
transverse energy squared (use this for cuts)!
ParticleState(Charge q, const PtEtaPhiMass &p4, const Point &vertex=Point(0, 0, 0), int pdgId=0, int status=0, bool integerCharge=true)
constructor from values
static const unsigned int massConstraintTag
Structure Point Contains parameters of Gaussian fits to DMRs.
const Point & vertex() const
vertex position
bool longLived() const
is long lived?
void setP4(const LorentzVector &p4)
set 4-momentum
ParticleState()
default constructor
double energy() const
energy
int status() const
status word
double pz() const
z coordinate of momentum vector
void setCharge(Charge q)
set electric charge
void setMass(double m)
set particle mass