Main Page
Namespaces
Classes
Package Documentation
RecoTauTag
ImpactParameter
src
LorentzVectorParticle.cc
Go to the documentation of this file.
1
#include "
RecoTauTag/ImpactParameter/interface/LorentzVectorParticle.h
"
2
3
using namespace
tauImpactParameter
;
4
5
LorentzVectorParticle::LorentzVectorParticle
()
6
:
Particle
(TVectorT<double>(NLorentzandVertexPar), TMatrixTSym<double>(NLorentzandVertexPar), 0, 0, 0) {}
7
8
LorentzVectorParticle::LorentzVectorParticle
(
9
const
TVectorT<double>& par,
const
TMatrixTSym<double>& cov,
int
pdgid
,
double
charge
,
double
b
)
10
:
Particle
(par, cov, pdgid, charge, b) {}
11
12
TString
LorentzVectorParticle::name
(
int
i
) {
13
if
(i ==
px
)
14
return
"px"
;
15
if
(i ==
py
)
16
return
"py"
;
17
if
(i ==
pz
)
18
return
"pz"
;
19
if
(i ==
m
)
20
return
"m"
;
21
if
(i ==
vx
)
22
return
"vx"
;
23
if
(i ==
vy
)
24
return
"vy"
;
25
if
(i ==
vz
)
26
return
"vz"
;
27
return
"invalid"
;
28
}
tauImpactParameter::LorentzVectorParticle::pz
Definition:
LorentzVectorParticle.h:25
mps_fire.i
i
Definition:
mps_fire.py:341
tauImpactParameter::LorentzVectorParticle::px
Definition:
LorentzVectorParticle.h:23
Particle
Definition:
Particle.py:1
tauImpactParameter::LorentzVectorParticle::vx
Definition:
LorentzVectorParticle.h:20
EgammaValidation_cff.pdgid
pdgid
Definition:
EgammaValidation_cff.py:30
tauImpactParameter::Particle::charge
virtual double charge() const
Definition:
Particle.h:32
tauImpactParameter::LorentzVectorParticle::vy
Definition:
LorentzVectorParticle.h:21
tauImpactParameter::LorentzVectorParticle::vz
Definition:
LorentzVectorParticle.h:22
tauImpactParameter::LorentzVectorParticle::py
Definition:
LorentzVectorParticle.h:24
b
double b
Definition:
hdecay.h:118
tauImpactParameter::LorentzVectorParticle::name
static TString name(int i)
Definition:
LorentzVectorParticle.cc:12
LorentzVectorParticle.h
tauImpactParameter::LorentzVectorParticle::LorentzVectorParticle
LorentzVectorParticle()
Definition:
LorentzVectorParticle.cc:5
tauImpactParameter
Definition:
Chi2VertexFitter.h:14
tauImpactParameter::LorentzVectorParticle::m
Definition:
LorentzVectorParticle.h:26
Generated for CMSSW Reference Manual by
1.8.11