Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
9
LorentzVectorParticle::LorentzVectorParticle
(
const
TVectorT<double>& par,
const
TMatrixTSym<double>& cov,
int
pdgid ,
double
charge
,
double
b
)
10
:
Particle
(par, cov, pdgid, charge,b)
11
{}
12
13
TString
LorentzVectorParticle::name
(
int
i
)
14
{
15
if
(i ==
px
)
return
"px"
;
16
if
(i ==
py
)
return
"py"
;
17
if
(i ==
pz
)
return
"pz"
;
18
if
(i ==
m
)
return
"m"
;
19
if
(i ==
vx
)
return
"vx"
;
20
if
(i ==
vy
)
return
"vy"
;
21
if
(i ==
vz
)
return
"vz"
;
22
return
"invalid"
;
23
}
i
int i
Definition:
DBlmapReader.cc:9
tauImpactParameter::LorentzVectorParticle::pz
Definition:
LorentzVectorParticle.h:19
tauImpactParameter::LorentzVectorParticle::px
Definition:
LorentzVectorParticle.h:19
tauImpactParameter::LorentzVectorParticle::vx
Definition:
LorentzVectorParticle.h:19
tauImpactParameter::LorentzVectorParticle::vy
Definition:
LorentzVectorParticle.h:19
tauImpactParameter::LorentzVectorParticle::vz
Definition:
LorentzVectorParticle.h:19
tauImpactParameter::Particle
Definition:
Particle.h:13
tauImpactParameter::LorentzVectorParticle::py
Definition:
LorentzVectorParticle.h:19
b
double b
Definition:
hdecay.h:120
tauImpactParameter::LorentzVectorParticle::name
static TString name(int i)
Definition:
LorentzVectorParticle.cc:13
LorentzVectorParticle.h
tauImpactParameter::LorentzVectorParticle::LorentzVectorParticle
LorentzVectorParticle()
Definition:
LorentzVectorParticle.cc:5
RecoTauCleanerPlugins.charge
tuple charge
Definition:
RecoTauCleanerPlugins.py:33
tauImpactParameter::LorentzVectorParticle::m
Definition:
LorentzVectorParticle.h:19
Generated for CMSSW Reference Manual by
1.8.5