#include <ParticleState.h>
Public Types | |
typedef int | Charge |
electric charge type More... | |
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... | |
double | energy () const |
energy More... | |
double | et () const |
transverse energy More... | |
double | et2 () const |
transverse energy squared (use this for cuts)! 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... | |
double | p () const |
magnitude of momentum vector More... | |
const LorentzVector & | p4 () const |
four-momentum Lorentz vector More... | |
ParticleState () | |
default constructor More... | |
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 More... | |
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 More... | |
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 More... | |
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) | |
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 |
repidity More... | |
void | setCartesian () |
set internal cache More... | |
void | setCharge (Charge q) |
set electric charge More... | |
void | setLongLived () |
set long lived flag More... | |
void | setMass (double m) |
set particle mass More... | |
void | setMassConstraint () |
set mass constraint flag More... | |
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 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 |
repidity More... | |
Private Attributes | |
LorentzVector | p4Cartesian_ |
internal cache for p4 More... | |
PolarLorentzVector | p4Polar_ |
four-momentum Lorentz vector More... | |
int | pdgId_ |
PDG identifier. More... | |
Charge | qx3_ |
electric charge More... | |
int | status_ |
status word More... | |
Point | vertex_ |
vertex position More... | |
Static Private Attributes | |
static const unsigned int | longLivedTag = 65536 |
static const unsigned int | massConstraintTag = 131072 |
Base class describing a generic reconstructed particle its main subclass is Candidate
Definition at line 22 of file ParticleState.h.
typedef int reco::ParticleState::Charge |
electric charge type
Definition at line 25 of file ParticleState.h.
Lorentz vector.
Definition at line 27 of file ParticleState.h.
point in the space
Definition at line 31 of file ParticleState.h.
Lorentz vector.
Definition at line 29 of file ParticleState.h.
point in the space
Definition at line 33 of file ParticleState.h.
|
inline |
default constructor
Definition at line 35 of file ParticleState.h.
|
inline |
constructor from values
Definition at line 39 of file ParticleState.h.
|
inline |
constructor from values
Definition at line 46 of file ParticleState.h.
|
inline |
constructor from values
Definition at line 54 of file ParticleState.h.
|
inline |
Definition at line 60 of file ParticleState.h.
|
inline |
boost vector to boost a Lorentz vector to the particle center of mass system
Definition at line 87 of file ParticleState.h.
|
inline |
electric charge
Definition at line 72 of file ParticleState.h.
|
inline |
energy
Definition at line 91 of file ParticleState.h.
|
inline |
transverse energy
Definition at line 93 of file ParticleState.h.
|
inline |
transverse energy squared (use this for cuts)!
Definition at line 95 of file ParticleState.h.
|
inline |
momentum pseudorapidity
Definition at line 117 of file ParticleState.h.
Referenced by Particle.Particle::__str__().
|
inline |
is long lived?
Definition at line 165 of file ParticleState.h.
|
inline |
mass
Definition at line 97 of file ParticleState.h.
Referenced by Particle.Particle::__str__(), and DiObject.DiMuon::__str__().
|
inline |
do mass constraint?
Definition at line 169 of file ParticleState.h.
|
inline |
mass squared
Definition at line 99 of file ParticleState.h.
|
inline |
spatial momentum vector
Definition at line 84 of file ParticleState.h.
|
inline |
transverse mass
Definition at line 101 of file ParticleState.h.
|
inline |
transverse mass squared
Definition at line 103 of file ParticleState.h.
|
inline |
magnitude of momentum vector
Definition at line 89 of file ParticleState.h.
|
inline |
four-momentum Lorentz vector
Definition at line 80 of file ParticleState.h.
Referenced by Tau.Tau::dxy_approx(), Tau.Tau::dz(), and Lepton.Lepton::p4WithFSR().
|
inline |
PDG identifier.
Definition at line 155 of file ParticleState.h.
Referenced by Particle.Particle::__str__().
|
inline |
momentum azimuthal angle
Definition at line 113 of file ParticleState.h.
Referenced by Particle.Particle::__str__().
|
inline |
four-momentum Lorentz vector
Definition at line 82 of file ParticleState.h.
|
inline |
transverse momentum
Definition at line 111 of file ParticleState.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 105 of file ParticleState.h.
|
inline |
y coordinate of momentum vector
Definition at line 107 of file ParticleState.h.
|
inline |
z coordinate of momentum vector
Definition at line 109 of file ParticleState.h.
|
inline |
repidity
Definition at line 119 of file ParticleState.h.
|
inline |
set internal cache
Definition at line 67 of file ParticleState.h.
|
inline |
set electric charge
Definition at line 74 of file ParticleState.h.
|
inline |
set long lived flag
Definition at line 163 of file ParticleState.h.
|
inline |
set particle mass
Definition at line 134 of file ParticleState.h.
|
inline |
set mass constraint flag
Definition at line 167 of file ParticleState.h.
|
inline |
set 4-momentum
Definition at line 123 of file ParticleState.h.
|
inline |
set 4-momentum
Definition at line 129 of file ParticleState.h.
|
inline |
Definition at line 157 of file ParticleState.h.
|
inline |
Definition at line 139 of file ParticleState.h.
|
inline |
set status word
Definition at line 161 of file ParticleState.h.
|
inline |
set electric charge
Definition at line 78 of file ParticleState.h.
|
inline |
set vertex
Definition at line 153 of file ParticleState.h.
|
inline |
status word
Definition at line 159 of file ParticleState.h.
|
inline |
momentum polar angle
Definition at line 115 of file ParticleState.h.
Referenced by Tau.Tau::zImpact().
|
inline |
electric charge
Definition at line 76 of file ParticleState.h.
|
inline |
|
inline |
x coordinate of vertex position
Definition at line 147 of file ParticleState.h.
|
inline |
y coordinate of vertex position
Definition at line 149 of file ParticleState.h.
|
inline |
z coordinate of vertex position
Definition at line 151 of file ParticleState.h.
|
inline |
repidity
Definition at line 121 of file ParticleState.h.
|
staticprivate |
Definition at line 173 of file ParticleState.h.
|
staticprivate |
Definition at line 174 of file ParticleState.h.
|
private |
internal cache for p4
Definition at line 183 of file ParticleState.h.
|
private |
four-momentum Lorentz vector
Definition at line 181 of file ParticleState.h.
|
private |
PDG identifier.
Definition at line 189 of file ParticleState.h.
|
private |
electric charge
Definition at line 186 of file ParticleState.h.
|
private |
status word
Definition at line 191 of file ParticleState.h.
|
private |
vertex position
Definition at line 178 of file ParticleState.h.