Go to the documentation of this file. 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),
void setCharge(Charge q)
set electric charge
void setP4(const LorentzVector &p4)
set 4-momentum
double p() const
magnitude of momentum vector
Point vertex_
vertex position
double et2() const
transverse energy squared (use this for cuts)!
void setThreeCharge(Charge qx3)
set electric charge
double rapidity() const
repidity
double mt() const
transverse mass
void setP4(const PolarLorentzVector &p4)
set 4-momentum
PolarLorentzVector p4Polar_
four-momentum Lorentz vector
void setStatus(int status)
set status word
bool longLived() const
is long lived?
int charge() const
electric charge
double mtSqr() const
transverse mass squared
double vz() const
z coordinate of vertex position
double theta() const
momentum polar angle
double vx() const
x coordinate of vertex position
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
T perp() const
Magnitude of transverse component.
int Charge
electric charge type
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
void setMass(double m)
set particle mass
const PolarLorentzVector & polarP4() const
four-momentum Lorentz vector
double phi() const
momentum azimuthal angle
void setVertex(const Point &vertex)
set vertex
int status() const
status word
double pz() const
z coordinate of momentum vector
static const unsigned int longLivedTag
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?
Structure Point Contains parameters of Gaussian fits to DMRs.
double eta() const
momentum pseudorapidity
double massSqr() const
mass squared
XYZPointD XYZPoint
point in space with cartesian internal representation
int pdgId_
PDG identifier.
math::XYZPoint Point
point in the space
double vy() const
y coordinate of vertex position
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< float >, ROOT::Math::GlobalCoordinateSystemTag > GlobalVector
vector in glovbal coordinate system
XYZVectorD XYZVector
spatial vector with cartesian internal representation
double et() const
transverse energy
math::XYZTLorentzVector LorentzVector
Lorentz vector.
double py() const
y coordinate of momentum vector
math::XYZVector Vector
point in the space
void setMassConstraint()
set mass constraint flag
const LorentzVector & p4() const
four-momentum Lorentz vector
const Point & vertex() const
vertex position
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
LorentzVector p4Cartesian_
internal cache for p4
int pdgId() const
PDG identifier.
double pt() const
transverse momentum
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
PtEtaPhiMLorentzVectorD PtEtaPhiMLorentzVector
Lorentz vector with cartesian internal representation.
int threeCharge() const
electric charge
void setLongLived()
set long lived flag
Vector momentum() const
spatial momentum vector
Charge qx3_
electric charge
ParticleState()
default constructor
double energy() const
energy
double px() const
x coordinate of momentum vector
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
void setCartesian()
set internal cache