Main Page
Namespaces
Classes
Package Documentation
RecoTauTag
ImpactParameter
src
TrackParticle.cc
Go to the documentation of this file.
1
/* From SimpleFits Package
2
* Designed an written by
3
* author: Ian M. Nugent
4
* Humboldt Foundations
5
*/
6
#include "
RecoTauTag/ImpactParameter/interface/TrackParticle.h
"
7
8
using namespace
tauImpactParameter
;
9
10
TrackParticle::TrackParticle
(
11
const
TVectorT<double>& par,
const
TMatrixTSym<double>& cov,
int
pdgid
,
double
mass
,
double
charge
,
double
b
)
12
:
Particle
(par, cov, pdgid, charge, b), mass_(mass) {}
13
14
TString
TrackParticle::name
(
int
i
) {
15
if
(i ==
kappa
)
16
return
"kappa"
;
17
if
(i ==
lambda
)
18
return
"lambda"
;
19
if
(i ==
phi
)
20
return
"phi"
;
21
if
(i ==
dz
)
22
return
"dz"
;
23
if
(i ==
dxy
)
24
return
"dxy"
;
25
return
"invalid"
;
26
}
mps_fire.i
i
Definition:
mps_fire.py:341
tauImpactParameter::TrackParticle::dxy
Definition:
TrackParticle.h:17
Particle
Definition:
Particle.py:1
tauImpactParameter::TrackParticle::name
static TString name(int i)
Definition:
TrackParticle.cc:14
EgammaValidation_cff.pdgid
pdgid
Definition:
EgammaValidation_cff.py:30
tauImpactParameter::TrackParticle::TrackParticle
TrackParticle(const TVectorT< double > &par, const TMatrixTSym< double > &cov, int pdgid, double mass, double charge, double b)
Definition:
TrackParticle.cc:10
tauImpactParameter::TrackParticle::lambda
Definition:
TrackParticle.h:17
ALCARECOTkAlJpsiMuMu_cff.charge
charge
Definition:
ALCARECOTkAlJpsiMuMu_cff.py:47
EgHLTOffHistBins_cfi.mass
mass
Definition:
EgHLTOffHistBins_cfi.py:34
tauImpactParameter::TrackParticle::kappa
Definition:
TrackParticle.h:17
TrackParticle.h
tauImpactParameter::TrackParticle::dz
Definition:
TrackParticle.h:17
b
double b
Definition:
hdecay.h:118
tauImpactParameter::TrackParticle::phi
Definition:
TrackParticle.h:17
tauImpactParameter
Definition:
Chi2VertexFitter.h:14
Generated for CMSSW Reference Manual by
1.8.11