test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
10 TrackParticle::TrackParticle(const TVectorT<double>& par, const TMatrixTSym<double>& cov, int pdgid, double mass, double charge, double b)
11  : Particle(par,cov,pdgid,charge,b),
12  mass_(mass)
13 {}
14 
15 TString TrackParticle::name(int i){
16  if ( i == kappa ) return "kappa";
17  if ( i == lambda ) return "lambda";
18  if ( i == phi ) return "phi";
19  if ( i == dz ) return "dz";
20  if ( i == dxy ) return "dxy";
21  return "invalid";
22 }
int i
Definition: DBlmapReader.cc:9
double charge(const std::vector< uint8_t > &Ampls)
TrackParticle(const TVectorT< double > &par, const TMatrixTSym< double > &cov, int pdgid, double mass, double charge, double b)
double b
Definition: hdecay.h:120