14 #ifndef TGO4FITMODEL_H
15 #define TGO4FITMODEL_H
50 virtual void Print(Option_t* option)
const;
94 TGo4FitModel(
const char* iName,
const char* iTitle, Bool_t MakeAmplitude = kFALSE);
136 void AssignToData(
const char* DataName, Double_t RatioValue = 1., Bool_t FixRatio = kFALSE);
173 virtual void Print(Option_t* option)
const;
178 virtual Double_t
Evaluate(Double_t x);
183 virtual Double_t
Evaluate(Double_t x, Double_t y);
188 virtual Double_t
Evaluate(Double_t x, Double_t y, Double_t z);
193 virtual Double_t
Evaluate(Double_t* v, Int_t ndim);
203 virtual Bool_t
GetPosition(Int_t naxis, Double_t& pos);
208 virtual Bool_t
SetPosition(Int_t naxis, Double_t pos);
213 virtual Bool_t
GetWidth(Int_t naxis, Double_t& width);
218 virtual Bool_t
SetWidth(Int_t naxis, Double_t width);
231 void SetIntegrationsProperty(Int_t iMinIntegrDepth, Int_t iMaxIntegrDepth = 0, Double_t iIntegrEps = 0., Bool_t iAbsoluteEps = kFALSE, Bool_t iIntegrScaling = kFALSE);
248 virtual Double_t
EvalN(
const Double_t* v);
291 virtual Bool_t
Initialize(Int_t UseBuffers = -1);
438 #endif // TGO4FITMODEL_H
TString GetRatioName(Int_t n)
Int_t GetDataIndexesSize(TGo4FitData *data)
virtual Double_t Evaluate(Double_t x)
Double_t * fxCurrentParsArray
void ClearAssigmentTo(const char *DataName)
virtual Int_t GetWidthParIndex(Int_t)
virtual ~TGo4FitAssignment()
TGo4FitAssignment * FindAssigment(const char *DataName) const
Int_t GetGroupIndex() const
TGo4FitAssignment * GetAssigment(Int_t n) const
virtual TGo4FitParameter * GetWidthPar(Int_t naxis=0)
void AssignToData(const char *DataName, Double_t RatioValue=1., Bool_t FixRatio=kFALSE)
Double_t * GetModelBins(const char *DataName) const
virtual Bool_t SetPosition(Int_t naxis, Double_t pos)
virtual Double_t Integral()
void ClearAssignmentTo(const char *DataName)
const char * AssignmentName(Int_t n)
virtual Double_t EvaluateAtPoint(TGo4FitData *data, Int_t nbin, Bool_t UseRanges=kTRUE)
virtual Bool_t GetPosition(Int_t naxis, Double_t &pos)
virtual TGo4FitParameter * Get(Int_t n)
void ChangeDataNameInAssignments(const char *oldname, const char *newname)
TGo4FitData * GetAssignedConnection(Int_t n)
virtual Double_t UserFunction(Double_t *, Double_t *)
virtual void Print(Option_t *option) const
virtual Bool_t Initialize(Int_t UseBuffers=-1)
TGo4FitAssignment * GetAssigment(Int_t n)
virtual Int_t GetPosParIndex(Int_t)
virtual Bool_t BeforeEval(Int_t ndim)
TGo4FitParameter * fxRatio
ClassDef(TGo4FitSlotList, 1)
void ConnectToDataIfAssigned(TGo4FitData *data)
virtual Bool_t SetWidth(Int_t naxis, Double_t width)
void SetIntegrationsProperty(Int_t iMinIntegrDepth, Int_t iMaxIntegrDepth=0, Double_t iIntegrEps=0., Bool_t iAbsoluteEps=kFALSE, Bool_t iIntegrScaling=kFALSE)
ClassDef(TGo4FitAssignment, 1)
void SetGroupIndex(Int_t index=-1)
virtual Bool_t GetWidth(Int_t naxis, Double_t &width)
TGo4FitParsList * fxAllPars
Int_t NumAssigments() const
virtual void Print(Option_t *option) const
Double_t EvaluateAndIntegrate(Int_t NumScales, const Double_t *Scales, const Double_t *Widths)
virtual TGo4FitParameter * GetPosPar(Int_t naxis=0)
Bool_t BuffersAllocated() const
void RebuildShape(Bool_t ForceBuild=kFALSE)
void SetBackgroundGroupIndex()
Bool_t IsAssignTo(const char *DataName) const
Bool_t AddModelToDataResult(TGo4FitData *data)
TArrayD * fxAllParsValues
Double_t GetRatioValueFor(const char *DataName)
const Int_t * GetDataFullIndex(TGo4FitData *data, Int_t nbin)
virtual Double_t EvalN(const Double_t *v)