CMS 3D CMS Logo

LorentzVectorParticle.cc
Go to the documentation of this file.
2 
3 using namespace tauImpactParameter;
4 
6  : Particle(TVectorT<double>(NLorentzandVertexPar), TMatrixTSym<double>(NLorentzandVertexPar), 0, 0, 0) {}
7 
9  const TVectorT<double>& par, const TMatrixTSym<double>& cov, int pdgid, double charge, double b)
10  : Particle(par, cov, pdgid, charge, b) {}
11 
13  if (i == px)
14  return "px";
15  if (i == py)
16  return "py";
17  if (i == pz)
18  return "pz";
19  if (i == m)
20  return "m";
21  if (i == vx)
22  return "vx";
23  if (i == vy)
24  return "vy";
25  if (i == vz)
26  return "vz";
27  return "invalid";
28 }
double b
Definition: hdecay.h:118