#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 |
|
inline |
Definition at line 36 of file Particle.h.
References operator=(), p3, p4(), Particle(), pdgId(), lumiQueryAPI::q, and status().
|
default |
|
default |
|
inlinevirtual |
|
inline |
boost vector to boost a Lorentz vector to the particle center of mass system
Definition at line 79 of file Particle.h.
References reco::ParticleState::boostToCM(), and m_state.
|
inline |
electric charge
Definition at line 64 of file Particle.h.
References reco::ParticleState::charge(), and m_state.
|
inline |
Definition at line 55 of file Particle.h.
References m_state.
|
inline |
energy
Definition at line 83 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 85 of file Particle.h.
References reco::ParticleState::et(), and m_state.
|
inline |
transverse energy squared (use this for cut!)
Definition at line 87 of file Particle.h.
References reco::ParticleState::et2(), and m_state.
|
inline |
momentum pseudorapidity
Definition at line 110 of file Particle.h.
References reco::ParticleState::eta(), and m_state.
Referenced by Particle.Particle::__str__(), DQMExample_Step1::analyze(), Jet.Jet::jetID(), and Jet.Jet::puJetId().
|
inline |
is long lived?
Definition at line 145 of file Particle.h.
References reco::ParticleState::longLived(), and m_state.
|
inline |
mass
Definition at line 89 of file Particle.h.
References m_state, and reco::ParticleState::mass().
Referenced by Particle.Particle::__str__(), DiObject.DiMuon::__str__(), and massSqr().
|
inline |
do mass constraint?
Definition at line 150 of file Particle.h.
References m_state, and reco::ParticleState::massConstraint().
|
inline |
|
inline |
spatial momentum vector
Definition at line 76 of file Particle.h.
References m_state, and reco::ParticleState::momentum().
|
inline |
transverse mass
Definition at line 94 of file Particle.h.
References m_state, and reco::ParticleState::mt().
|
inline |
transverse mass squared
Definition at line 96 of file Particle.h.
References m_state, and reco::ParticleState::mtSqr().
Referenced by Particle().
|
inline |
magnitude of momentum vector
Definition at line 81 of file Particle.h.
References m_state, and reco::ParticleState::p().
Referenced by Electron.Electron::ptErr().
|
inline |
four-momentum Lorentz vector
Definition at line 72 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(), Particle(), and CandidateTriggerObjectProducer::produce().
|
inline |
PDG identifier.
Definition at line 134 of file Particle.h.
References m_state, and reco::ParticleState::pdgId().
Referenced by Particle.Particle::__str__(), DQMExample_Step1::analyze(), and Particle().
|
inline |
momentum azimuthal angle
Definition at line 106 of file Particle.h.
References m_state, and reco::ParticleState::phi().
Referenced by Particle.Particle::__str__(), and DQMExample_Step1::analyze().
|
inline |
four-momentum Lorentz vector
Definition at line 74 of file Particle.h.
References m_state, and reco::ParticleState::polarP4().
|
inline |
transverse momentum
Definition at line 104 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(), IsMuMatchedToHLTSingleMu(), Electron.Electron::mvaIDLoose(), Electron.Electron::mvaIDRun2(), Electron.Electron::mvaIDTight(), Electron.Electron::ptErr(), Lepton.Lepton::relIso(), Lepton.Lepton::relIsoFromEA(), Lepton.Lepton::relIsoR(), and Jet.Jet::setCorrP4().
|
inline |
x coordinate of momentum vector
Definition at line 98 of file Particle.h.
References m_state, and reco::ParticleState::px().
|
inline |
y coordinate of momentum vector
Definition at line 100 of file Particle.h.
References m_state, and reco::ParticleState::py().
|
inline |
z coordinate of momentum vector
Definition at line 102 of file Particle.h.
References m_state, and reco::ParticleState::pz().
|
inline |
rapidity
Definition at line 112 of file Particle.h.
References m_state, and reco::ParticleState::rapidity().
Referenced by y().
|
inline |
set electric charge
Definition at line 66 of file Particle.h.
References m_state, and reco::ParticleState::setCharge().
|
inline |
long lived flag set long lived flag
Definition at line 143 of file Particle.h.
References m_state, and reco::ParticleState::setLongLived().
|
inline |
set particle mass
Definition at line 120 of file Particle.h.
References m_state, and reco::ParticleState::setMass().
|
inline |
do mass constraint flag set mass constraint flag
Definition at line 148 of file Particle.h.
References m_state, and reco::ParticleState::setMassConstraint().
|
inline |
set 4-momentum
Definition at line 116 of file Particle.h.
References m_state, and reco::ParticleState::setP4().
Referenced by Jet.Jet::setCorrP4().
|
inline |
set 4-momentum
Definition at line 118 of file Particle.h.
References m_state, and reco::ParticleState::setP4().
Referenced by Jet.Jet::setCorrP4().
|
inline |
Definition at line 136 of file Particle.h.
References m_state, and reco::ParticleState::setPdgId().
Referenced by TtDilepEvtSolution::getLeptNeg(), and TtDilepEvtSolution::getLeptPos().
|
inline |
|
inline |
set status word
Definition at line 140 of file Particle.h.
References m_state, and reco::ParticleState::setStatus().
|
inline |
set electric charge
Definition at line 70 of file Particle.h.
References m_state, and reco::ParticleState::setThreeCharge().
|
inline |
set vertex
Definition at line 131 of file Particle.h.
References m_state, and reco::ParticleState::setVertex().
|
inline |
status word
Definition at line 138 of file Particle.h.
References m_state, and reco::ParticleState::status().
Referenced by Particle().
|
inline |
momentum polar angle
Definition at line 108 of file Particle.h.
References m_state, and reco::ParticleState::theta().
Referenced by Tau.Tau::zImpact().
|
inline |
electric charge
Definition at line 68 of file Particle.h.
References m_state, and reco::ParticleState::threeCharge().
|
inline |
vertex position (overwritten by PF...)
Definition at line 123 of file Particle.h.
References m_state, and reco::ParticleState::vertex().
Referenced by Tau.Tau::dxy().
|
inline |
x coordinate of vertex position
Definition at line 125 of file Particle.h.
References m_state, and reco::ParticleState::vx().
|
inline |
y coordinate of vertex position
Definition at line 127 of file Particle.h.
References m_state, and reco::ParticleState::vy().
|
inline |
z coordinate of vertex position
Definition at line 129 of file Particle.h.
References m_state, and reco::ParticleState::vz().
|
inline |
rapidity
Definition at line 114 of file Particle.h.
References rapidity().
Referenced by svgfig.Ellipse::__repr__(), Vispa.Gui.WidgetContainer.WidgetContainer::autosize(), Vispa.Gui.VispaWidget.VispaWidget::boundingRect(), geometryXMLparser.Alignable::pos(), and Vispa.Gui.ConnectableWidget.ConnectableWidget::positionizeMenuWidget().
|
private |
Definition at line 153 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().