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
}
mps_fire.i
i
Definition:
mps_fire.py:428
tauImpactParameter::LorentzVectorParticle::name
static TString name(int i)
Definition:
LorentzVectorParticle.cc:12
tauImpactParameter::LorentzVectorParticle::py
Definition:
LorentzVectorParticle.h:24
tauImpactParameter
Definition:
Chi2VertexFitter.h:14
LorentzVectorParticle.h
b
double b
Definition:
hdecay.h:118
ALCARECOTkAlJpsiMuMu_cff.charge
charge
Definition:
ALCARECOTkAlJpsiMuMu_cff.py:47
tauImpactParameter::LorentzVectorParticle::LorentzVectorParticle
LorentzVectorParticle()
Definition:
LorentzVectorParticle.cc:5
tauImpactParameter::LorentzVectorParticle::m
Definition:
LorentzVectorParticle.h:26
tauImpactParameter::LorentzVectorParticle::pz
Definition:
LorentzVectorParticle.h:25
tauImpactParameter::LorentzVectorParticle::px
Definition:
LorentzVectorParticle.h:23
tauImpactParameter::LorentzVectorParticle::vx
Definition:
LorentzVectorParticle.h:20
tauImpactParameter::LorentzVectorParticle::vy
Definition:
LorentzVectorParticle.h:21
Particle
Definition:
Particle.py:1
EgammaValidation_cff.pdgid
pdgid
Definition:
EgammaValidation_cff.py:29
tauImpactParameter::LorentzVectorParticle::vz
Definition:
LorentzVectorParticle.h:22
Generated for CMSSW Reference Manual by
1.8.16