#include <ShapeFitter.h>
|
static void | adjusted_reference (Int_t &nPar, Double_t *grad, Double_t &f, Double_t *par, Int_t iflag) |
|
Definition at line 24 of file ShapeFitter.h.
◆ ShapeFitter()
◆ adjusted_reference()
void ShapeFitter::adjusted_reference |
( |
Int_t & |
nPar, |
|
|
Double_t * |
grad, |
|
|
Double_t & |
f, |
|
|
Double_t * |
par, |
|
|
Int_t |
iflag |
|
) |
| |
|
static |
◆ chi2Calc()
◆ fit()
Definition at line 32 of file ShapeFitter.cxx.
35 TMinuit* minuit =
new TMinuit(1);
52 gMinuit->mnexcm(
"SET PRINT",arglist,1,ierflg);
54 gMinuit->mnexcm(
"SET NOW", arglist,0,ierflg);
57 minuit->mnexcm(
"SET ERR", arglist, 1, ierflg);
62 minuit->mnexcm(
"MIGRAD", arglist, 2, ierflg);
65 Int_t nvpar, nparx, icstat;
66 minuit->mnstat(
chi2, edm, errdef, nvpar, nparx, icstat);
68 double err, low, high;
71 minuit->mnpout(0,
name, deltaT,
err, low, high, iuint);
◆ m_c2c
The documentation for this class was generated from the following files:
bool bestRescale(const AbsShape &data, const AbsShape &reference, double &k, double &chi2, double deltaT=0, const ScaledErrorData *sed=0, unsigned int minNDof=0) const