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 }
TrackParticle(const TVectorT< double > &par, const TMatrixTSym< double > &cov, int pdgid, double mass, double charge, double b)
double b
Definition: hdecay.h:118