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),
20  nsigma_(nsigma)
21  {};
22  virtual ~Chi2VertexFitter(){};
23 
24  virtual bool fit();
25 
26  private:
27  double nsigma_;
28 };
29 
30 }
31 #endif
32 
33 
Chi2VertexFitter(const std::vector< TrackParticle > &particles, const TVector3 &vguess, double nsigma=4.0)