#include <ParticleBase.h>
Public Types | |
typedef int | Charge |
electric charge type More... | |
typedef math::XYZTLorentzVectorD | LorentzVector |
Lorentz vector. More... | |
typedef math::XYZPointD | Point |
point in the space More... | |
typedef math::PtEtaPhiMLorentzVector | PolarLorentzVector |
Lorentz vector. More... | |
typedef math::XYZVectorD | 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... | |
ParticleBase () | |
default constructor More... | |
ParticleBase (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... | |
ParticleBase (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 | ~ParticleBase () |
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... | |
Definition at line 19 of file ParticleBase.h.
typedef int ParticleBase::Charge |
electric charge type
Definition at line 23 of file ParticleBase.h.
Lorentz vector.
Definition at line 25 of file ParticleBase.h.
typedef math::XYZPointD ParticleBase::Point |
point in the space
Definition at line 29 of file ParticleBase.h.
Lorentz vector.
Definition at line 27 of file ParticleBase.h.
typedef math::XYZVectorD ParticleBase::Vector |
point in the space
Definition at line 31 of file ParticleBase.h.
|
inline |
default constructor
Definition at line 33 of file ParticleBase.h.
|
inline |
constructor from values
Definition at line 35 of file ParticleBase.h.
References qx3_.
|
inline |
constructor from values
Definition at line 44 of file ParticleBase.h.
References qx3_.
|
inlinevirtual |
|
inline |
boost vector to boost a Lorentz vector to the particle center of mass system
Definition at line 94 of file ParticleBase.h.
References cacheCartesian(), and p4Cartesian_.
|
inlineprotected |
set internal cache
Definition at line 311 of file ParticleBase.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 304 of file ParticleBase.h.
References cachePolarFixed_, eta_, mass_, p4Polar_, phi_, and pt_.
Referenced by cacheCartesian(), et(), mt(), mtSqr(), polarP4(), and rapidity().
|
inline |
electric charge
Definition at line 55 of file ParticleBase.h.
References qx3_.
Referenced by FWTrackingParticleProxyBuilder::build(), RecoMuonValidator::MuonME::fill(), CosmicParametersDefinerForTP::momentum(), ParametersDefinerForTP::momentum(), TrackingParticleSelector::operator()(), CosmicTrackingParticleSelector::operator()(), operator<<(), ShallowSimTracksProducer::produce(), RecoTracktoTP::s_qoverp(), TPtoRecoTrack::s_qoverp(), CosmicParametersDefinerForTP::vertex(), and ParametersDefinerForTP::vertex().
|
inlineprotected |
clear internal cache
Definition at line 319 of file ParticleBase.h.
References cacheCartesianFixed_, and cachePolarFixed_.
Referenced by setMass().
|
inline |
energy
Definition at line 106 of file ParticleBase.h.
References cacheCartesian(), and p4Cartesian_.
|
inline |
transverse energy
Definition at line 112 of file ParticleBase.h.
References cachePolar(), and p4Polar_.
|
inline |
momentum pseudorapidity
Definition at line 174 of file ParticleBase.h.
References eta_.
Referenced by RecoMuonValidator::MuonME::fill(), and ShallowSimTracksProducer::produce().
|
inline |
is long lived?
Definition at line 281 of file ParticleBase.h.
References longLivedTag, and status_.
|
inline |
|
inline |
|
inline |
spatial momentum vector
Definition at line 87 of file ParticleBase.h.
References cacheCartesian(), and p4Cartesian_.
Referenced by MultiTrackValidator::analyze(), V0Validator::analyze(), MuonTrackValidator::analyze(), RecoMuonValidator::MuonME::fill(), ParametersDefinerForTP::momentum(), TrackingParticleSelector::operator()(), and ParametersDefinerForTP::vertex().
|
inline |
transverse mass
Definition at line 128 of file ParticleBase.h.
References cachePolar(), and p4Polar_.
|
inline |
transverse mass squared
Definition at line 134 of file ParticleBase.h.
References cachePolar(), and p4Polar_.
|
inline |
magnitude of momentum vector
Definition at line 100 of file ParticleBase.h.
References cacheCartesian(), and p4Cartesian_.
Referenced by RecoMuonValidator::MuonME::fill(), and ShallowSimTracksProducer::produce().
|
inline |
four-momentum Lorentz vector
Definition at line 75 of file ParticleBase.h.
References cacheCartesian(), and p4Cartesian_.
Referenced by operator<<(), and setP4().
|
inline |
PDG identifier.
Definition at line 254 of file ParticleBase.h.
References pdgId_.
Referenced by setPdgId().
|
inline |
momentum azimuthal angle
Definition at line 163 of file ParticleBase.h.
References phi_.
Referenced by RecoMuonValidator::MuonME::fill(), and ShallowSimTracksProducer::produce().
|
inline |
four-momentum Lorentz vector
Definition at line 81 of file ParticleBase.h.
References cachePolar(), and p4Polar_.
|
inline |
transverse momentum
Definition at line 158 of file ParticleBase.h.
References pt_.
Referenced by RecoMuonValidator::MuonME::fill(), and ShallowSimTracksProducer::produce().
|
inline |
x coordinate of momentum vector
Definition at line 140 of file ParticleBase.h.
References cacheCartesian(), and p4Cartesian_.
Referenced by FWTrackingParticleProxyBuilder::build().
|
inline |
y coordinate of momentum vector
Definition at line 146 of file ParticleBase.h.
References cacheCartesian(), and p4Cartesian_.
Referenced by FWTrackingParticleProxyBuilder::build().
|
inline |
z coordinate of momentum vector
Definition at line 152 of file ParticleBase.h.
References cacheCartesian(), and p4Cartesian_.
Referenced by FWTrackingParticleProxyBuilder::build().
|
inline |
repidity
Definition at line 179 of file ParticleBase.h.
References cachePolar(), and p4Polar_.
Referenced by y().
|
inline |
|
inline |
set long lived flag
Definition at line 276 of file ParticleBase.h.
References longLivedTag, and status_.
|
inline |
set particle mass
Definition at line 213 of file ParticleBase.h.
References clearCache(), m, and mass_.
|
inline |
set 4-momentum
Definition at line 190 of file ParticleBase.h.
References cacheCartesianFixed_, cachePolarFixed_, eta_, mass_, p4(), p4Cartesian_, p4Polar_, phi_, and pt_.
|
inline |
set 4-momentum
Definition at line 202 of file ParticleBase.h.
References cacheCartesianFixed_, cachePolarFixed_, eta_, mass_, p4(), p4Polar_, phi_, and pt_.
|
inline |
|
inline |
Definition at line 218 of file ParticleBase.h.
References cacheCartesian(), eta_, mass_, p4Cartesian_, p4Polar_, phi_, and pt_.
|
inline |
|
inline |
|
inline |
set vertex
Definition at line 249 of file ParticleBase.h.
References vertex(), and vertex_.
Referenced by TrackingParticle::setVertex().
|
inline |
status word
Definition at line 264 of file ParticleBase.h.
References status_.
Referenced by setStatus().
|
inline |
momentum polar angle
Definition at line 168 of file ParticleBase.h.
References cacheCartesian(), and p4Cartesian_.
Referenced by ShallowSimTracksProducer::produce().
|
inline |
|
inline |
vertex position
Definition at line 229 of file ParticleBase.h.
References vertex_.
Referenced by MultiTrackValidator::analyze(), V0Validator::analyze(), MuonTrackValidator::analyze(), RecoMuonValidator::MuonME::fill(), ParametersDefinerForTP::momentum(), TrackingParticleSelector::operator()(), operator<<(), setVertex(), and ParametersDefinerForTP::vertex().
|
inline |
x coordinate of vertex position
Definition at line 234 of file ParticleBase.h.
References vertex_.
Referenced by FWTrackingParticleProxyBuilder::build().
|
inline |
y coordinate of vertex position
Definition at line 239 of file ParticleBase.h.
References vertex_.
Referenced by FWTrackingParticleProxyBuilder::build().
|
inline |
z coordinate of vertex position
Definition at line 244 of file ParticleBase.h.
References vertex_.
Referenced by FWTrackingParticleProxyBuilder::build().
|
inline |
repidity
Definition at line 185 of file ParticleBase.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 302 of file ParticleBase.h.
Referenced by cacheCartesian(), clearCache(), and setP4().
|
mutableprotected |
has cache been set?
Definition at line 302 of file ParticleBase.h.
Referenced by cachePolar(), clearCache(), and setP4().
|
protected |
Definition at line 290 of file ParticleBase.h.
Referenced by cachePolar(), eta(), setP4(), and setPz().
|
static |
long lived flag
Definition at line 274 of file ParticleBase.h.
Referenced by longLived(), and setLongLived().
|
protected |
Definition at line 290 of file ParticleBase.h.
Referenced by cachePolar(), mass(), massSqr(), setMass(), setP4(), and setPz().
|
mutableprotected |
internal cache for p4
Definition at line 300 of file ParticleBase.h.
Referenced by boostToCM(), cacheCartesian(), energy(), momentum(), p(), p4(), px(), py(), pz(), setP4(), setPz(), and theta().
|
mutableprotected |
internal cache for p4
Definition at line 298 of file ParticleBase.h.
Referenced by cacheCartesian(), cachePolar(), et(), mt(), mtSqr(), polarP4(), rapidity(), setP4(), and setPz().
|
protected |
PDG identifier.
Definition at line 294 of file ParticleBase.h.
Referenced by pdgId(), and setPdgId().
|
protected |
Definition at line 290 of file ParticleBase.h.
Referenced by cachePolar(), phi(), setP4(), and setPz().
|
protected |
four-momentum Lorentz vector
Definition at line 290 of file ParticleBase.h.
Referenced by cachePolar(), pt(), setP4(), and setPz().
|
protected |
electric charge
Definition at line 288 of file ParticleBase.h.
Referenced by charge(), ParticleBase(), setCharge(), setThreeCharge(), and threeCharge().
|
protected |
status word
Definition at line 296 of file ParticleBase.h.
Referenced by longLived(), setLongLived(), setStatus(), and status().
|
protected |
vertex position
Definition at line 292 of file ParticleBase.h.
Referenced by setVertex(), vertex(), vx(), vy(), and vz().