#include <Particle.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 | eta () const |
momentum pseudorapidity More... | |
bool | longLived () const |
is long lived? More... | |
double | mass () const |
mass 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... | |
Particle () | |
default constructor More... | |
Particle (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... | |
Particle (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... | |
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 | setCharge (Charge q) |
set electric charge More... | |
void | setLongLived () |
set long lived flag More... | |
void | setMass (double m) |
set particle mass 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... | |
virtual | ~Particle () |
destructor More... | |
Static Public Attributes | |
static const unsigned int | longLivedTag = 65536 |
long lived flag More... | |
Protected Member Functions | |
void | cacheCartesian () const |
set internal cache More... | |
void | cachePolar () const |
set internal cache More... | |
void | clearCache () const |
clear internal cache More... | |
Protected Attributes | |
bool | cacheCartesianFixed_ |
bool | cachePolarFixed_ |
has cache been set? More... | |
float | eta_ |
float | mass_ |
LorentzVector | p4Cartesian_ |
internal cache for p4 More... | |
PolarLorentzVector | p4Polar_ |
internal cache for p4 More... | |
int | pdgId_ |
PDG identifier. More... | |
float | phi_ |
float | pt_ |
four-momentum Lorentz vector More... | |
Charge | qx3_ |
electric charge More... | |
int | status_ |
status word More... | |
Point | vertex_ |
vertex position More... | |
Base class describing a generic reconstructed particle its main subclass is Candidate
Definition at line 20 of file Particle.h.
typedef int reco::Particle::Charge |
electric charge type
Definition at line 23 of file Particle.h.
Lorentz vector.
Definition at line 25 of file Particle.h.
typedef math::XYZPoint reco::Particle::Point |
point in the space
Definition at line 29 of file Particle.h.
Lorentz vector.
Definition at line 27 of file Particle.h.
point in the space
Definition at line 31 of file Particle.h.
|
inline |
|
inline |
constructor from values
Definition at line 38 of file Particle.h.
References qx3_.
|
inline |
constructor from values
Definition at line 46 of file Particle.h.
References qx3_.
|
inlinevirtual |
|
inline |
boost vector to boost a Lorentz vector to the particle center of mass system
Definition at line 71 of file Particle.h.
References cacheCartesian(), and p4Cartesian_.
|
inlineprotected |
set internal cache
Definition at line 188 of file Particle.h.
References cacheCartesianFixed_, cachePolar(), p4Cartesian_, and p4Polar_.
Referenced by boostToCM(), energy(), momentum(), p(), p4(), px(), py(), pz(), setPz(), and theta().
|
inlineprotected |
set internal cache
Definition at line 182 of file Particle.h.
References cachePolarFixed_, eta_, mass_, p4Polar_, phi_, and pt_.
Referenced by cacheCartesian(), et(), mt(), mtSqr(), polarP4(), and rapidity().
|
inline |
|
inlineprotected |
clear internal cache
Definition at line 195 of file Particle.h.
References cacheCartesianFixed_, and cachePolarFixed_.
Referenced by setMass().
|
inline |
energy
Definition at line 75 of file Particle.h.
References cacheCartesian(), and p4Cartesian_.
Referenced by EmDQMReco::analyze().
|
inline |
|
inline |
momentum pseudorapidity
Definition at line 99 of file Particle.h.
References eta_.
Referenced by TopHLTDiMuonDQM::analyze().
|
inline |
is long lived?
Definition at line 162 of file Particle.h.
References longLivedTag, and status_.
|
inline |
|
inline |
|
inline |
spatial momentum vector
Definition at line 68 of file Particle.h.
References cacheCartesian(), and p4Cartesian_.
|
inline |
|
inline |
transverse mass squared
Definition at line 85 of file Particle.h.
References cachePolar(), and p4Polar_.
|
inline |
magnitude of momentum vector
Definition at line 73 of file Particle.h.
References cacheCartesian(), and p4Cartesian_.
|
inline |
four-momentum Lorentz vector
Definition at line 64 of file Particle.h.
References cacheCartesian(), and p4Cartesian_.
Referenced by TtDilepLRSignalSelObservables::operator()(), TtSemiLRJetCombObservables::operator()(), CandidateTriggerObjectProducer::produce(), setP4(), ParticleReplacerClass::transformMuMu2TauNu(), and ParticleReplacerClass::transformMuMu2TauTau().
|
inline |
PDG identifier.
Definition at line 150 of file Particle.h.
References pdgId_.
Referenced by TopHLTDiMuonDQM::analyze(), setPdgId(), ParticleReplacerClass::transformMuMu2TauNu(), and ParticleReplacerClass::transformMuMu2TauTau().
|
inline |
momentum azimuthal angle
Definition at line 95 of file Particle.h.
References phi_.
Referenced by TopHLTDiMuonDQM::analyze().
|
inline |
four-momentum Lorentz vector
Definition at line 66 of file Particle.h.
References cachePolar(), and p4Polar_.
|
inline |
transverse momentum
Definition at line 93 of file Particle.h.
References pt_.
Referenced by IsMuMatchedToHLTSingleMu().
|
inline |
x coordinate of momentum vector
Definition at line 87 of file Particle.h.
References cacheCartesian(), and p4Cartesian_.
|
inline |
y coordinate of momentum vector
Definition at line 89 of file Particle.h.
References cacheCartesian(), and p4Cartesian_.
|
inline |
z coordinate of momentum vector
Definition at line 91 of file Particle.h.
References cacheCartesian(), and p4Cartesian_.
|
inline |
repidity
Definition at line 101 of file Particle.h.
References cachePolar(), and p4Polar_.
Referenced by y().
|
inline |
|
inline |
set long lived flag
Definition at line 160 of file Particle.h.
References longLivedTag, and status_.
|
inline |
|
inline |
set 4-momentum
Definition at line 105 of file Particle.h.
References cacheCartesianFixed_, cachePolarFixed_, eta_, mass_, p4(), p4Cartesian_, p4Polar_, phi_, and pt_.
Referenced by ParticleReplacerClass::transformMuMu2TauNu(), and ParticleReplacerClass::transformMuMu2TauTau().
|
inline |
set 4-momentum
Definition at line 116 of file Particle.h.
References cacheCartesianFixed_, cachePolarFixed_, eta_, mass_, p4(), p4Polar_, phi_, and pt_.
|
inline |
Definition at line 152 of file Particle.h.
References pdgId(), and pdgId_.
Referenced by TtDilepEvtSolution::getLeptNeg(), TtDilepEvtSolution::getLeptPos(), ParticleReplacerClass::transformMuMu2TauNu(), and ParticleReplacerClass::transformMuMu2TauTau().
|
inline |
Definition at line 130 of file Particle.h.
References cacheCartesian(), eta_, mass_, p4Cartesian_, p4Polar_, phi_, and pt_.
|
inline |
set status word
Definition at line 156 of file Particle.h.
References status(), and status_.
Referenced by ParticleReplacerClass::produce(), ParticleReplacerClass::transformMuMu2TauNu(), and ParticleReplacerClass::transformMuMu2TauTau().
|
inline |
|
inline |
|
inline |
status word
Definition at line 154 of file Particle.h.
References status_.
Referenced by setStatus().
|
inline |
momentum polar angle
Definition at line 97 of file Particle.h.
References cacheCartesian(), and p4Cartesian_.
|
inline |
|
inline |
vertex position
Definition at line 140 of file Particle.h.
References vertex_.
Referenced by setVertex().
|
inline |
|
inline |
|
inline |
|
inline |
repidity
Definition at line 103 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().
|
mutableprotected |
Definition at line 180 of file Particle.h.
Referenced by cacheCartesian(), clearCache(), and setP4().
|
mutableprotected |
has cache been set?
Definition at line 180 of file Particle.h.
Referenced by cachePolar(), clearCache(), and setP4().
|
protected |
Definition at line 168 of file Particle.h.
Referenced by cachePolar(), eta(), setP4(), and setPz().
|
static |
long lived flag
Definition at line 158 of file Particle.h.
Referenced by longLived(), and setLongLived().
|
protected |
Definition at line 168 of file Particle.h.
Referenced by cachePolar(), mass(), massSqr(), setMass(), setP4(), and setPz().
|
mutableprotected |
internal cache for p4
Definition at line 178 of file Particle.h.
Referenced by boostToCM(), cacheCartesian(), energy(), momentum(), p(), p4(), px(), py(), pz(), setP4(), setPz(), and theta().
|
mutableprotected |
internal cache for p4
Definition at line 176 of file Particle.h.
Referenced by cacheCartesian(), cachePolar(), et(), mt(), mtSqr(), polarP4(), rapidity(), setP4(), and setPz().
|
protected |
|
protected |
Definition at line 168 of file Particle.h.
Referenced by cachePolar(), phi(), setP4(), and setPz().
|
protected |
four-momentum Lorentz vector
Definition at line 168 of file Particle.h.
Referenced by cachePolar(), pt(), setP4(), and setPz().
|
protected |
electric charge
Definition at line 166 of file Particle.h.
Referenced by charge(), Particle(), setCharge(), setThreeCharge(), and threeCharge().
|
protected |
status word
Definition at line 174 of file Particle.h.
Referenced by longLived(), setLongLived(), setStatus(), and status().
|
protected |
vertex position
Definition at line 170 of file Particle.h.
Referenced by setVertex(), vertex(), vx(), vy(), and vz().