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