| 22 |
#include "TSystem.h" |
#include "TSystem.h" |
| 23 |
#include <stdlib.h> |
#include <stdlib.h> |
| 24 |
|
|
| 25 |
|
#include "HFitInterface.h" |
| 26 |
|
#include "Fit/DataRange.h" |
| 27 |
|
#include "Math/MinimizerOptions.h" |
| 28 |
|
|
| 29 |
#include <ctype.h> |
#include <ctype.h> |
| 30 |
|
|
| 31 |
extern void H1LeastSquareSeqnd(Int_t n, Double_t *a, Int_t idim, Int_t &ifail, Int_t k, Double_t *b); |
extern void H1LeastSquareSeqnd(Int_t n, Double_t *a, Int_t idim, Int_t &ifail, Int_t k, Double_t *b); |
| 405 |
// Root > st->SetX1NDC(newx1); //new x start position |
// Root > st->SetX1NDC(newx1); //new x start position |
| 406 |
// Root > st->SetX2NDC(newx2); //new x end position |
// Root > st->SetX2NDC(newx2); //new x end position |
| 407 |
|
|
| 408 |
return DoFit(f1,option,goption,rxmin,rxmax); // implemented in HFitImpl.cxx |
// internal multigraph fitting methods |
| 409 |
|
Foption_t fitOption; |
| 410 |
|
ROOT::Fit::FitOptionsMake(option,fitOption); |
| 411 |
|
|
| 412 |
|
// create range and minimizer options with default values |
| 413 |
|
ROOT::Fit::DataRange range(rxmin,rxmax); |
| 414 |
|
ROOT::Math::MinimizerOptions minOption; |
| 415 |
|
return ROOT::Fit::FitObject(this, f1 , fitOption , minOption, goption, range); |
| 416 |
|
|
| 417 |
} |
} |
| 418 |
|
|