14 #ifndef TGO4FITCOMPONENT_H 15 #define TGO4FITCOMPONENT_H 22 #include "TObjArray.h" 91 Bool_t
MakeAmpl(Bool_t isFixed = kFALSE);
107 void SetRange(Int_t naxis, Double_t min, Double_t max);
112 void ExcludeRange(Int_t naxis, Double_t min, Double_t max);
130 void AddRangeCut(TCutG *cut, Bool_t exclude = kFALSE);
147 Bool_t
GetRangeMin(Int_t naxis, Double_t& value)
const;
153 Bool_t
GetRangeMax(Int_t naxis, Double_t& value)
const;
169 void GetRangeCondition(Int_t n, Int_t &typ, Int_t &naxis, Double_t& left, Double_t& right)
const;
176 void SetRangeCondition(Int_t n, Int_t typ, Int_t naxis, Double_t left, Double_t right);
241 void Print(Option_t *option =
"")
const override;
295 #endif // TGO4FITCOMPONENT_H void Print(Option_t *option="") const override
void CollectParsTo(TGo4FitParsList &list) override
Bool_t GetUseBuffers() const
void SetUseBuffers(Bool_t iUse)
Bool_t CheckRangeConditions(const Double_t *values, Int_t numaxis)
TCutG * GetRangeCut(Int_t n) const
void ClearRanges(Int_t naxis=-1)
void SetRangeCondition(Int_t n, Int_t typ, Int_t naxis, Double_t left, Double_t right)
Int_t GetNumRangeCut() const
const char * GetAmplFullName()
void SetRangeCutExcluding(Int_t n, Bool_t exclude=kTRUE)
void SetRangeMin(Int_t naxis, Double_t value)
virtual Bool_t CanAmplTouch()
void SetAmplError(Double_t iError)
Int_t GetAmplIndex() const
TGo4FitParameter * NewAmplitude(const char *Name=nullptr, Double_t iValue=0., Bool_t IsFixed=kFALSE, Int_t AtIndx=0)
Int_t GetNumRangeCondition() const
TGo4FitParameter * NewParameter(const char *Name, const char *Title, Double_t iValue=0., Bool_t Fixed=kFALSE, Int_t AtIndx=-1)
void SetAmplValue(Double_t iAmpl)
void SetAmplIndex(Int_t iAmplIndex=-1)
void GetRangeCondition(Int_t n, Int_t &typ, Int_t &naxis, Double_t &left, Double_t &right) const
Bool_t GetRangeMax(Int_t naxis, Double_t &value) const
void SetRange(Int_t naxis, Double_t min, Double_t max)
Bool_t IsAnyRangeLimits() const
void AddRangeCut(TCutG *cut, Bool_t exclude=kFALSE)
Bool_t IsRangeCutExcluding(Int_t n) const
void SetRangeMax(Int_t naxis, Double_t value)
void RemoveRangeCut(Int_t n)
void RemoveRangeCondition(Int_t n)
void AddRangeCondition(Int_t typ, Int_t naxis, Double_t left, Double_t right)
Bool_t MakeAmpl(Bool_t isFixed=kFALSE)
const char * GetAmplName()
void ExcludeRange(Int_t naxis, Double_t min, Double_t max)
Bool_t GetRangeMin(Int_t naxis, Double_t &value) const
virtual ~TGo4FitComponent()
TGo4FitParameter * GetAmplPar()