|
ATLAS Offline Software
|
Go to the documentation of this file.
22 namespace FitterData {
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);
79 double deltaT =
par[0],
k = 1;
const ShapeFitter * fitter
char data[hepevt_bytes_allocation_ATLAS]
static void adjusted_reference(Int_t &nPar, Double_t *grad, Double_t &f, Double_t *par, Int_t iflag)
bool fit(const LArSamples::AbsShape &data, const AbsShape &reference, double &k, double &deltaT, double &chi2, const ScaledErrorData *sed=0) const
bool bestRescale(const AbsShape &data, const AbsShape &reference, double &k, double &chi2, double deltaT=0, const ScaledErrorData *sed=0, unsigned int minNDof=0) const
const AbsShape * reference
double chi2(TH1 *h0, TH1 *h1)
const Chi2Calc & chi2Calc() const
const ScaledErrorData * sed
static const unsigned int samplingInterval