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
ParticleBase Class Reference

#include <ParticleBase.h>

Inheritance diagram for ParticleBase:
TrackingParticle

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 LorentzVectorp4 () 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 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 ~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...
 

Detailed Description

Definition at line 19 of file ParticleBase.h.

Member Typedef Documentation

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.

point in the space

Definition at line 29 of file ParticleBase.h.

Lorentz vector.

Definition at line 27 of file ParticleBase.h.

point in the space

Definition at line 31 of file ParticleBase.h.

Constructor & Destructor Documentation

ParticleBase::ParticleBase ( )
inline

default constructor

Definition at line 33 of file ParticleBase.h.

33 : cachePolarFixed_( false ) { }
edm::BoolCache cachePolarFixed_
has cache been set?
Definition: ParticleBase.h:302
ParticleBase::ParticleBase ( 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 35 of file ParticleBase.h.

References qx3_.

36  :
37  qx3_( q ), pt_( p4.pt() ), eta_( p4.eta() ), phi_( p4.phi() ), mass_( p4.mass() ),
39  cachePolarFixed_( false ), cacheCartesianFixed_( false )
40  {
41  if ( integerCharge ) qx3_ *= 3;
42  }
int status_
status word
Definition: ParticleBase.h:296
int pdgId() const
PDG identifier.
Definition: ParticleBase.h:254
int pdgId_
PDG identifier.
Definition: ParticleBase.h:294
float pt_
four-momentum Lorentz vector
Definition: ParticleBase.h:290
edm::BoolCache cacheCartesianFixed_
Definition: ParticleBase.h:302
Point vertex_
vertex position
Definition: ParticleBase.h:292
edm::BoolCache cachePolarFixed_
has cache been set?
Definition: ParticleBase.h:302
const LorentzVector & p4() const
four-momentum Lorentz vector
Definition: ParticleBase.h:75
Charge qx3_
electric charge
Definition: ParticleBase.h:288
int status() const
status word
Definition: ParticleBase.h:264
const Point & vertex() const
vertex position
Definition: ParticleBase.h:229
ParticleBase::ParticleBase ( 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 44 of file ParticleBase.h.

References qx3_.

45  :
46  qx3_( q ), pt_( p4.pt() ), eta_( p4.eta() ), phi_( p4.phi() ), mass_( p4.mass() ),
48  cachePolarFixed_( false ), cacheCartesianFixed_( false )
49  {
50  if ( integerCharge ) qx3_ *= 3;
51  }
int status_
status word
Definition: ParticleBase.h:296
int pdgId() const
PDG identifier.
Definition: ParticleBase.h:254
int pdgId_
PDG identifier.
Definition: ParticleBase.h:294
float pt_
four-momentum Lorentz vector
Definition: ParticleBase.h:290
edm::BoolCache cacheCartesianFixed_
Definition: ParticleBase.h:302
Point vertex_
vertex position
Definition: ParticleBase.h:292
edm::BoolCache cachePolarFixed_
has cache been set?
Definition: ParticleBase.h:302
const LorentzVector & p4() const
four-momentum Lorentz vector
Definition: ParticleBase.h:75
Charge qx3_
electric charge
Definition: ParticleBase.h:288
int status() const
status word
Definition: ParticleBase.h:264
const Point & vertex() const
vertex position
Definition: ParticleBase.h:229
virtual ParticleBase::~ParticleBase ( )
inlinevirtual

destructor

Definition at line 53 of file ParticleBase.h.

53 { }

Member Function Documentation

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

95  {
97  return p4Cartesian_.BoostToCM();
98  }
void cacheCartesian() const
set internal cache
Definition: ParticleBase.h:311
LorentzVector p4Cartesian_
internal cache for p4
Definition: ParticleBase.h:300
void ParticleBase::cacheCartesian ( ) const
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().

312  {
313  if ( cacheCartesianFixed_ ) return;
314  cachePolar();
316  cacheCartesianFixed_ = true;
317  }
PolarLorentzVector p4Polar_
internal cache for p4
Definition: ParticleBase.h:298
edm::BoolCache cacheCartesianFixed_
Definition: ParticleBase.h:302
void cachePolar() const
set internal cache
Definition: ParticleBase.h:304
LorentzVector p4Cartesian_
internal cache for p4
Definition: ParticleBase.h:300
void ParticleBase::cachePolar ( ) const
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().

305  {
306  if ( cachePolarFixed_ ) return;
308  cachePolarFixed_ = true;
309  }
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition: ParticleBase.h:27
PolarLorentzVector p4Polar_
internal cache for p4
Definition: ParticleBase.h:298
float pt_
four-momentum Lorentz vector
Definition: ParticleBase.h:290
edm::BoolCache cachePolarFixed_
has cache been set?
Definition: ParticleBase.h:302
int ParticleBase::charge ( void  ) const
inline
void ParticleBase::clearCache ( ) const
inlineprotected

clear internal cache

Definition at line 319 of file ParticleBase.h.

References cacheCartesianFixed_, and cachePolarFixed_.

Referenced by setMass().

320  {
321  cachePolarFixed_ = false;
322  cacheCartesianFixed_ = false;
323  }
edm::BoolCache cacheCartesianFixed_
Definition: ParticleBase.h:302
edm::BoolCache cachePolarFixed_
has cache been set?
Definition: ParticleBase.h:302
double ParticleBase::energy ( void  ) const
inline

energy

Definition at line 106 of file ParticleBase.h.

References cacheCartesian(), and p4Cartesian_.

107  {
108  cacheCartesian();
109  return p4Cartesian_.E();
110  }
void cacheCartesian() const
set internal cache
Definition: ParticleBase.h:311
LorentzVector p4Cartesian_
internal cache for p4
Definition: ParticleBase.h:300
double ParticleBase::et ( ) const
inline

transverse energy

Definition at line 112 of file ParticleBase.h.

References cachePolar(), and p4Polar_.

113  {
114  cachePolar();
115  return p4Polar_.Et();
116  }
PolarLorentzVector p4Polar_
internal cache for p4
Definition: ParticleBase.h:298
void cachePolar() const
set internal cache
Definition: ParticleBase.h:304
double ParticleBase::eta ( void  ) const
inline

momentum pseudorapidity

Definition at line 174 of file ParticleBase.h.

References eta_.

Referenced by RecoMuonValidator::MuonME::fill(), and ShallowSimTracksProducer::produce().

175  {
176  return eta_;
177  }
bool ParticleBase::longLived ( ) const
inline

is long lived?

Definition at line 281 of file ParticleBase.h.

References longLivedTag, and status_.

282  {
283  return status_ & longLivedTag;
284  }
int status_
status word
Definition: ParticleBase.h:296
static const unsigned int longLivedTag
long lived flag
Definition: ParticleBase.h:274
double ParticleBase::mass ( ) const
inline

mass

Definition at line 118 of file ParticleBase.h.

References mass_.

119  {
120  return mass_;
121  }
double ParticleBase::massSqr ( ) const
inline

mass squared

Definition at line 123 of file ParticleBase.h.

References mass_.

124  {
125  return mass_ * mass_;
126  }
Vector ParticleBase::momentum ( ) const
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().

88  {
90  return p4Cartesian_.Vect();
91  }
void cacheCartesian() const
set internal cache
Definition: ParticleBase.h:311
LorentzVector p4Cartesian_
internal cache for p4
Definition: ParticleBase.h:300
double ParticleBase::mt ( ) const
inline

transverse mass

Definition at line 128 of file ParticleBase.h.

References cachePolar(), and p4Polar_.

129  {
130  cachePolar();
131  return p4Polar_.Mt();
132  }
PolarLorentzVector p4Polar_
internal cache for p4
Definition: ParticleBase.h:298
void cachePolar() const
set internal cache
Definition: ParticleBase.h:304
double ParticleBase::mtSqr ( ) const
inline

transverse mass squared

Definition at line 134 of file ParticleBase.h.

References cachePolar(), and p4Polar_.

135  {
136  cachePolar();
137  return p4Polar_.Mt2();
138  }
PolarLorentzVector p4Polar_
internal cache for p4
Definition: ParticleBase.h:298
void cachePolar() const
set internal cache
Definition: ParticleBase.h:304
double ParticleBase::p ( ) const
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().

101  {
102  cacheCartesian();
103  return p4Cartesian_.P();
104  }
void cacheCartesian() const
set internal cache
Definition: ParticleBase.h:311
LorentzVector p4Cartesian_
internal cache for p4
Definition: ParticleBase.h:300
const LorentzVector& ParticleBase::p4 ( ) const
inline

four-momentum Lorentz vector

Definition at line 75 of file ParticleBase.h.

References cacheCartesian(), and p4Cartesian_.

Referenced by operator<<(), and setP4().

76  {
78  return p4Cartesian_;
79  }
void cacheCartesian() const
set internal cache
Definition: ParticleBase.h:311
LorentzVector p4Cartesian_
internal cache for p4
Definition: ParticleBase.h:300
int ParticleBase::pdgId ( ) const
inline

PDG identifier.

Definition at line 254 of file ParticleBase.h.

References pdgId_.

Referenced by setPdgId().

255  {
256  return pdgId_;
257  }
int pdgId_
PDG identifier.
Definition: ParticleBase.h:294
double ParticleBase::phi ( void  ) const
inline

momentum azimuthal angle

Definition at line 163 of file ParticleBase.h.

References phi_.

Referenced by RecoMuonValidator::MuonME::fill(), and ShallowSimTracksProducer::produce().

164  {
165  return phi_;
166  }
const PolarLorentzVector& ParticleBase::polarP4 ( ) const
inline

four-momentum Lorentz vector

Definition at line 81 of file ParticleBase.h.

References cachePolar(), and p4Polar_.

82  {
83  cachePolar();
84  return p4Polar_;
85  }
PolarLorentzVector p4Polar_
internal cache for p4
Definition: ParticleBase.h:298
void cachePolar() const
set internal cache
Definition: ParticleBase.h:304
double ParticleBase::pt ( ) const
inline

transverse momentum

Definition at line 158 of file ParticleBase.h.

References pt_.

Referenced by RecoMuonValidator::MuonME::fill(), and ShallowSimTracksProducer::produce().

159  {
160  return pt_;
161  }
float pt_
four-momentum Lorentz vector
Definition: ParticleBase.h:290
double ParticleBase::px ( ) const
inline

x coordinate of momentum vector

Definition at line 140 of file ParticleBase.h.

References cacheCartesian(), and p4Cartesian_.

Referenced by FWTrackingParticleProxyBuilder::build().

141  {
142  cacheCartesian();
143  return p4Cartesian_.Px();
144  }
void cacheCartesian() const
set internal cache
Definition: ParticleBase.h:311
LorentzVector p4Cartesian_
internal cache for p4
Definition: ParticleBase.h:300
double ParticleBase::py ( ) const
inline

y coordinate of momentum vector

Definition at line 146 of file ParticleBase.h.

References cacheCartesian(), and p4Cartesian_.

Referenced by FWTrackingParticleProxyBuilder::build().

147  {
148  cacheCartesian();
149  return p4Cartesian_.Py();
150  }
void cacheCartesian() const
set internal cache
Definition: ParticleBase.h:311
LorentzVector p4Cartesian_
internal cache for p4
Definition: ParticleBase.h:300
double ParticleBase::pz ( ) const
inline

z coordinate of momentum vector

Definition at line 152 of file ParticleBase.h.

References cacheCartesian(), and p4Cartesian_.

Referenced by FWTrackingParticleProxyBuilder::build().

153  {
154  cacheCartesian();
155  return p4Cartesian_.Pz();
156  }
void cacheCartesian() const
set internal cache
Definition: ParticleBase.h:311
LorentzVector p4Cartesian_
internal cache for p4
Definition: ParticleBase.h:300
double ParticleBase::rapidity ( ) const
inline

repidity

Definition at line 179 of file ParticleBase.h.

References cachePolar(), and p4Polar_.

Referenced by y().

180  {
181  cachePolar();
182  return p4Polar_.Rapidity();
183  }
PolarLorentzVector p4Polar_
internal cache for p4
Definition: ParticleBase.h:298
void cachePolar() const
set internal cache
Definition: ParticleBase.h:304
void ParticleBase::setCharge ( Charge  q)
inline

set electric charge

Definition at line 60 of file ParticleBase.h.

References qx3_.

61  {
62  qx3_ = q * 3;
63  }
Charge qx3_
electric charge
Definition: ParticleBase.h:288
void ParticleBase::setLongLived ( )
inline

set long lived flag

Definition at line 276 of file ParticleBase.h.

References longLivedTag, and status_.

277  {
279  }
int status_
status word
Definition: ParticleBase.h:296
static const unsigned int longLivedTag
long lived flag
Definition: ParticleBase.h:274
void ParticleBase::setMass ( double  m)
inline

set particle mass

Definition at line 213 of file ParticleBase.h.

References clearCache(), m, and mass_.

214  {
215  mass_ = m;
216  clearCache();
217  }
void clearCache() const
clear internal cache
Definition: ParticleBase.h:319
void ParticleBase::setP4 ( const LorentzVector p4)
inline

set 4-momentum

Definition at line 190 of file ParticleBase.h.

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

191  {
192  p4Cartesian_ = p4;
193  p4Polar_ = p4;
194  pt_ = p4Polar_.pt();
195  eta_ = p4Polar_.eta();
196  phi_ = p4Polar_.phi();
197  mass_ = p4Polar_.mass();
198  cachePolarFixed_ = true;
199  cacheCartesianFixed_ = true;
200  }
PolarLorentzVector p4Polar_
internal cache for p4
Definition: ParticleBase.h:298
float pt_
four-momentum Lorentz vector
Definition: ParticleBase.h:290
edm::BoolCache cacheCartesianFixed_
Definition: ParticleBase.h:302
edm::BoolCache cachePolarFixed_
has cache been set?
Definition: ParticleBase.h:302
const LorentzVector & p4() const
four-momentum Lorentz vector
Definition: ParticleBase.h:75
LorentzVector p4Cartesian_
internal cache for p4
Definition: ParticleBase.h:300
void ParticleBase::setP4 ( const PolarLorentzVector p4)
inline

set 4-momentum

Definition at line 202 of file ParticleBase.h.

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

203  {
204  p4Polar_ = p4;
205  pt_ = p4Polar_.pt();
206  eta_ = p4Polar_.eta();
207  phi_ = p4Polar_.phi();
208  mass_ = p4Polar_.mass();
209  cachePolarFixed_ = true;
210  cacheCartesianFixed_ = false;
211  }
PolarLorentzVector p4Polar_
internal cache for p4
Definition: ParticleBase.h:298
float pt_
four-momentum Lorentz vector
Definition: ParticleBase.h:290
edm::BoolCache cacheCartesianFixed_
Definition: ParticleBase.h:302
edm::BoolCache cachePolarFixed_
has cache been set?
Definition: ParticleBase.h:302
const LorentzVector & p4() const
four-momentum Lorentz vector
Definition: ParticleBase.h:75
void ParticleBase::setPdgId ( int  pdgId)
inline

Definition at line 259 of file ParticleBase.h.

References pdgId(), and pdgId_.

260  {
261  pdgId_ = pdgId;
262  }
int pdgId() const
PDG identifier.
Definition: ParticleBase.h:254
int pdgId_
PDG identifier.
Definition: ParticleBase.h:294
void ParticleBase::setPz ( double  pz)
inline

Definition at line 218 of file ParticleBase.h.

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

219  {
220  cacheCartesian();
221  p4Cartesian_.SetPz(pz);
223  pt_ = p4Polar_.pt();
224  eta_ = p4Polar_.eta();
225  phi_ = p4Polar_.phi();
226  mass_ = p4Polar_.mass();
227  }
PolarLorentzVector p4Polar_
internal cache for p4
Definition: ParticleBase.h:298
void cacheCartesian() const
set internal cache
Definition: ParticleBase.h:311
float pt_
four-momentum Lorentz vector
Definition: ParticleBase.h:290
double pz() const
z coordinate of momentum vector
Definition: ParticleBase.h:152
LorentzVector p4Cartesian_
internal cache for p4
Definition: ParticleBase.h:300
void ParticleBase::setStatus ( int  status)
inline

set status word

Definition at line 269 of file ParticleBase.h.

References status(), and status_.

270  {
271  status_ = status;
272  }
int status_
status word
Definition: ParticleBase.h:296
int status() const
status word
Definition: ParticleBase.h:264
void ParticleBase::setThreeCharge ( Charge  qx3)
inline

set electric charge

Definition at line 70 of file ParticleBase.h.

References qx3_.

71  {
72  qx3_ = qx3;
73  }
Charge qx3_
electric charge
Definition: ParticleBase.h:288
void ParticleBase::setVertex ( const Point vertex)
inline

set vertex

Definition at line 249 of file ParticleBase.h.

References vertex(), and vertex_.

Referenced by TrackingParticle::setVertex().

250  {
251  vertex_ = vertex;
252  }
Point vertex_
vertex position
Definition: ParticleBase.h:292
const Point & vertex() const
vertex position
Definition: ParticleBase.h:229
int ParticleBase::status ( void  ) const
inline

status word

Definition at line 264 of file ParticleBase.h.

References status_.

Referenced by setStatus().

265  {
266  return status_;
267  }
int status_
status word
Definition: ParticleBase.h:296
double ParticleBase::theta ( ) const
inline

momentum polar angle

Definition at line 168 of file ParticleBase.h.

References cacheCartesian(), and p4Cartesian_.

Referenced by ShallowSimTracksProducer::produce().

169  {
170  cacheCartesian();
171  return p4Cartesian_.Theta();
172  }
void cacheCartesian() const
set internal cache
Definition: ParticleBase.h:311
LorentzVector p4Cartesian_
internal cache for p4
Definition: ParticleBase.h:300
int ParticleBase::threeCharge ( ) const
inline

electric charge

Definition at line 65 of file ParticleBase.h.

References qx3_.

66  {
67  return qx3_;
68  }
Charge qx3_
electric charge
Definition: ParticleBase.h:288
const Point& ParticleBase::vertex ( ) const
inline
double ParticleBase::vx ( ) const
inline

x coordinate of vertex position

Definition at line 234 of file ParticleBase.h.

References vertex_.

Referenced by FWTrackingParticleProxyBuilder::build().

235  {
236  return vertex_.X();
237  }
Point vertex_
vertex position
Definition: ParticleBase.h:292
double ParticleBase::vy ( ) const
inline

y coordinate of vertex position

Definition at line 239 of file ParticleBase.h.

References vertex_.

Referenced by FWTrackingParticleProxyBuilder::build().

240  {
241  return vertex_.Y();
242  }
Point vertex_
vertex position
Definition: ParticleBase.h:292
double ParticleBase::vz ( ) const
inline

z coordinate of vertex position

Definition at line 244 of file ParticleBase.h.

References vertex_.

Referenced by FWTrackingParticleProxyBuilder::build().

245  {
246  return vertex_.Z();
247  }
Point vertex_
vertex position
Definition: ParticleBase.h:292
double ParticleBase::y ( ) const
inline

Member Data Documentation

edm::BoolCache ParticleBase::cacheCartesianFixed_
mutableprotected

Definition at line 302 of file ParticleBase.h.

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

edm::BoolCache ParticleBase::cachePolarFixed_
mutableprotected

has cache been set?

Definition at line 302 of file ParticleBase.h.

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

float ParticleBase::eta_
protected

Definition at line 290 of file ParticleBase.h.

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

const unsigned int ParticleBase::longLivedTag = 65536
static

long lived flag

Definition at line 274 of file ParticleBase.h.

Referenced by longLived(), and setLongLived().

float ParticleBase::mass_
protected

Definition at line 290 of file ParticleBase.h.

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

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

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

int ParticleBase::pdgId_
protected

PDG identifier.

Definition at line 294 of file ParticleBase.h.

Referenced by pdgId(), and setPdgId().

float ParticleBase::phi_
protected

Definition at line 290 of file ParticleBase.h.

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

float ParticleBase::pt_
protected

four-momentum Lorentz vector

Definition at line 290 of file ParticleBase.h.

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

Charge ParticleBase::qx3_
protected

electric charge

Definition at line 288 of file ParticleBase.h.

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

int ParticleBase::status_
protected

status word

Definition at line 296 of file ParticleBase.h.

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

Point ParticleBase::vertex_
protected

vertex position

Definition at line 292 of file ParticleBase.h.

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