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  ~TrackParticle() override{};
21 
22  static TString name(int i);
23  int nParameters() const override { return NHelixPar; }
24  double mass() const override { return mass_; }
25 
26  private:
27  double mass_;
28 };
29 
30 }
31 #endif
32 
33 
virtual double charge() const
Definition: Particle.h:29
int nParameters() const override
Definition: TrackParticle.h:23
TrackParticle(const TVectorT< double > &par, const TMatrixTSym< double > &cov, int pdgid, double mass, double charge, double b)
double b
Definition: hdecay.h:120
double mass() const override
Definition: TrackParticle.h:24