#include <Particle.h>
Public Types | |
typedef int | Charge |
electric charge type More... | |
typedef unsigned int | index |
typedef math::XYZTLorentzVector | LorentzVector |
Lorentz vector. More... | |
typedef math::XYZPoint | Point |
point in the space More... | |
typedef math::PtEtaPhiMLorentzVector | PolarLorentzVector |
Lorentz vector. More... | |
typedef math::XYZVector | Vector |
point in the space More... | |
Public Member Functions | |
Vector | boostToCM () const |
int | charge () const |
electric charge More... | |
void | construct (int qx3, float pt, float eta, float phi, float mass, const Point &vtx, int pdgId, int status) |
double | energy () const |
energy More... | |
double | et () const |
transverse energy More... | |
double | et2 () const |
transverse energy squared (use this for cut!) More... | |
double | eta () const |
momentum pseudorapidity More... | |
bool | longLived () const |
is long lived? More... | |
double | mass () const |
mass More... | |
bool | massConstraint () const |
do mass constraint? More... | |
double | massSqr () const |
mass squared More... | |
Vector | momentum () const |
spatial momentum vector More... | |
double | mt () const |
transverse mass More... | |
double | mtSqr () const |
transverse mass squared More... | |
Particle & | operator= (Particle &&)=default |
Particle & | operator= (Particle const &)=default |
double | p () const |
magnitude of momentum vector More... | |
const LorentzVector & | p4 () const |
four-momentum Lorentz vector More... | |
template<typename... Args> | |
Particle (Args &&...args) | |
Particle (Particle &rh) | |
Particle (Particle &&)=default | |
Particle (Particle const &)=default | |
int | pdgId () const |
PDG identifier. More... | |
double | phi () const |
momentum azimuthal angle More... | |
const PolarLorentzVector & | polarP4 () const |
four-momentum Lorentz vector More... | |
double | pt () const |
transverse momentum More... | |
double | px () const |
x coordinate of momentum vector More... | |
double | py () const |
y coordinate of momentum vector More... | |
double | pz () const |
z coordinate of momentum vector More... | |
double | rapidity () const |
rapidity More... | |
void | setCharge (Charge q) |
set electric charge More... | |
void | setLongLived () |
void | setMass (double m) |
set particle mass More... | |
void | setMassConstraint () |
void | setP4 (const LorentzVector &p4) |
set 4-momentum More... | |
void | setP4 (const PolarLorentzVector &p4) |
set 4-momentum More... | |
void | setPdgId (int pdgId) |
void | setPz (double pz) |
void | setStatus (int status) |
set status word More... | |
void | setThreeCharge (Charge qx3) |
set electric charge More... | |
void | setVertex (const Point &vertex) |
set vertex More... | |
int | status () const |
status word More... | |
double | theta () const |
momentum polar angle More... | |
int | threeCharge () const |
electric charge More... | |
const Point & | vertex () const |
vertex position (overwritten by PF...) More... | |
double | vx () const |
x coordinate of vertex position More... | |
double | vy () const |
y coordinate of vertex position More... | |
double | vz () const |
z coordinate of vertex position More... | |
double | y () const |
rapidity More... | |
virtual | ~Particle () |
destructor More... | |
Private Attributes | |
ParticleState | m_state |
Base class describing a generic reconstructed particle its main subclass is Candidate
Definition at line 16 of file Particle.h.
typedef int reco::Particle::Charge |
electric charge type
Definition at line 19 of file Particle.h.
typedef unsigned int reco::Particle::index |
Definition at line 29 of file Particle.h.
Lorentz vector.
Definition at line 21 of file Particle.h.
typedef math::XYZPoint reco::Particle::Point |
point in the space
Definition at line 25 of file Particle.h.
Lorentz vector.
Definition at line 23 of file Particle.h.
point in the space
Definition at line 27 of file Particle.h.
|
inlineexplicit |
Definition at line 33 of file Particle.h.
|
inline |
Definition at line 36 of file Particle.h.
|
default |
|
default |
|
inlinevirtual |
destructor
Definition at line 60 of file Particle.h.
|
inline |
boost vector to boost a Lorentz vector to the particle center of mass system
Definition at line 79 of file Particle.h.
|
inline |
electric charge
Definition at line 64 of file Particle.h.
|
inline |
Definition at line 55 of file Particle.h.
|
inline |
energy
Definition at line 83 of file Particle.h.
|
inline |
transverse energy
Definition at line 85 of file Particle.h.
|
inline |
transverse energy squared (use this for cut!)
Definition at line 87 of file Particle.h.
|
inline |
momentum pseudorapidity
Definition at line 110 of file Particle.h.
Referenced by Particle.Particle::__str__().
|
inline |
is long lived?
Definition at line 145 of file Particle.h.
|
inline |
mass
Definition at line 89 of file Particle.h.
Referenced by Particle.Particle::__str__(), and DiObject.DiMuon::__str__().
|
inline |
do mass constraint?
Definition at line 150 of file Particle.h.
|
inline |
mass squared
Definition at line 91 of file Particle.h.
|
inline |
spatial momentum vector
Definition at line 76 of file Particle.h.
|
inline |
transverse mass
Definition at line 94 of file Particle.h.
|
inline |
transverse mass squared
Definition at line 96 of file Particle.h.
|
inline |
magnitude of momentum vector
Definition at line 81 of file Particle.h.
|
inline |
four-momentum Lorentz vector
Definition at line 72 of file Particle.h.
Referenced by Tau.Tau::dxy_approx(), Tau.Tau::dz(), and Lepton.Lepton::p4WithFSR().
|
inline |
PDG identifier.
Definition at line 134 of file Particle.h.
Referenced by Particle.Particle::__str__().
|
inline |
momentum azimuthal angle
Definition at line 106 of file Particle.h.
Referenced by Particle.Particle::__str__().
|
inline |
four-momentum Lorentz vector
Definition at line 74 of file Particle.h.
|
inline |
transverse momentum
Definition at line 104 of file Particle.h.
Referenced by Particle.Particle::__str__(), DiObject.DiMuon::__str__(), Lepton.Lepton::relIso(), Lepton.Lepton::relIsoFromEA(), and Lepton.Lepton::relIsoR().
|
inline |
x coordinate of momentum vector
Definition at line 98 of file Particle.h.
|
inline |
y coordinate of momentum vector
Definition at line 100 of file Particle.h.
|
inline |
z coordinate of momentum vector
Definition at line 102 of file Particle.h.
|
inline |
rapidity
Definition at line 112 of file Particle.h.
|
inline |
set electric charge
Definition at line 66 of file Particle.h.
|
inline |
long lived flag set long lived flag
Definition at line 143 of file Particle.h.
|
inline |
set particle mass
Definition at line 120 of file Particle.h.
|
inline |
do mass constraint flag set mass constraint flag
Definition at line 148 of file Particle.h.
|
inline |
set 4-momentum
Definition at line 116 of file Particle.h.
|
inline |
set 4-momentum
Definition at line 118 of file Particle.h.
|
inline |
Definition at line 136 of file Particle.h.
Referenced by TtDilepEvtSolution::getLeptNeg(), and TtDilepEvtSolution::getLeptPos().
|
inline |
Definition at line 121 of file Particle.h.
|
inline |
set status word
Definition at line 140 of file Particle.h.
|
inline |
set electric charge
Definition at line 70 of file Particle.h.
|
inline |
set vertex
Definition at line 131 of file Particle.h.
|
inline |
status word
Definition at line 138 of file Particle.h.
|
inline |
|
inline |
electric charge
Definition at line 68 of file Particle.h.
|
inline |
vertex position (overwritten by PF...)
Definition at line 123 of file Particle.h.
Referenced by Tau.Tau::dxy().
|
inline |
x coordinate of vertex position
Definition at line 125 of file Particle.h.
|
inline |
y coordinate of vertex position
Definition at line 127 of file Particle.h.
|
inline |
z coordinate of vertex position
Definition at line 129 of file Particle.h.
|
inline |
rapidity
Definition at line 114 of file Particle.h.
|
private |
Definition at line 153 of file Particle.h.