27 fxGraph(
"Graph",
"Data object of TGraph class", this, TGraph::Class(), kTRUE, iGraph, iGraphOwned)
38 return std::make_unique<TGo4FitDataGraphIter>(
this);
44 fxGraph.SetObject(iGraph,iGraphOwned);
91 if (!
fxData)
return kFALSE;
92 TGraph *gr =
fxData->GetGraph();
93 if (!gr)
return kFALSE;
97 if (!xx || !yy)
return kFALSE;
103 Double_t zn = gr->GetErrorY(
fxIndexes[0]);
Bool_t ReadCurrentPoint() override
Perform specific actions to read all values from data object.
Bool_t StartReset() override
Reset pointer and other specific values to the beginning of data.
Bool_t ShiftToNextPoint() override
Move pointer to following data point.
TGo4FitDataGraph * fxData
Data object, which provides access to TGraph and TGraphErrors ROOT objects.
TGo4FitSlot fxGraph
Slot to for TGraph object.
virtual ~TGo4FitDataGraph()
Destroys TGo4FitDataGraph object.
std::unique_ptr< TGo4FitDataIter > MakeIter() override
Create TGo4FitDataGraphIter iterator, associated with given data object.
void Print(Option_t *option="") const override
Print information on standard output.
void FillSlotList(TSeqCollection *list) override
Add pointer on slot, which should contain TGraph object, to slots list.
TGo4FitDataGraph()
Default constructor.
void SetGraph(TGraph *iGraph, Bool_t iGraphOwned=kFALSE)
Set TGraph object.
Double_t fdStandardDeviation
Bool_t ProduceScales(const Int_t *index, const Double_t *ownscales, const Double_t *ownwidths)
Converts scale values.
Bool_t GetDeviation()
Calculates standard deviation from GetSigmaValue() of data object.
TGo4FitDataIter()
Default constructor.
Bool_t ReserveArrays(Int_t NumDimen, Int_t NumOwnAxis, Bool_t HasWidth)
Reserve buffers for indexes, scales and width values.
void SetExcludeLessThen(Double_t limit=0.)
Sets limit to exclude bins, which not less then this limit.
void FillSlotList(TSeqCollection *list) override
Copy pointers on all slots of data object to list.
TGo4FitData()
Default constructor.
void Print(Option_t *option="") const override
Display information about data object on standard output.