![]() |
![]() |
#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 | |
edm::BoolCache | cacheCartesianFixed_ |
edm::BoolCache | 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
Base class describing a generic reconstructed particle its main subclass is Candidate
Definition at line 21 of file Particle.h.
typedef int reco::Particle::Charge |
electric charge type
Definition at line 24 of file Particle.h.
Lorentz vector.
Definition at line 26 of file Particle.h.
typedef math::XYZPoint reco::Particle::Point |
point in the space
Definition at line 30 of file Particle.h.
Lorentz vector.
Definition at line 28 of file Particle.h.
point in the space
Definition at line 32 of file Particle.h.
|
inline |
default constructor
Definition at line 34 of file Particle.h.
|
inline |
constructor from values
Definition at line 39 of file Particle.h.
References qx3_.
|
inline |
constructor from values
Definition at line 47 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 72 of file Particle.h.
References cacheCartesian(), and p4Cartesian_.
|
inlineprotected |
set internal cache
Definition at line 189 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 183 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 196 of file Particle.h.
References cacheCartesianFixed_, and cachePolarFixed_.
Referenced by setMass().
|
inline |
energy
Definition at line 76 of file Particle.h.
References cacheCartesian(), and p4Cartesian_.
Referenced by EmDQMReco::analyze().
|
inline |
|
inline |
momentum pseudorapidity
Definition at line 100 of file Particle.h.
References eta_.
Referenced by TopHLTDiMuonDQM::analyze().
|
inline |
is long lived?
Definition at line 163 of file Particle.h.
References longLivedTag, and status_.
|
inline |
|
inline |
|
inline |
spatial momentum vector
Definition at line 69 of file Particle.h.
References cacheCartesian(), and p4Cartesian_.
|
inline |
|
inline |
transverse mass squared
Definition at line 86 of file Particle.h.
References cachePolar(), and p4Polar_.
|
inline |
magnitude of momentum vector
Definition at line 74 of file Particle.h.
References cacheCartesian(), and p4Cartesian_.
|
inline |
four-momentum Lorentz vector
Definition at line 65 of file Particle.h.
References cacheCartesian(), and p4Cartesian_.
Referenced by TtDilepLRSignalSelObservables::operator()(), TtSemiLRJetCombObservables::operator()(), and setP4().
|
inline |
PDG identifier.
Definition at line 151 of file Particle.h.
References pdgId_.
Referenced by TopHLTDiMuonDQM::analyze(), and setPdgId().
|
inline |
momentum azimuthal angle
Definition at line 96 of file Particle.h.
References phi_.
Referenced by TopHLTDiMuonDQM::analyze().
|
inline |
four-momentum Lorentz vector
Definition at line 67 of file Particle.h.
References cachePolar(), and p4Polar_.
|
inline |
transverse momentum
Definition at line 94 of file Particle.h.
References pt_.
Referenced by IsMuMatchedToHLTSingleMu().
|
inline |
x coordinate of momentum vector
Definition at line 88 of file Particle.h.
References cacheCartesian(), and p4Cartesian_.
|
inline |
y coordinate of momentum vector
Definition at line 90 of file Particle.h.
References cacheCartesian(), and p4Cartesian_.
|
inline |
z coordinate of momentum vector
Definition at line 92 of file Particle.h.
References cacheCartesian(), and p4Cartesian_.
|
inline |
repidity
Definition at line 102 of file Particle.h.
References cachePolar(), and p4Polar_.
Referenced by y().
|
inline |
|
inline |
set long lived flag
Definition at line 161 of file Particle.h.
References longLivedTag, and status_.
|
inline |
|
inline |
set 4-momentum
Definition at line 106 of file Particle.h.
References cacheCartesianFixed_, cachePolarFixed_, eta_, mass_, p4(), p4Cartesian_, p4Polar_, phi_, and pt_.
|
inline |
set 4-momentum
Definition at line 117 of file Particle.h.
References cacheCartesianFixed_, cachePolarFixed_, eta_, mass_, p4(), p4Polar_, phi_, and pt_.
|
inline |
Definition at line 153 of file Particle.h.
References pdgId(), and pdgId_.
Referenced by TtDilepEvtSolution::getLeptNeg(), and TtDilepEvtSolution::getLeptPos().
|
inline |
Definition at line 131 of file Particle.h.
References cacheCartesian(), eta_, mass_, p4Cartesian_, p4Polar_, phi_, and pt_.
|
inline |
|
inline |
|
inline |
|
inline |
status word
Definition at line 155 of file Particle.h.
References status_.
Referenced by setStatus().
|
inline |
momentum polar angle
Definition at line 98 of file Particle.h.
References cacheCartesian(), and p4Cartesian_.
|
inline |
|
inline |
vertex position
Definition at line 141 of file Particle.h.
References vertex_.
Referenced by setVertex().
|
inline |
|
inline |
|
inline |
|
inline |
repidity
Definition at line 104 of file Particle.h.
References rapidity().
Referenced by svgfig.Ellipse::__repr__(), python.Vispa.Gui.WidgetContainer.WidgetContainer::autosize(), python.Vispa.Gui.VispaWidget.VispaWidget::boundingRect(), geometryXMLparser.Alignable::pos(), and python.Vispa.Gui.ConnectableWidget.ConnectableWidget::positionizeMenuWidget().
|
mutableprotected |
Definition at line 181 of file Particle.h.
Referenced by cacheCartesian(), clearCache(), and setP4().
|
mutableprotected |
has cache been set?
Definition at line 181 of file Particle.h.
Referenced by cachePolar(), clearCache(), and setP4().
|
protected |
Definition at line 169 of file Particle.h.
Referenced by cachePolar(), eta(), setP4(), and setPz().
|
static |
long lived flag
Definition at line 159 of file Particle.h.
Referenced by longLived(), and setLongLived().
|
protected |
Definition at line 169 of file Particle.h.
Referenced by cachePolar(), mass(), massSqr(), setMass(), setP4(), and setPz().
|
mutableprotected |
internal cache for p4
Definition at line 179 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 177 of file Particle.h.
Referenced by cacheCartesian(), cachePolar(), et(), mt(), mtSqr(), polarP4(), rapidity(), setP4(), and setPz().
|
protected |
|
protected |
Definition at line 169 of file Particle.h.
Referenced by cachePolar(), phi(), setP4(), and setPz().
|
protected |
four-momentum Lorentz vector
Definition at line 169 of file Particle.h.
Referenced by cachePolar(), pt(), setP4(), and setPz().
|
protected |
electric charge
Definition at line 167 of file Particle.h.
Referenced by charge(), Particle(), setCharge(), setThreeCharge(), and threeCharge().
|
protected |
status word
Definition at line 175 of file Particle.h.
Referenced by longLived(), setLongLived(), setStatus(), and status().
|
protected |
vertex position
Definition at line 171 of file Particle.h.
Referenced by setVertex(), vertex(), vx(), vy(), and vz().