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
tauImpactParameter::Chi2VertexFitter::Chi2VertexFitter
Chi2VertexFitter(const std::vector< TrackParticle > &particles, const TVector3 &vguess, double nsigma=4.0)
Definition: Chi2VertexFitter.h:18
TrackHelixVertexFitter.h
tauImpactParameter
Definition: Chi2VertexFitter.h:14
ecalTrigSettings_cff.particles
particles
Definition: ecalTrigSettings_cff.py:11
tauImpactParameter::TrackHelixVertexFitter
Definition: TrackHelixVertexFitter.h:24
tauImpactParameter::Chi2VertexFitter::fit
bool fit() override
Definition: Chi2VertexFitter.cc:26
tauImpactParameter::Chi2VertexFitter
Definition: Chi2VertexFitter.h:16
tauImpactParameter::Chi2VertexFitter::~Chi2VertexFitter
~Chi2VertexFitter() override
Definition: Chi2VertexFitter.h:20
tauImpactParameter::Chi2VertexFitter::nsigma_
double nsigma_
Definition: Chi2VertexFitter.h:25