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 
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
tauImpactParameter::TrackParticle::nParameters
int nParameters() const override
Definition: TrackParticle.h:24
mps_fire.i
i
Definition: mps_fire.py:355
tauImpactParameter::TrackParticle::name
static TString name(int i)
Definition: TrackParticle.cc:14
tauImpactParameter
Definition: Chi2VertexFitter.h:14
tauImpactParameter::TrackParticle::~TrackParticle
~TrackParticle() override
Definition: TrackParticle.h:21
tauImpactParameter::TrackParticle::mass
double mass() const override
Definition: TrackParticle.h:25
Particle.h
tauImpactParameter::TrackParticle::lambda
Definition: TrackParticle.h:17
b
double b
Definition: hdecay.h:118
tauImpactParameter::TrackParticle::TrackParticle
TrackParticle(const TVectorT< double > &par, const TMatrixTSym< double > &cov, int pdgid, double mass, double charge, double b)
Definition: TrackParticle.cc:10
tauImpactParameter::TrackParticle::kappa
Definition: TrackParticle.h:17
tauImpactParameter::Particle::charge
virtual double charge() const
Definition: Particle.h:32
tauImpactParameter::TrackParticle
Definition: TrackParticle.h:15
tauImpactParameter::TrackParticle::dxy
Definition: TrackParticle.h:17
tauImpactParameter::TrackParticle::phi
Definition: TrackParticle.h:17
tauImpactParameter::TrackParticle::NHelixPar
Definition: TrackParticle.h:17
tauImpactParameter::TrackParticle::mass_
double mass_
Definition: TrackParticle.h:28
Particle
Definition: Particle.py:1
tauImpactParameter::TrackParticle::dz
Definition: TrackParticle.h:17
EgammaValidation_cff.pdgid
pdgid
Definition: EgammaValidation_cff.py:30