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 {}
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 
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 }
int i
Definition: DBlmapReader.cc:9
virtual double charge() const
Definition: Particle.h:29
double b
Definition: hdecay.h:120