16 #include "Riostream.h"
28 fxData(
"forModel",
"Data, used to represent model component",
29 this,
TGo4FitData::Class(), kTRUE, iDataAsModel, kTRUE), fxIter(0) {
34 fxData(
"forModel",
"Data, used to represent model component",
60 std::cout <<
"TGo4FitModelFromData: incompatible data used for model" << std::endl;
71 if (
fxIter==0)
return kFALSE;
76 if (data==0)
return 0.;
81 if (iter==0)
return 0.;
98 std::cout <<
"Model driven from data" << std::endl;
104 Int_t num = NumIndexes-1;
106 if (
fxIter->
Indexes()[num]==Indexes[num]) { num--;
continue; }
else
Int_t GetDataIndexesSize(TGo4FitData *data)
virtual void Print(Option_t *option) const
virtual TGo4FitDataIter * MakeIter()
virtual void Print(Option_t *option) const
virtual Bool_t Reset(Bool_t UseRanges=kTRUE)
Bool_t IsCompatibleData(TGo4FitData *data)
TGo4FitData * GetAssignedConnection(Int_t n)
virtual Bool_t Initialize(Int_t UseBuffers=-1)
Bool_t SetObject(TObject *iObject, Bool_t iOwned=kFALSE, Bool_t CheckClass=kTRUE)
void SetDataAsModel(TGo4FitData *iData, Bool_t iOwned)
virtual void Print(Option_t *option) const
virtual Bool_t Initialize(Int_t UseBuffers=-1)
virtual Bool_t Next(Bool_t UseRanges=kTRUE)
virtual void FillSlotList(TSeqCollection *lst)
virtual void FillSlotList(TSeqCollection *list)
virtual Double_t EvaluateAtPoint(TGo4FitData *data, Int_t nbin, Bool_t UseRanges=kTRUE)
Int_t NumAssigments() const
virtual void FillSlotList(TSeqCollection *list)
Double_t FindDataPoint(Int_t NumIndexes, const Int_t *Indexes)
const Int_t * Indexes() const
TObject * GetObject() const
TGo4FitData * GetDataAsModel() const
Int_t IndexesSize() const
virtual Bool_t BeforeEval(Int_t)
const Int_t * GetDataFullIndex(TGo4FitData *data, Int_t nbin)