CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
20  const TVectorT<double>& par, const TMatrixTSym<double>& cov, int pdgid, double mass, double charge, double b);
21  ~TrackParticle() override{};
22 
23  static TString name(int i);
24  int nParameters() const override { return NHelixPar; }
25  double mass() const override { return mass_; }
26 
27  private:
28  double mass_;
29  };
30 
31 } // namespace tauImpactParameter
32 #endif
double mass() const override
Definition: TrackParticle.h:25
virtual double charge() const
Definition: Particle.h:32
TrackParticle(const TVectorT< double > &par, const TMatrixTSym< double > &cov, int pdgid, double mass, double charge, double b)
double b
Definition: hdecay.h:118
int nParameters() const override
Definition: TrackParticle.h:24