CMS 3D CMS Logo

LeafCandidate.h
Go to the documentation of this file.
1 #ifndef Candidate_LeafCandidate_h
2 #define Candidate_LeafCandidate_h
3 
12 #include "ParticleState.h"
13 
14 namespace reco {
15 
16  class LeafCandidate : public Candidate {
17  public:
21  typedef int Charge;
30 
31  typedef unsigned int index;
32 
34 
35  // constructor from candidate
36  explicit LeafCandidate(const Candidate& c) : m_state(c.charge(), c.polarP4(), c.vertex(), c.pdgId(), c.status()) {}
37 
38 #if !defined(__CINT__) && !defined(__MAKECINT__) && !defined(__REFLEX__)
39  template <typename... Args>
40  explicit LeafCandidate(Args&&... args) : m_state(std::forward<Args>(args)...) {}
41 
43 
44  LeafCandidate(LeafCandidate&&) = default;
45  LeafCandidate(LeafCandidate const&) = default;
47  LeafCandidate& operator=(LeafCandidate const&) = default;
48 #else
49  // for Reflex to parse... (compilation will use the above)
51  const PtEtaPhiMass& p4,
52  const Point& vtx = Point(0, 0, 0),
53  int pdgId = 0,
54  int status = 0,
55  bool integerCharge = true);
57  const LorentzVector& p4,
58  const Point& vtx = Point(0, 0, 0),
59  int pdgId = 0,
60  int status = 0,
61  bool integerCharge = true);
63  const PolarLorentzVector& p4,
64  const Point& vtx = Point(0, 0, 0),
65  int pdgId = 0,
66  int status = 0,
67  bool integerCharge = true);
69  const GlobalVector& p3,
70  float iEnergy,
71  float imass,
72  const Point& vtx = Point(0, 0, 0),
73  int pdgId = 0,
74  int status = 0,
75  bool integerCharge = true);
76 #endif
77 
78  void construct(int qx3, float pt, float eta, float phi, float mass, const Point& vtx, int pdgId, int status) {
80  }
81 
83  ~LeafCandidate() override;
85  size_t numberOfDaughters() const override;
87  const Candidate* daughter(size_type) const override;
89  size_t numberOfMothers() const override;
91  const Candidate* mother(size_type) const override;
93  Candidate* daughter(size_type) override;
95  Candidate* daughter(const std::string& s) override;
97  const Candidate* daughter(const std::string& s) const override;
100  size_t numberOfSourceCandidatePtrs() const override { return 0; }
104 
106  int charge() const final { return m_state.charge(); }
108  void setCharge(Charge q) final { m_state.setCharge(q); }
110  int threeCharge() const final { return m_state.threeCharge(); }
112  void setThreeCharge(Charge qx3) final { m_state.setThreeCharge(qx3); }
114  const LorentzVector& p4() const final { return m_state.p4(); }
116  const PolarLorentzVector& polarP4() const final { return m_state.polarP4(); }
118  Vector momentum() const final { return m_state.momentum(); }
121  Vector boostToCM() const final { return m_state.boostToCM(); }
123  double p() const final { return m_state.p(); }
125  double energy() const final { return m_state.energy(); }
127  double et() const final { return m_state.et(); }
129  double et2() const final { return m_state.et2(); }
131  double mass() const final { return m_state.mass(); }
133  double massSqr() const final { return mass() * mass(); }
134 
136  double mt() const final { return m_state.mt(); }
138  double mtSqr() const final { return m_state.mtSqr(); }
140  double px() const final { return m_state.px(); }
142  double py() const final { return m_state.py(); }
144  double pz() const final { return m_state.pz(); }
146  double pt() const final { return m_state.pt(); }
148  double phi() const final { return m_state.phi(); }
150  double theta() const final { return m_state.theta(); }
152  double eta() const final { return m_state.eta(); }
154  double rapidity() const final { return m_state.rapidity(); }
156  double y() const final { return rapidity(); }
158  void setP4(const LorentzVector& p4) final { m_state.setP4(p4); }
160  void setP4(const PolarLorentzVector& p4) final { m_state.setP4(p4); }
162  void setMass(double m) final { m_state.setMass(m); }
163  void setPz(double pz) final { m_state.setPz(pz); }
165  const Point& vertex() const override { return m_state.vertex(); }
167  double vx() const override { return m_state.vx(); }
169  double vy() const override { return m_state.vy(); }
171  double vz() const override { return m_state.vz(); }
173  void setVertex(const Point& vertex) override { m_state.setVertex(vertex); }
174 
176  int pdgId() const final { return m_state.pdgId(); }
177  // set PDG identifier
178  void setPdgId(int pdgId) final { m_state.setPdgId(pdgId); }
180  int status() const final { return m_state.status(); }
182  void setStatus(int status) final { m_state.setStatus(status); }
185  void setLongLived() final { m_state.setLongLived(); }
187  bool longLived() const final { return m_state.longLived(); }
192  bool massConstraint() const final { return m_state.massConstraint(); }
193 
195  LeafCandidate* clone() const override { return new LeafCandidate(*this); }
196 
198  double vertexChi2() const override;
205  double vertexNdof() const override;
207  double vertexNormalizedChi2() const override;
209  double vertexCovariance(int i, int j) const override;
214  return m;
215  }
217  void fillVertexCovariance(CovarianceMatrix& v) const override;
220  bool hasMasterClone() const override;
223  const CandidateBaseRef& masterClone() const override;
226  bool hasMasterClonePtr() const override;
229  const CandidatePtr& masterClonePtr() const override;
230 
232  template <typename Ref>
233  Ref masterRef() const {
234  return masterClone().template castTo<Ref>();
235  }
237 
238  template <typename T>
239  T get() const {
240  if (hasMasterClone())
241  return masterClone()->get<T>();
242  else
243  return reco::get<T>(*this);
244  }
246  template <typename T, typename Tag>
247  T get() const {
248  if (hasMasterClone())
249  return masterClone()->get<T, Tag>();
250  else
251  return reco::get<T, Tag>(*this);
252  }
254  template <typename T>
255  T get(size_type i) const {
256  if (hasMasterClone())
257  return masterClone()->get<T>(i);
258  else
259  return reco::get<T>(*this, i);
260  }
262  template <typename T, typename Tag>
263  T get(size_type i) const {
264  if (hasMasterClone())
265  return masterClone()->get<T, Tag>(i);
266  else
267  return reco::get<T, Tag>(*this, i);
268  }
270  template <typename T>
271  size_type numberOf() const {
272  if (hasMasterClone())
273  return masterClone()->numberOf<T>();
274  else
275  return reco::numberOf<T>(*this);
276  }
278  template <typename T, typename Tag>
279  size_type numberOf() const {
280  if (hasMasterClone())
281  return masterClone()->numberOf<T, Tag>();
282  else
283  return reco::numberOf<T, Tag>(*this);
284  }
285 
286  bool isElectron() const override;
287  bool isMuon() const override;
288  bool isStandAloneMuon() const override;
289  bool isGlobalMuon() const override;
290  bool isTrackerMuon() const override;
291  bool isCaloMuon() const override;
292  bool isPhoton() const override;
293  bool isConvertedPhoton() const override;
294  bool isJet() const override;
295 
296  private:
298 
299  private:
301  bool overlap(const Candidate&) const override;
302  template <typename, typename, typename>
303  friend struct component;
304  friend class ::OverlapChecker;
305  friend class ShallowCloneCandidate;
307  };
308 
309 } // namespace reco
310 
311 #endif
reco::ParticleState::setCharge
void setCharge(Charge q)
set electric charge
Definition: ParticleState.h:100
reco::ParticleState::setP4
void setP4(const LorentzVector &p4)
set 4-momentum
Definition: ParticleState.h:149
reco::LeafCandidate::setPdgId
void setPdgId(int pdgId) final
Definition: LeafCandidate.h:178
writedatasetfile.args
args
Definition: writedatasetfile.py:18
reco::ParticleState::p
double p() const
magnitude of momentum vector
Definition: ParticleState.h:115
reco::LeafCandidate::momentum
Vector momentum() const final
spatial momentum vector
Definition: LeafCandidate.h:118
reco::ParticleState::et2
double et2() const
transverse energy squared (use this for cuts)!
Definition: ParticleState.h:121
reco::LeafCandidate::vertexChi2
double vertexChi2() const override
chi-squares
Definition: LeafCandidate.cc:47
reco::Candidate::Vector
math::XYZVector Vector
point in the space
Definition: Candidate.h:42
mps_fire.i
i
Definition: mps_fire.py:428
reco::LeafCandidate::isJet
bool isJet() const override
Definition: LeafCandidate.cc:79
reco::LeafCandidate::numberOfMothers
size_t numberOfMothers() const override
number of mothers
Definition: LeafCandidate.cc:23
reco::LeafCandidate::vertexCovariance
CovarianceMatrix vertexCovariance() const final
return SMatrix
Definition: LeafCandidate.h:211
reco::ParticleState::setThreeCharge
void setThreeCharge(Charge qx3)
set electric charge
Definition: ParticleState.h:104
reco::LeafCandidate::isElectron
bool isElectron() const override
Definition: LeafCandidate.cc:63
reco::LeafCandidate::boostToCM
Vector boostToCM() const final
Definition: LeafCandidate.h:121
reco::LeafCandidate::setLongLived
void setLongLived() final
Definition: LeafCandidate.h:185
reco::LeafCandidate::Point
math::XYZPoint Point
point in the space
Definition: LeafCandidate.h:27
reco::ParticleState::rapidity
double rapidity() const
repidity
Definition: ParticleState.h:145
reco::ParticleState::mt
double mt() const
transverse mass
Definition: ParticleState.h:127
reco::LeafCandidate::status
int status() const final
status word
Definition: LeafCandidate.h:180
reco::LeafCandidate::index
unsigned int index
Definition: LeafCandidate.h:31
reco::LeafCandidate::m_state
ParticleState m_state
Definition: LeafCandidate.h:297
reco::LeafCandidate::get
T get(size_type i) const
get a component
Definition: LeafCandidate.h:255
reco::LeafCandidate::setThreeCharge
void setThreeCharge(Charge qx3) final
set electric charge
Definition: LeafCandidate.h:112
reco::LeafCandidate::numberOfSourceCandidatePtrs
size_t numberOfSourceCandidatePtrs() const override
Definition: LeafCandidate.h:100
reco::LeafCandidate::massSqr
double massSqr() const final
mass squared
Definition: LeafCandidate.h:133
reco::ParticleState::setStatus
void setStatus(int status)
set status word
Definition: ParticleState.h:184
reco::Candidate::PolarLorentzVector
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition: Candidate.h:38
ParticleState.h
reco::ParticleState::longLived
bool longLived() const
is long lived?
Definition: ParticleState.h:188
reco::LeafCandidate::hasMasterClone
bool hasMasterClone() const override
Definition: LeafCandidate.cc:12
reco::LeafCandidate::vz
double vz() const override
z coordinate of vertex position
Definition: LeafCandidate.h:171
reco::Candidate::Charge
int Charge
electric charge type
Definition: Candidate.h:34
reco::LeafCandidate::setP4
void setP4(const PolarLorentzVector &p4) final
set 4-momentum
Definition: LeafCandidate.h:160
reco::LeafCandidate::longLived
bool longLived() const final
is long lived?
Definition: LeafCandidate.h:187
reco::LeafCandidate::clone
LeafCandidate * clone() const override
returns a clone of the Candidate object
Definition: LeafCandidate.h:195
reco::ParticleState::charge
int charge() const
electric charge
Definition: ParticleState.h:98
reco::LeafCandidate::operator=
LeafCandidate & operator=(LeafCandidate &&)=default
reco::LeafCandidate::vx
double vx() const override
x coordinate of vertex position
Definition: LeafCandidate.h:167
reco::ParticleState::mtSqr
double mtSqr() const
transverse mass squared
Definition: ParticleState.h:129
reco::LeafCandidate::construct
void construct(int qx3, float pt, float eta, float phi, float mass, const Point &vtx, int pdgId, int status)
Definition: LeafCandidate.h:78
CovarianceMatrix
Definition: CovarianceMatrix.h:27
reco::ParticleState::vz
double vz() const
z coordinate of vertex position
Definition: ParticleState.h:174
reco::ParticleState::theta
double theta() const
momentum polar angle
Definition: ParticleState.h:141
reco::ParticleState::vx
double vx() const
x coordinate of vertex position
Definition: ParticleState.h:170
reco::LeafCandidate::pt
double pt() const final
transverse momentum
Definition: LeafCandidate.h:146
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:45
findQualityFiles.v
v
Definition: findQualityFiles.py:179
watchdog.const
const
Definition: watchdog.py:83
reco::LeafCandidate::fillVertexCovariance
void fillVertexCovariance(CovarianceMatrix &v) const override
fill SMatrix
Definition: LeafCandidate.cc:58
reco::LeafCandidate::isGlobalMuon
bool isGlobalMuon() const override
Definition: LeafCandidate.cc:67
reco::LeafCandidate::get
T get() const
get a component
Definition: LeafCandidate.h:247
reco::ParticleState
Definition: ParticleState.h:22
reco::LeafCandidate::setPz
void setPz(double pz) final
Definition: LeafCandidate.h:163
reco::LeafCandidate::LeafCandidate
LeafCandidate(Args &&... args)
Definition: LeafCandidate.h:40
reco::LeafCandidate::LeafCandidate
LeafCandidate(LeafCandidate &rh)
Definition: LeafCandidate.h:42
reco::LeafCandidate::get
T get(size_type i) const
get a component
Definition: LeafCandidate.h:263
alignCSCRings.s
s
Definition: alignCSCRings.py:92
reco::ParticleState::setMass
void setMass(double m)
set particle mass
Definition: ParticleState.h:159
reco::LeafCandidate::numberOf
size_type numberOf() const
number of components
Definition: LeafCandidate.h:279
reco::LeafCandidate::threeCharge
int threeCharge() const final
electric charge
Definition: LeafCandidate.h:110
reco::ParticleState::polarP4
const PolarLorentzVector & polarP4() const
four-momentum Lorentz vector
Definition: ParticleState.h:108
reco::ParticleState::phi
double phi() const
momentum azimuthal angle
Definition: ParticleState.h:139
reco::LeafCandidate::py
double py() const final
y coordinate of momentum vector
Definition: LeafCandidate.h:142
reco::LeafCandidate::overlap
bool overlap(const Candidate &) const override
check overlap with another Candidate
Definition: LeafCandidate.cc:25
visualization-live-secondInstance_cfg.m
m
Definition: visualization-live-secondInstance_cfg.py:72
reco::LeafCandidate::PolarLorentzVector
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition: LeafCandidate.h:25
reco::LeafCandidate::~LeafCandidate
~LeafCandidate() override
destructor
Definition: LeafCandidate.cc:5
reco::ParticleState::setVertex
void setVertex(const Point &vertex)
set vertex
Definition: ParticleState.h:176
reco::ParticleState::status
int status() const
status word
Definition: ParticleState.h:182
reco::LeafCandidate::y
double y() const final
rapidity
Definition: LeafCandidate.h:156
reco::ParticleState::pz
double pz() const
z coordinate of momentum vector
Definition: ParticleState.h:135
reco::LeafCandidate::isCaloMuon
bool isCaloMuon() const override
Definition: LeafCandidate.cc:73
reco::LeafCandidate::theta
double theta() const final
momentum polar angle
Definition: LeafCandidate.h:150
reco::LeafCandidate::isTrackerMuon
bool isTrackerMuon() const override
Definition: LeafCandidate.cc:71
reco::LeafCandidate::isMuon
bool isMuon() const override
Definition: LeafCandidate.cc:65
reco::ParticleState::massConstraint
bool massConstraint() const
do mass constraint?
Definition: ParticleState.h:192
reco::LeafCandidate::Charge
int Charge
electric charge type
Definition: LeafCandidate.h:21
edm::RefToBase::get
value_type const * get() const
Definition: RefToBase.h:209
reco::LeafCandidate::setVertex
void setVertex(const Point &vertex) override
set vertex
Definition: LeafCandidate.h:173
reco::LeafCandidate::mt
double mt() const final
transverse mass
Definition: LeafCandidate.h:136
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
Point
Structure Point Contains parameters of Gaussian fits to DMRs.
Definition: DMRtrends.cc:57
reco::ParticleState::eta
double eta() const
momentum pseudorapidity
Definition: ParticleState.h:143
math::XYZPoint
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
reco::LeafCandidate::get
T get() const
get a component
Definition: LeafCandidate.h:239
reco::LeafCandidate::mass
double mass() const final
mass
Definition: LeafCandidate.h:131
reco::LeafCandidate::eta
double eta() const final
momentum pseudorapidity
Definition: LeafCandidate.h:152
reco::LeafCandidate::daughter
const Candidate * daughter(size_type) const override
return daughter at a given position (throws an exception)
Definition: LeafCandidate.cc:29
reco::ParticleState::vy
double vy() const
y coordinate of vertex position
Definition: ParticleState.h:172
reco::LeafCandidate::pdgId
int pdgId() const final
PDG identifier.
Definition: LeafCandidate.h:176
math::GlobalVector
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< float >, ROOT::Math::GlobalCoordinateSystemTag > GlobalVector
vector in glovbal coordinate system
Definition: Vector3D.h:28
math::XYZVector
XYZVectorD XYZVector
spatial vector with cartesian internal representation
Definition: Vector3D.h:31
reco::LeafCandidate::masterRef
Ref masterRef() const
cast master clone reference to a concrete type
Definition: LeafCandidate.h:233
reco::LeafCandidate::numberOf
size_type numberOf() const
number of components
Definition: LeafCandidate.h:271
reco::LeafCandidate::masterClonePtr
const CandidatePtr & masterClonePtr() const override
Definition: LeafCandidate.cc:16
reco::LeafCandidate::p4
const LorentzVector & p4() const final
four-momentum Lorentz vector
Definition: LeafCandidate.h:114
reco::LeafCandidate::hasMasterClonePtr
bool hasMasterClonePtr() const override
Definition: LeafCandidate.cc:14
reco::LeafCandidate::daughters
CandidateCollection daughters
collection of daughter candidates
Definition: LeafCandidate.h:19
reco::LeafCandidate::charge
int charge() const final
electric charge
Definition: LeafCandidate.h:106
submitPVResolutionJobs.q
q
Definition: submitPVResolutionJobs.py:84
reco::ParticleState::et
double et() const
transverse energy
Definition: ParticleState.h:119
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
reco::LeafCandidate::LeafCandidate
LeafCandidate()
Definition: LeafCandidate.h:33
reco::LeafCandidate::massConstraint
bool massConstraint() const final
do mass constraint?
Definition: LeafCandidate.h:192
reco::LeafCandidate::et2
double et2() const final
transverse energy squared (use this for cut!)
Definition: LeafCandidate.h:129
reco::LeafCandidate::setStatus
void setStatus(int status) final
set status word
Definition: LeafCandidate.h:182
reco::ParticleState::py
double py() const
y coordinate of momentum vector
Definition: ParticleState.h:133
reco::LeafCandidate::vertex
const Point & vertex() const override
vertex position (overwritten by PF...)
Definition: LeafCandidate.h:165
edm::Ptr< Candidate >
reco::Candidate
Definition: Candidate.h:27
reco::LeafCandidate::mtSqr
double mtSqr() const final
transverse mass squared
Definition: LeafCandidate.h:138
reco::LeafCandidate::et
double et() const final
transverse energy
Definition: LeafCandidate.h:127
reco::LeafCandidate::isStandAloneMuon
bool isStandAloneMuon() const override
Definition: LeafCandidate.cc:69
reco::LeafCandidate::setP4
void setP4(const LorentzVector &p4) final
set 4-momentum
Definition: LeafCandidate.h:158
std
Definition: JetResolutionObject.h:76
reco::LeafCandidate::isPhoton
bool isPhoton() const override
Definition: LeafCandidate.cc:75
reco::ParticleState::setMassConstraint
void setMassConstraint()
set mass constraint flag
Definition: ParticleState.h:190
reco::LeafCandidate::phi
double phi() const final
momentum azimuthal angle
Definition: LeafCandidate.h:148
extraflags_cff.vtx
vtx
Definition: extraflags_cff.py:18
reco::ParticleState::setPdgId
void setPdgId(int pdgId)
Definition: ParticleState.h:180
reco::ParticleState::p4
const LorentzVector & p4() const
four-momentum Lorentz vector
Definition: ParticleState.h:106
reco::ParticleState::vertex
const Point & vertex() const
vertex position
Definition: ParticleState.h:168
reco::ParticleState::mass
double mass() const
mass
Definition: ParticleState.h:123
T
long double T
Definition: Basic3DVectorLD.h:48
math::XYZTLorentzVector
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:29
LorentzVector
math::XYZTLorentzVector LorentzVector
Definition: HLTMuonMatchAndPlot.h:49
reco::JetExtendedAssociation::Ref
edm::Ref< Container > Ref
Definition: JetExtendedAssociation.h:32
reco::LeafCandidate::masterClone
const CandidateBaseRef & masterClone() const override
Definition: LeafCandidate.cc:7
reco::LeafCandidate::mother
const Candidate * mother(size_type) const override
return mother at a given position (throws an exception)
Definition: LeafCandidate.cc:31
reco::LeafCandidate::p
double p() const final
magnitude of momentum vector
Definition: LeafCandidate.h:123
reco::LeafCandidate::setCharge
void setCharge(Charge q) final
set electric charge
Definition: LeafCandidate.h:108
reco::ParticleState::pdgId
int pdgId() const
PDG identifier.
Definition: ParticleState.h:178
edm::RefToBase< Candidate >
p3
double p3[4]
Definition: TauolaWrapper.h:91
reco::ParticleState::pt
double pt() const
transverse momentum
Definition: ParticleState.h:137
reco::LeafCandidate::energy
double energy() const final
energy
Definition: LeafCandidate.h:125
reco::ShallowCloneCandidate
Definition: ShallowCloneCandidate.h:15
reco::LeafCandidate
Definition: LeafCandidate.h:16
math::PtEtaPhiMLorentzVector
PtEtaPhiMLorentzVectorD PtEtaPhiMLorentzVector
Lorentz vector with cartesian internal representation.
Definition: LorentzVector.h:25
Candidate.h
reco::CandidatePtr
edm::Ptr< Candidate > CandidatePtr
persistent reference to an object in a collection of Candidate objects
Definition: CandidateFwd.h:25
reco::LeafCandidate::rapidity
double rapidity() const final
rapidity
Definition: LeafCandidate.h:154
reco::LeafCandidate::polarP4
const PolarLorentzVector & polarP4() const final
four-momentum Lorentz vector
Definition: LeafCandidate.h:116
reco::ShallowClonePtrCandidate
Definition: ShallowClonePtrCandidate.h:15
reco::ParticleState::threeCharge
int threeCharge() const
electric charge
Definition: ParticleState.h:102
reco::LeafCandidate::vertexNdof
double vertexNdof() const override
Definition: LeafCandidate.cc:49
reco::Candidate::LorentzVector
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:36
dqmiolumiharvest.j
j
Definition: dqmiolumiharvest.py:66
reco::LeafCandidate::isConvertedPhoton
bool isConvertedPhoton() const override
Definition: LeafCandidate.cc:77
reco::ParticleState::setLongLived
void setLongLived()
set long lived flag
Definition: ParticleState.h:186
reco::LeafCandidate::sourceCandidatePtr
CandidatePtr sourceCandidatePtr(size_type i) const override
Definition: LeafCandidate.h:103
reco::LeafCandidate::numberOfDaughters
size_t numberOfDaughters() const override
number of daughters
Definition: LeafCandidate.cc:21
PtEtaPhiMass
Definition: PtEtaPhiMass.h:16
reco::ParticleState::momentum
Vector momentum() const
spatial momentum vector
Definition: ParticleState.h:110
reco::LeafCandidate::setMassConstraint
void setMassConstraint() final
Definition: LeafCandidate.h:190
reco::component
Definition: component.h:57
reco::ParticleState::setPz
void setPz(double pz)
Definition: ParticleState.h:163
reco::LeafCandidate::px
double px() const final
x coordinate of momentum vector
Definition: LeafCandidate.h:140
reco::LeafCandidate::pz
double pz() const final
z coordinate of momentum vector
Definition: LeafCandidate.h:144
reco::LeafCandidate::vertexNormalizedChi2
double vertexNormalizedChi2() const override
chi-squared divided by n.d.o.f.
Definition: LeafCandidate.cc:51
reco::ParticleState::boostToCM
Vector boostToCM() const
Definition: ParticleState.h:113
reco::Candidate::size_type
size_t size_type
Definition: Candidate.h:29
reco::LeafCandidate::vy
double vy() const override
y coordinate of vertex position
Definition: LeafCandidate.h:169
reco::ParticleState::energy
double energy() const
energy
Definition: ParticleState.h:117
reco::LeafCandidate::setMass
void setMass(double m) final
set particle mass
Definition: LeafCandidate.h:162
edm::OwnVector
Definition: OwnVector.h:24
reco::ParticleState::px
double px() const
x coordinate of momentum vector
Definition: ParticleState.h:131
reco::LeafCandidate::LorentzVector
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: LeafCandidate.h:23
reco::LeafCandidate::LeafCandidate
LeafCandidate(const Candidate &c)
Definition: LeafCandidate.h:36
reco::LeafCandidate::Vector
math::XYZVector Vector
point in the space
Definition: LeafCandidate.h:29