#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 &&)=default | |
Particle (Particle &rh) | |
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 35 of file Particle.h.
|
default |
|
default |
|
inlinevirtual |
|
inline |
boost vector to boost a Lorentz vector to the particle center of mass system
Definition at line 95 of file Particle.h.
References reco::ParticleState::boostToCM(), and m_state.
|
inline |
electric charge
Definition at line 80 of file Particle.h.
References reco::ParticleState::charge(), and m_state.
|
inline |
|
inline |
energy
Definition at line 99 of file Particle.h.
References reco::ParticleState::energy(), and m_state.
Referenced by EmDQMReco::analyze(), and Jet.Jet::rawEnergy().
|
inline |
transverse energy
Definition at line 101 of file Particle.h.
References reco::ParticleState::et(), and m_state.
|
inline |
transverse energy squared (use this for cut!)
Definition at line 103 of file Particle.h.
References reco::ParticleState::et2(), and m_state.
|
inline |
momentum pseudorapidity
Definition at line 126 of file Particle.h.
References reco::ParticleState::eta(), and m_state.
Referenced by Particle.Particle::__str__(), DQMExample_Step1::analyze(), construct(), Jet.Jet::jetID(), and Jet.Jet::puJetId().
|
inline |
is long lived?
Definition at line 161 of file Particle.h.
References reco::ParticleState::longLived(), and m_state.
|
inline |
mass
Definition at line 105 of file Particle.h.
References m_state, and reco::ParticleState::mass().
Referenced by Particle.Particle::__str__(), DiObject.DiMuon::__str__(), construct(), and massSqr().
|
inline |
do mass constraint?
Definition at line 166 of file Particle.h.
References m_state, and reco::ParticleState::massConstraint().
|
inline |
|
inline |
spatial momentum vector
Definition at line 92 of file Particle.h.
References m_state, and reco::ParticleState::momentum().
|
inline |
transverse mass
Definition at line 110 of file Particle.h.
References m_state, and reco::ParticleState::mt().
|
inline |
transverse mass squared
Definition at line 112 of file Particle.h.
References m_state, and reco::ParticleState::mtSqr().
|
inline |
magnitude of momentum vector
Definition at line 97 of file Particle.h.
References m_state, and reco::ParticleState::p().
Referenced by Electron.Electron::ptErr().
|
inline |
four-momentum Lorentz vector
Definition at line 88 of file Particle.h.
References m_state, and reco::ParticleState::p4().
Referenced by Tau.Tau::dxy_approx(), Tau.Tau::dz(), TtDilepLRSignalSelObservables::operator()(), TtSemiLRJetCombObservables::operator()(), Lepton.Lepton::p4WithFSR(), CandidateTriggerObjectProducer::produce(), and setP4().
|
inline |
PDG identifier.
Definition at line 150 of file Particle.h.
References m_state, and reco::ParticleState::pdgId().
Referenced by Particle.Particle::__str__(), DQMExample_Step1::analyze(), construct(), and setPdgId().
|
inline |
momentum azimuthal angle
Definition at line 122 of file Particle.h.
References m_state, and reco::ParticleState::phi().
Referenced by Particle.Particle::__str__(), DQMExample_Step1::analyze(), construct(), and ntupleDataFormat.Track::phiPull().
|
inline |
four-momentum Lorentz vector
Definition at line 90 of file Particle.h.
References m_state, and reco::ParticleState::polarP4().
|
inline |
transverse momentum
Definition at line 120 of file Particle.h.
References m_state, and reco::ParticleState::pt().
Referenced by Particle.Particle::__str__(), DiObject.DiMuon::__str__(), DQMExample_Step1::analyze(), Photon.Photon::calScaledIsoValueExp(), Photon.Photon::calScaledIsoValueLin(), Photon.Photon::calScaledIsoValueQuadr(), construct(), IsMuMatchedToHLTSingleMu(), Electron.Electron::mvaIDLoose(), Electron.Electron::mvaIDRun2(), Electron.Electron::mvaIDTight(), Electron.Electron::ptErr(), ntupleDataFormat.Track::ptPull(), Lepton.Lepton::relIso(), Lepton.Lepton::relIsoFromEA(), Lepton.Lepton::relIsoR(), and Jet.Jet::setCorrP4().
|
inline |
x coordinate of momentum vector
Definition at line 114 of file Particle.h.
References m_state, and reco::ParticleState::px().
|
inline |
y coordinate of momentum vector
Definition at line 116 of file Particle.h.
References m_state, and reco::ParticleState::py().
|
inline |
z coordinate of momentum vector
Definition at line 118 of file Particle.h.
References m_state, and reco::ParticleState::pz().
Referenced by setPz().
|
inline |
rapidity
Definition at line 128 of file Particle.h.
References m_state, and reco::ParticleState::rapidity().
Referenced by y().
|
inline |
set electric charge
Definition at line 82 of file Particle.h.
References m_state, submitPVResolutionJobs::q, and reco::ParticleState::setCharge().
|
inline |
long lived flag set long lived flag
Definition at line 159 of file Particle.h.
References m_state, and reco::ParticleState::setLongLived().
|
inline |
set particle mass
Definition at line 136 of file Particle.h.
References visualization-live-secondInstance_cfg::m, m_state, and reco::ParticleState::setMass().
|
inline |
do mass constraint flag set mass constraint flag
Definition at line 164 of file Particle.h.
References m_state, and reco::ParticleState::setMassConstraint().
|
inline |
set 4-momentum
Definition at line 132 of file Particle.h.
References m_state, p4(), and reco::ParticleState::setP4().
Referenced by Jet.Jet::setCorrP4().
|
inline |
set 4-momentum
Definition at line 134 of file Particle.h.
References m_state, p4(), and reco::ParticleState::setP4().
Referenced by Jet.Jet::setCorrP4().
|
inline |
Definition at line 152 of file Particle.h.
References m_state, pdgId(), and reco::ParticleState::setPdgId().
|
inline |
Definition at line 137 of file Particle.h.
References m_state, pz(), and reco::ParticleState::setPz().
|
inline |
set status word
Definition at line 156 of file Particle.h.
References m_state, reco::ParticleState::setStatus(), and status().
|
inline |
set electric charge
Definition at line 86 of file Particle.h.
References m_state, and reco::ParticleState::setThreeCharge().
|
inline |
set vertex
Definition at line 147 of file Particle.h.
References m_state, reco::ParticleState::setVertex(), and vertex().
|
inline |
status word
Definition at line 154 of file Particle.h.
References m_state, and reco::ParticleState::status().
Referenced by construct(), and setStatus().
|
inline |
momentum polar angle
Definition at line 124 of file Particle.h.
References m_state, and reco::ParticleState::theta().
Referenced by Tau.Tau::zImpact().
|
inline |
electric charge
Definition at line 84 of file Particle.h.
References m_state, and reco::ParticleState::threeCharge().
|
inline |
vertex position (overwritten by PF...)
Definition at line 139 of file Particle.h.
References m_state, and reco::ParticleState::vertex().
Referenced by Tau.Tau::dxy(), and setVertex().
|
inline |
x coordinate of vertex position
Definition at line 141 of file Particle.h.
References m_state, and reco::ParticleState::vx().
|
inline |
y coordinate of vertex position
Definition at line 143 of file Particle.h.
References m_state, and reco::ParticleState::vy().
|
inline |
z coordinate of vertex position
Definition at line 145 of file Particle.h.
References m_state, and reco::ParticleState::vz().
|
inline |
rapidity
Definition at line 130 of file Particle.h.
References rapidity().
Referenced by svgfig.Ellipse::__repr__(), geometryXMLparser.Alignable::pos(), ntupleDataFormat._HitObject::r(), and ntupleDataFormat._HitObject::r3D().
|
private |
Definition at line 169 of file Particle.h.
Referenced by boostToCM(), charge(), construct(), energy(), et(), et2(), eta(), longLived(), mass(), massConstraint(), momentum(), mt(), mtSqr(), p(), p4(), pdgId(), phi(), polarP4(), pt(), px(), py(), pz(), rapidity(), setCharge(), setLongLived(), setMass(), setMassConstraint(), setP4(), setPdgId(), setPz(), setStatus(), setThreeCharge(), setVertex(), status(), theta(), threeCharge(), vertex(), vx(), vy(), and vz().