29 if(strchr(opt,
'+') !=
nullptr) {
30 std::cout <<
"Params Init: " << (
fInitFlag ?
"true" :
"false") << std::endl
31 <<
"Good Fit: " << (
fGoodFitFlag ?
"true" :
"false") << std::endl;
45 for(
int i = 0; i < GetNpar(); ++i) {
55 for(
int i = 0; i < GetNpar(); ++i) {
56 if(copy->GetNpar() > i) {
57 copy->SetParameter(i, GetParameter(i));
71 if(gROOT->GetListOfFunctions()->FindObject(
this) !=
nullptr) {
74 gROOT->GetListOfFunctions()->Add(
this);
81 TF1* old =
static_cast<TF1*
>(gROOT->GetListOfFunctions()->FindObject(
this));
86 gROOT->GetListOfFunctions()->Remove(
this);
100 if(gROOT->GetListOfFunctions()->FindObject(func) !=
nullptr) {
103 gROOT->GetListOfFunctions()->Add(func);
110 TF1* old =
static_cast<TF1*
>(gROOT->GetListOfFunctions()->FindObject(func));
115 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