Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
(
const
TVectorT<double>& par,
const
TMatrixTSym<double>& cov,
int
pdgid,
double
mass,
double
charge
,
double
b
)
11
:
Particle
(par,cov,pdgid,charge,b),
12
mass_(mass)
13
{}
14
15
TString
TrackParticle::name
(
int
i
){
16
if
( i ==
kappa
)
return
"kappa"
;
17
if
( i ==
lambda
)
return
"lambda"
;
18
if
( i ==
phi
)
return
"phi"
;
19
if
( i ==
dz
)
return
"dz"
;
20
if
( i ==
dxy
)
return
"dxy"
;
21
return
"invalid"
;
22
}
i
int i
Definition:
DBlmapReader.cc:9
tauImpactParameter::TrackParticle::lambda
Definition:
TrackParticle.h:17
tauImpactParameter::TrackParticle::name
static TString name(int i)
Definition:
TrackParticle.cc:15
tauImpactParameter::TrackParticle::dxy
Definition:
TrackParticle.h:17
DeDxDiscriminatorTools::charge
double charge(const std::vector< uint8_t > &Ampls)
Definition:
DeDxDiscriminatorTools.cc:43
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::kappa
Definition:
TrackParticle.h:17
tauImpactParameter::TrackParticle::phi
Definition:
TrackParticle.h:17
tauImpactParameter::Particle
Definition:
Particle.h:13
TrackParticle.h
b
double b
Definition:
hdecay.h:120
tauImpactParameter::TrackParticle::dz
Definition:
TrackParticle.h:17
Generated for CMSSW Reference Manual by
1.8.5