CMS 3D CMS Logo

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  */
7 
8 using namespace tauImpactParameter;
9 
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:428
tauImpactParameter::TrackParticle::name
static TString name(int i)
Definition: TrackParticle.cc:14
TrackParticle.h
tauImpactParameter
Definition: Chi2VertexFitter.h:14
tauImpactParameter::TrackParticle::kappa
Definition: TrackParticle.h:17
b
double b
Definition: hdecay.h:118
tauImpactParameter::TrackParticle::TrackParticle
TrackParticle(const TVectorT< double > &par, const TMatrixTSym< double > &cov, int pdgid, double mass, double charge, double b)
Definition: TrackParticle.cc:10
ALCARECOTkAlJpsiMuMu_cff.charge
charge
Definition: ALCARECOTkAlJpsiMuMu_cff.py:47
tauImpactParameter::TrackParticle::lambda
Definition: TrackParticle.h:17
EgHLTOffHistBins_cfi.mass
mass
Definition: EgHLTOffHistBins_cfi.py:34
Particle
Definition: Particle.py:1
tauImpactParameter::TrackParticle::phi
Definition: TrackParticle.h:17
tauImpactParameter::TrackParticle::dxy
Definition: TrackParticle.h:17
tauImpactParameter::TrackParticle::dz
Definition: TrackParticle.h:17
EgammaValidation_cff.pdgid
pdgid
Definition: EgammaValidation_cff.py:30