1 #ifndef Candidate_Particle_h 2 #define Candidate_Particle_h 31 #if !defined(__CINT__) && !defined(__MAKECINT__) && !defined(__REFLEX__) 32 template<
typename... Args>
46 int pdgId = 0,
int status = 0,
bool integerCharge =
true );
47 Particle( Charge q,
const LorentzVector & p4,
const Point &
vtx =
Point( 0, 0, 0 ),
48 int pdgId = 0,
int status = 0,
bool integerCharge =
true );
49 Particle( Charge q,
const PolarLorentzVector & p4,
const Point &
vtx =
Point( 0, 0, 0 ),
50 int pdgId = 0,
int status = 0,
bool integerCharge =
true );
52 int pdgId = 0,
int status = 0,
bool integerCharge =
true );
double rapidity() const
repidity
int status() const
status word
double mtSqr() const
transverse mass squared
bool longLived() const
is long lived?
double px() const
x coordinate of momentum vector
double energy() const
energy
double pt() const
transverse momentum
const PolarLorentzVector & polarP4() const
four-momentum Lorentz vector
double rapidity() const
rapidity
void setP4(const LorentzVector &p4)
set 4-momentum
int pdgId() const
PDG identifier.
double et2() const
transverse energy squared (use this for cut!)
double theta() const
momentum polar angle
double pz() const
z coordinate of momentum vector
int threeCharge() const
electric charge
void setVertex(const Point &vertex)
set vertex
double y() const
rapidity
void setMassConstraint()
set mass constraint flag
double vz() const
z coordinate of vertex position
int Charge
electric charge type
double energy() const
energy
double pz() const
z coordinate of momentum vector
int threeCharge() const
electric charge
const LorentzVector & p4() const
four-momentum Lorentz vector
void setP4(const PolarLorentzVector &p4)
set 4-momentum
int pdgId() const
PDG identifier.
double phi() const
momentum azimuthal angle
const Point & vertex() const
vertex position (overwritten by PF...)
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.
double pt() const
transverse momentum
void setStatus(int status)
set status word
double phi() const
momentum azimuthal angle
double mt() const
transverse mass
bool longLived() const
is long lived?
void setCharge(Charge q)
set electric charge
void setVertex(const Point &vertex)
set vertex
double mtSqr() const
transverse mass squared
double massSqr() const
mass squared
math::XYZPoint Point
point in the space
void setThreeCharge(Charge qx3)
set electric charge
bool massConstraint() const
do mass constraint?
double et2() const
transverse energy squared (use this for cuts)!
int charge() const
electric charge
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 vx() const
x coordinate of vertex position
double vz() const
z coordinate of vertex position
int charge() const
electric charge
Vector momentum() const
spatial momentum vector
XYZVectorD XYZVector
spatial vector with cartesian internal representation
XYZPointD XYZPoint
point in space with cartesian internal representation
void construct(int qx3, float pt, float eta, float phi, float mass, const Point &vtx, int pdgId, int status)
int status() const
status word
const Point & vertex() const
vertex position
void setMass(double m)
set particle mass
double theta() const
momentum polar angle
virtual ~Particle()
destructor
double et() const
transverse energy
math::XYZVector Vector
point in the space
Vector momentum() const
spatial momentum vector
void setThreeCharge(Charge qx3)
set electric charge
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
double eta() const
momentum pseudorapidity
void setP4(const LorentzVector &p4)
set 4-momentum
double py() const
y coordinate of momentum vector
double p() const
magnitude of momentum vector
double eta() const
momentum pseudorapidity
double px() const
x coordinate of momentum vector
Particle & operator=(Particle &&)=default
math::XYZTLorentzVector LorentzVector
Lorentz vector.
double vy() const
y coordinate of vertex position
double p() const
magnitude of momentum vector
double py() const
y coordinate of momentum vector
void setCharge(Charge q)
set electric charge
void setStatus(int status)
set status word
double mt() const
transverse mass
double vx() const
x coordinate of vertex position
void setMass(double m)
set particle mass