31 if(strchr(opt,
'+') !=
nullptr) {
32 std::cout <<
"Params Init: " << (
fInitFlag ?
"true" :
"false") << std::endl
33 <<
"Good Fit: " << (
fGoodFitFlag ?
"true" :
"false") << std::endl;
47 for(
int i = 0; i < GetNpar(); ++i) {
57 for(
int i = 0; i < GetNpar(); ++i) {
58 if(copy->GetNpar() > i) {
59 copy->SetParameter(i, GetParameter(i));
73 if(gROOT->GetListOfFunctions()->FindObject(
this) !=
nullptr) {
76 gROOT->GetListOfFunctions()->Add(
this);
83 TF1* old =
static_cast<TF1*
>(gROOT->GetListOfFunctions()->FindObject(
this));
88 gROOT->GetListOfFunctions()->Remove(
this);
102 if(gROOT->GetListOfFunctions()->FindObject(func) !=
nullptr) {
105 gROOT->GetListOfFunctions()->Add(func);
112 TF1* old =
static_cast<TF1*
>(gROOT->GetListOfFunctions()->FindObject(func));
117 gROOT->GetListOfFunctions()->Remove(func);
virtual void ClearParameters(Option_t *opt="")
Bool_t AddToGlobalList(Bool_t yes=kTRUE) override
void Clear(Option_t *opt="") override
virtual void CopyParameters(TF1 *copy) const
static TString fDefaultFitType
void Copy(TObject &obj) const override
void Print(Option_t *opt="") const override