CMS 3D CMS Logo

Chi2VertexFitter.h
Go to the documentation of this file.
1 #ifndef RecoTauTag_ImpactParameter_Chi2VertexFitter_h
2 #define RecoTauTag_ImpactParameter_Chi2VertexFitter_h
3 
4 /* From SimpleFits Package
5  * Designed an written by
6  * author: Ian M. Nugent
7  * Humboldt Foundations
8  */
9 
10 #include "Minuit2/FunctionMinimum.h"
11 #include "Minuit2/FCNBase.h"
13 
14 namespace tauImpactParameter {
15 
17  public:
18  Chi2VertexFitter(const std::vector<TrackParticle>& particles, const TVector3& vguess, double nsigma = 4.0)
19  : TrackHelixVertexFitter(particles, vguess), nsigma_(nsigma){};
20  ~Chi2VertexFitter() override{};
21 
22  bool fit() override;
23 
24  private:
25  double nsigma_;
26  };
27 
28 } // namespace tauImpactParameter
29 #endif
Chi2VertexFitter(const std::vector< TrackParticle > &particles, const TVector3 &vguess, double nsigma=4.0)