CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes
reco::Particle Class Reference

#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 LorentzVectorp4 () 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 PolarLorentzVectorpolarP4 () 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 Pointvertex () 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...
 

Detailed Description

Base class describing a generic reconstructed particle its main subclass is Candidate

Author
Luca Lista, INFN
Version
Id:
Particle.h,v 1.29 2011/10/27 16:29:58 wmtan Exp

Definition at line 20 of file Particle.h.

Member Typedef Documentation

electric charge type

Definition at line 23 of file Particle.h.

Lorentz vector.

Definition at line 25 of file Particle.h.

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.

Constructor & Destructor Documentation

reco::Particle::Particle ( )
inline

default constructor

Definition at line 33 of file Particle.h.

33  :
34  qx3_(0), pt_(0), eta_(0), phi_(0), mass_(0),
35  vertex_(0, 0, 0), pdgId_(0), status_(0),
36  cachePolarFixed_( false ) { }
int pdgId_
PDG identifier.
Definition: Particle.h:172
bool cachePolarFixed_
has cache been set?
Definition: Particle.h:180
Charge qx3_
electric charge
Definition: Particle.h:166
Point vertex_
vertex position
Definition: Particle.h:170
int status_
status word
Definition: Particle.h:174
float pt_
four-momentum Lorentz vector
Definition: Particle.h:168
reco::Particle::Particle ( Charge  q,
const LorentzVector p4,
const Point vertex = Point( 0, 0, 0 ),
int  pdgId = 0,
int  status = 0,
bool  integerCharge = true 
)
inline

constructor from values

Definition at line 38 of file Particle.h.

References qx3_.

39  :
40  qx3_( q ), pt_( p4.pt() ), eta_( p4.eta() ), phi_( p4.phi() ), mass_( p4.mass() ),
42  cachePolarFixed_( false ), cacheCartesianFixed_( false ) {
43  if ( integerCharge ) qx3_ *= 3;
44  }
int status() const
status word
Definition: Particle.h:154
int pdgId_
PDG identifier.
Definition: Particle.h:172
bool cachePolarFixed_
has cache been set?
Definition: Particle.h:180
Charge qx3_
electric charge
Definition: Particle.h:166
Point vertex_
vertex position
Definition: Particle.h:170
int status_
status word
Definition: Particle.h:174
const LorentzVector & p4() const
four-momentum Lorentz vector
Definition: Particle.h:64
int pdgId() const
PDG identifier.
Definition: Particle.h:150
const Point & vertex() const
vertex position
Definition: Particle.h:140
float pt_
four-momentum Lorentz vector
Definition: Particle.h:168
bool cacheCartesianFixed_
Definition: Particle.h:180
reco::Particle::Particle ( Charge  q,
const PolarLorentzVector p4,
const Point vertex = Point( 0, 0, 0 ),
int  pdgId = 0,
int  status = 0,
bool  integerCharge = true 
)
inline

constructor from values

Definition at line 46 of file Particle.h.

References qx3_.

47  :
48  qx3_( q ), pt_( p4.pt() ), eta_( p4.eta() ), phi_( p4.phi() ), mass_( p4.mass() ),
50  cachePolarFixed_( false ), cacheCartesianFixed_( false ) {
51  if ( integerCharge ) qx3_ *= 3;
52  }
int status() const
status word
Definition: Particle.h:154
int pdgId_
PDG identifier.
Definition: Particle.h:172
bool cachePolarFixed_
has cache been set?
Definition: Particle.h:180
Charge qx3_
electric charge
Definition: Particle.h:166
Point vertex_
vertex position
Definition: Particle.h:170
int status_
status word
Definition: Particle.h:174
const LorentzVector & p4() const
four-momentum Lorentz vector
Definition: Particle.h:64
int pdgId() const
PDG identifier.
Definition: Particle.h:150
const Point & vertex() const
vertex position
Definition: Particle.h:140
float pt_
four-momentum Lorentz vector
Definition: Particle.h:168
bool cacheCartesianFixed_
Definition: Particle.h:180
virtual reco::Particle::~Particle ( )
inlinevirtual

destructor

Definition at line 54 of file Particle.h.

54 { }

Member Function Documentation

Vector reco::Particle::boostToCM ( ) const
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_.

71 { cacheCartesian(); return p4Cartesian_.BoostToCM(); }
LorentzVector p4Cartesian_
internal cache for p4
Definition: Particle.h:178
void cacheCartesian() const
set internal cache
Definition: Particle.h:188
void reco::Particle::cacheCartesian ( ) const
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().

188  {
189  if ( cacheCartesianFixed_ ) return;
190  cachePolar();
192  cacheCartesianFixed_ = true;
193  }
PolarLorentzVector p4Polar_
internal cache for p4
Definition: Particle.h:176
LorentzVector p4Cartesian_
internal cache for p4
Definition: Particle.h:178
void cachePolar() const
set internal cache
Definition: Particle.h:182
bool cacheCartesianFixed_
Definition: Particle.h:180
void reco::Particle::cachePolar ( ) const
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().

182  {
183  if ( cachePolarFixed_ ) return;
185  cachePolarFixed_ = true;
186  }
PolarLorentzVector p4Polar_
internal cache for p4
Definition: Particle.h:176
bool cachePolarFixed_
has cache been set?
Definition: Particle.h:180
float pt_
four-momentum Lorentz vector
Definition: Particle.h:168
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition: Particle.h:27
int reco::Particle::charge ( ) const
inline

electric charge

Definition at line 56 of file Particle.h.

References qx3_.

56 { return qx3_ / 3; }
Charge qx3_
electric charge
Definition: Particle.h:166
void reco::Particle::clearCache ( ) const
inlineprotected

clear internal cache

Definition at line 195 of file Particle.h.

References cacheCartesianFixed_, and cachePolarFixed_.

Referenced by setMass().

195  {
196  cachePolarFixed_ = false;
197  cacheCartesianFixed_ = false;
198  }
bool cachePolarFixed_
has cache been set?
Definition: Particle.h:180
bool cacheCartesianFixed_
Definition: Particle.h:180
double reco::Particle::energy ( ) const
inline

energy

Definition at line 75 of file Particle.h.

References cacheCartesian(), and p4Cartesian_.

Referenced by EmDQMReco::analyze().

75 { cacheCartesian(); return p4Cartesian_.E(); }
LorentzVector p4Cartesian_
internal cache for p4
Definition: Particle.h:178
void cacheCartesian() const
set internal cache
Definition: Particle.h:188
double reco::Particle::et ( ) const
inline

transverse energy

Definition at line 77 of file Particle.h.

References cachePolar(), and p4Polar_.

77 { cachePolar(); return p4Polar_.Et(); }
PolarLorentzVector p4Polar_
internal cache for p4
Definition: Particle.h:176
void cachePolar() const
set internal cache
Definition: Particle.h:182
double reco::Particle::eta ( ) const
inline

momentum pseudorapidity

Definition at line 99 of file Particle.h.

References eta_.

Referenced by TopHLTDiMuonDQM::analyze().

99 { return eta_; }
bool reco::Particle::longLived ( ) const
inline

is long lived?

Definition at line 162 of file Particle.h.

References longLivedTag, and status_.

162 { return status_ & longLivedTag; }
int status_
status word
Definition: Particle.h:174
static const unsigned int longLivedTag
long lived flag
Definition: Particle.h:158
double reco::Particle::mass ( ) const
inline

mass

Definition at line 79 of file Particle.h.

References mass_.

79 { return mass_; }
double reco::Particle::massSqr ( ) const
inline

mass squared

Definition at line 81 of file Particle.h.

References mass_.

81 { return mass_ * mass_; }
Vector reco::Particle::momentum ( ) const
inline

spatial momentum vector

Definition at line 68 of file Particle.h.

References cacheCartesian(), and p4Cartesian_.

68 { cacheCartesian(); return p4Cartesian_.Vect(); }
LorentzVector p4Cartesian_
internal cache for p4
Definition: Particle.h:178
void cacheCartesian() const
set internal cache
Definition: Particle.h:188
double reco::Particle::mt ( ) const
inline

transverse mass

Definition at line 83 of file Particle.h.

References cachePolar(), and p4Polar_.

83 { cachePolar(); return p4Polar_.Mt(); }
PolarLorentzVector p4Polar_
internal cache for p4
Definition: Particle.h:176
void cachePolar() const
set internal cache
Definition: Particle.h:182
double reco::Particle::mtSqr ( ) const
inline

transverse mass squared

Definition at line 85 of file Particle.h.

References cachePolar(), and p4Polar_.

85 { cachePolar(); return p4Polar_.Mt2(); }
PolarLorentzVector p4Polar_
internal cache for p4
Definition: Particle.h:176
void cachePolar() const
set internal cache
Definition: Particle.h:182
double reco::Particle::p ( ) const
inline

magnitude of momentum vector

Definition at line 73 of file Particle.h.

References cacheCartesian(), and p4Cartesian_.

73 { cacheCartesian(); return p4Cartesian_.P(); }
LorentzVector p4Cartesian_
internal cache for p4
Definition: Particle.h:178
void cacheCartesian() const
set internal cache
Definition: Particle.h:188
const LorentzVector& reco::Particle::p4 ( ) const
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().

64 { cacheCartesian(); return p4Cartesian_; }
LorentzVector p4Cartesian_
internal cache for p4
Definition: Particle.h:178
void cacheCartesian() const
set internal cache
Definition: Particle.h:188
int reco::Particle::pdgId ( ) const
inline

PDG identifier.

Definition at line 150 of file Particle.h.

References pdgId_.

Referenced by TopHLTDiMuonDQM::analyze(), setPdgId(), ParticleReplacerClass::transformMuMu2TauNu(), and ParticleReplacerClass::transformMuMu2TauTau().

150 { return pdgId_; }
int pdgId_
PDG identifier.
Definition: Particle.h:172
double reco::Particle::phi ( ) const
inline

momentum azimuthal angle

Definition at line 95 of file Particle.h.

References phi_.

Referenced by TopHLTDiMuonDQM::analyze().

95 { return phi_; }
const PolarLorentzVector& reco::Particle::polarP4 ( ) const
inline

four-momentum Lorentz vector

Definition at line 66 of file Particle.h.

References cachePolar(), and p4Polar_.

66 { cachePolar(); return p4Polar_; }
PolarLorentzVector p4Polar_
internal cache for p4
Definition: Particle.h:176
void cachePolar() const
set internal cache
Definition: Particle.h:182
double reco::Particle::pt ( ) const
inline

transverse momentum

Definition at line 93 of file Particle.h.

References pt_.

Referenced by IsMuMatchedToHLTSingleMu().

93 { return pt_; }
float pt_
four-momentum Lorentz vector
Definition: Particle.h:168
double reco::Particle::px ( ) const
inline

x coordinate of momentum vector

Definition at line 87 of file Particle.h.

References cacheCartesian(), and p4Cartesian_.

87 { cacheCartesian(); return p4Cartesian_.Px(); }
LorentzVector p4Cartesian_
internal cache for p4
Definition: Particle.h:178
void cacheCartesian() const
set internal cache
Definition: Particle.h:188
double reco::Particle::py ( ) const
inline

y coordinate of momentum vector

Definition at line 89 of file Particle.h.

References cacheCartesian(), and p4Cartesian_.

89 { cacheCartesian(); return p4Cartesian_.Py(); }
LorentzVector p4Cartesian_
internal cache for p4
Definition: Particle.h:178
void cacheCartesian() const
set internal cache
Definition: Particle.h:188
double reco::Particle::pz ( ) const
inline

z coordinate of momentum vector

Definition at line 91 of file Particle.h.

References cacheCartesian(), and p4Cartesian_.

91 { cacheCartesian(); return p4Cartesian_.Pz(); }
LorentzVector p4Cartesian_
internal cache for p4
Definition: Particle.h:178
void cacheCartesian() const
set internal cache
Definition: Particle.h:188
double reco::Particle::rapidity ( ) const
inline

repidity

Definition at line 101 of file Particle.h.

References cachePolar(), and p4Polar_.

Referenced by y().

101 { cachePolar(); return p4Polar_.Rapidity(); }
PolarLorentzVector p4Polar_
internal cache for p4
Definition: Particle.h:176
void cachePolar() const
set internal cache
Definition: Particle.h:182
void reco::Particle::setCharge ( Charge  q)
inline

set electric charge

Definition at line 58 of file Particle.h.

References qx3_.

58 { qx3_ = q * 3; }
Charge qx3_
electric charge
Definition: Particle.h:166
void reco::Particle::setLongLived ( )
inline

set long lived flag

Definition at line 160 of file Particle.h.

References longLivedTag, and status_.

160 { status_ |= longLivedTag; }
int status_
status word
Definition: Particle.h:174
static const unsigned int longLivedTag
long lived flag
Definition: Particle.h:158
void reco::Particle::setMass ( double  m)
inline

set particle mass

Definition at line 126 of file Particle.h.

References clearCache(), m, and mass_.

126  {
127  mass_ = m;
128  clearCache();
129  }
void clearCache() const
clear internal cache
Definition: Particle.h:195
void reco::Particle::setP4 ( const LorentzVector p4)
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().

105  {
106  p4Cartesian_ = p4;
107  p4Polar_ = p4;
108  pt_ = p4Polar_.pt();
109  eta_ = p4Polar_.eta();
110  phi_ = p4Polar_.phi();
111  mass_ = p4Polar_.mass();
112  cachePolarFixed_ = true;
113  cacheCartesianFixed_ = true;
114  }
PolarLorentzVector p4Polar_
internal cache for p4
Definition: Particle.h:176
bool cachePolarFixed_
has cache been set?
Definition: Particle.h:180
LorentzVector p4Cartesian_
internal cache for p4
Definition: Particle.h:178
const LorentzVector & p4() const
four-momentum Lorentz vector
Definition: Particle.h:64
float pt_
four-momentum Lorentz vector
Definition: Particle.h:168
bool cacheCartesianFixed_
Definition: Particle.h:180
void reco::Particle::setP4 ( const PolarLorentzVector p4)
inline

set 4-momentum

Definition at line 116 of file Particle.h.

References cacheCartesianFixed_, cachePolarFixed_, eta_, mass_, p4(), p4Polar_, phi_, and pt_.

116  {
117  p4Polar_ = p4;
118  pt_ = p4Polar_.pt();
119  eta_ = p4Polar_.eta();
120  phi_ = p4Polar_.phi();
121  mass_ = p4Polar_.mass();
122  cachePolarFixed_ = true;
123  cacheCartesianFixed_ = false;
124  }
PolarLorentzVector p4Polar_
internal cache for p4
Definition: Particle.h:176
bool cachePolarFixed_
has cache been set?
Definition: Particle.h:180
const LorentzVector & p4() const
four-momentum Lorentz vector
Definition: Particle.h:64
float pt_
four-momentum Lorentz vector
Definition: Particle.h:168
bool cacheCartesianFixed_
Definition: Particle.h:180
void reco::Particle::setPdgId ( int  pdgId)
inline

Definition at line 152 of file Particle.h.

References pdgId(), and pdgId_.

Referenced by TtDilepEvtSolution::getLeptNeg(), TtDilepEvtSolution::getLeptPos(), ParticleReplacerClass::transformMuMu2TauNu(), and ParticleReplacerClass::transformMuMu2TauTau().

152 { pdgId_ = pdgId; }
int pdgId_
PDG identifier.
Definition: Particle.h:172
int pdgId() const
PDG identifier.
Definition: Particle.h:150
void reco::Particle::setPz ( double  pz)
inline

Definition at line 130 of file Particle.h.

References cacheCartesian(), eta_, mass_, p4Cartesian_, p4Polar_, phi_, and pt_.

130  {
131  cacheCartesian();
132  p4Cartesian_.SetPz(pz);
134  pt_ = p4Polar_.pt();
135  eta_ = p4Polar_.eta();
136  phi_ = p4Polar_.phi();
137  mass_ = p4Polar_.mass();
138  }
PolarLorentzVector p4Polar_
internal cache for p4
Definition: Particle.h:176
LorentzVector p4Cartesian_
internal cache for p4
Definition: Particle.h:178
void cacheCartesian() const
set internal cache
Definition: Particle.h:188
double pz() const
z coordinate of momentum vector
Definition: Particle.h:91
float pt_
four-momentum Lorentz vector
Definition: Particle.h:168
void reco::Particle::setStatus ( int  status)
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().

156 { status_ = status; }
int status() const
status word
Definition: Particle.h:154
int status_
status word
Definition: Particle.h:174
void reco::Particle::setThreeCharge ( Charge  qx3)
inline

set electric charge

Definition at line 62 of file Particle.h.

References qx3_.

62 { qx3_ = qx3; }
Charge qx3_
electric charge
Definition: Particle.h:166
void reco::Particle::setVertex ( const Point vertex)
inline

set vertex

Definition at line 148 of file Particle.h.

References vertex(), and vertex_.

148 { vertex_ = vertex; }
Point vertex_
vertex position
Definition: Particle.h:170
const Point & vertex() const
vertex position
Definition: Particle.h:140
int reco::Particle::status ( ) const
inline

status word

Definition at line 154 of file Particle.h.

References status_.

Referenced by setStatus().

154 { return status_; }
int status_
status word
Definition: Particle.h:174
double reco::Particle::theta ( ) const
inline

momentum polar angle

Definition at line 97 of file Particle.h.

References cacheCartesian(), and p4Cartesian_.

97 { cacheCartesian(); return p4Cartesian_.Theta(); }
LorentzVector p4Cartesian_
internal cache for p4
Definition: Particle.h:178
void cacheCartesian() const
set internal cache
Definition: Particle.h:188
int reco::Particle::threeCharge ( ) const
inline

electric charge

Definition at line 60 of file Particle.h.

References qx3_.

60 { return qx3_; }
Charge qx3_
electric charge
Definition: Particle.h:166
const Point& reco::Particle::vertex ( ) const
inline

vertex position

Definition at line 140 of file Particle.h.

References vertex_.

Referenced by setVertex().

140 { return vertex_; }
Point vertex_
vertex position
Definition: Particle.h:170
double reco::Particle::vx ( ) const
inline

x coordinate of vertex position

Definition at line 142 of file Particle.h.

References vertex_.

142 { return vertex_.X(); }
Point vertex_
vertex position
Definition: Particle.h:170
double reco::Particle::vy ( ) const
inline

y coordinate of vertex position

Definition at line 144 of file Particle.h.

References vertex_.

144 { return vertex_.Y(); }
Point vertex_
vertex position
Definition: Particle.h:170
double reco::Particle::vz ( ) const
inline

z coordinate of vertex position

Definition at line 146 of file Particle.h.

References vertex_.

146 { return vertex_.Z(); }
Point vertex_
vertex position
Definition: Particle.h:170
double reco::Particle::y ( ) const
inline

Member Data Documentation

bool reco::Particle::cacheCartesianFixed_
mutableprotected

Definition at line 180 of file Particle.h.

Referenced by cacheCartesian(), clearCache(), and setP4().

bool reco::Particle::cachePolarFixed_
mutableprotected

has cache been set?

Definition at line 180 of file Particle.h.

Referenced by cachePolar(), clearCache(), and setP4().

float reco::Particle::eta_
protected

Definition at line 168 of file Particle.h.

Referenced by cachePolar(), eta(), setP4(), and setPz().

const unsigned int reco::Particle::longLivedTag = 65536
static

long lived flag

Definition at line 158 of file Particle.h.

Referenced by longLived(), and setLongLived().

float reco::Particle::mass_
protected

Definition at line 168 of file Particle.h.

Referenced by cachePolar(), mass(), massSqr(), setMass(), setP4(), and setPz().

LorentzVector reco::Particle::p4Cartesian_
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().

PolarLorentzVector reco::Particle::p4Polar_
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().

int reco::Particle::pdgId_
protected

PDG identifier.

Definition at line 172 of file Particle.h.

Referenced by pdgId(), and setPdgId().

float reco::Particle::phi_
protected

Definition at line 168 of file Particle.h.

Referenced by cachePolar(), phi(), setP4(), and setPz().

float reco::Particle::pt_
protected

four-momentum Lorentz vector

Definition at line 168 of file Particle.h.

Referenced by cachePolar(), pt(), setP4(), and setPz().

Charge reco::Particle::qx3_
protected

electric charge

Definition at line 166 of file Particle.h.

Referenced by charge(), Particle(), setCharge(), setThreeCharge(), and threeCharge().

int reco::Particle::status_
protected

status word

Definition at line 174 of file Particle.h.

Referenced by longLived(), setLongLived(), setStatus(), and status().

Point reco::Particle::vertex_
protected

vertex position

Definition at line 170 of file Particle.h.

Referenced by setVertex(), vertex(), vx(), vy(), and vz().