CMS 3D CMS Logo

TrackParticle.h
Go to the documentation of this file.
1 #ifndef RecoTauTag_ImpactParameter_TrackParticle_h
2 #define RecoTauTag_ImpactParameter_TrackParticle_h
3 
4 /* From SimpleFits Package
5  * Designed an written by
6  * author: Ian M. Nugent
7  * Humboldt Foundations
8  */
9 
11 #include "TString.h"
12 
13 namespace tauImpactParameter {
14 
15 class TrackParticle : public Particle {
16  public:
17  enum {kappa=0,lambda,phi,dxy,dz,NHelixPar};// 5 track helix Parameters
18 
19  TrackParticle(const TVectorT<double>& par, const TMatrixTSym<double>& cov, int pdgid, double mass,double charge, double b);
20  virtual ~TrackParticle(){};
21 
22  static TString name(int i);
23  virtual int nParameters() const { return NHelixPar; }
24  virtual double mass() const { return mass_; }
25 
26  private:
27  double mass_;
28 };
29 
30 }
31 #endif
32 
33 
virtual double charge() const
Definition: Particle.h:29
TrackParticle(const TVectorT< double > &par, const TMatrixTSym< double > &cov, int pdgid, double mass, double charge, double b)
virtual double mass() const
Definition: TrackParticle.h:24
double b
Definition: hdecay.h:120
virtual int nParameters() const
Definition: TrackParticle.h:23