RoptFit.h
Go to the documentation of this file.
1 #ifndef _LDFFinderOG_RoptFit_h_
2 #define _LDFFinderOG_RoptFit_h_
3 
4 #include <utility>
5 #include "LDFFunctions.h"
6 
7 
8 namespace LDFFinderOG {
9 
18  class RoptFit {
19  public:
20  std::pair<double, double>
21  Fit(const LDFFunctionType type,
22  const int n, const double* const s1000, const double* const beta,
23  const bool verbose = false);
24 
25  private:
26  static
27  void
28  FitFunction(int& nPar, double* const grad, double& value,
29  double* const par, const int flag);
30 
32  static int fgN;
33  static const double* fgS1000;
34  static const double* fgBeta;
35  };
36 
37 }
38 
39 
40 #endif
static int fgN
Definition: RoptFit.h:32
Encapsulation of the Minuit fit for Ropt.
Definition: RoptFit.h:18
static const double * fgS1000
Definition: RoptFit.h:33
std::pair< double, double > Fit(const LDFFunctionType type, const int n, const double *const s1000, const double *const beta, const bool verbose=false)
Definition: RoptFit.cc:16
const int nPar
Definition: GeomAsym.h:37
static LDFFunctionType fgLDFType
Definition: RoptFit.h:31
static const double * fgBeta
Definition: RoptFit.h:34
static void FitFunction(int &nPar, double *const grad, double &value, double *const par, const int flag)
Definition: RoptFit.cc:53

, generated on Tue Sep 26 2023.