#include <TGo4FitDataGraph.h>
Inheritance diagram for TGo4FitDataGraph:
Public Methods | |
TGo4FitDataGraph () | |
Default constructor. More... | |
TGo4FitDataGraph (const char *iName, TGraph *=0, Bool_t iGraphOwned=kFALSE, Bool_t AddAmpl=kFALSE) | |
Create TGo4FitDataGraph object with given name. More... | |
virtual | ~TGo4FitDataGraph () |
Destroys TGo4FitDataGraph object. More... | |
TGraph * | GetGraph () |
Return pointer on TGraph object. More... | |
void | SetGraph (TGraph *iGraph, Bool_t iGraphOwned=kFALSE) |
Set TGraph object. More... | |
TGo4FitDataIter * | MakeIter () |
Create TGo4FitDataGraphIter iterator, assosiated with given data object.. More... | |
virtual void | FillSlotList (TSeqCollection *list) |
Add pointer on slot, which should contain TGraph object, to slots list. More... | |
virtual void | Print (Option_t *option) const |
Print information on stndard output. More... | |
Protected Attributes | |
TGo4FitSlot | fxGraph |
Slot to for TGraph object. More... |
TGraph is just N points with X and Y coordinates. This is mean, that it may be only one-dimensional. The TGraph object can be assigned to TGo4FitDataGraph object in constructor, in SetGraph() method or in SetObject() method of fitter. TGraph object may owned, or may not owned by data object. TGo4FitDataGraph gets Y values as bins containment. If no calibration object is sets up, X can be used as axis values. If TGraphErrors object is assigned, the error values of Y can be used as sigmas in chi-square calculations (fit-function type should be ff_chi_square).
Definition at line 31 of file TGo4FitDataGraph.h.
|
Default constructor.
Definition at line 23 of file TGo4FitDataGraph.cxx. |
|
Create TGo4FitDataGraph object with given name. Pointer on TGraph and ownership flag can be provided. Scaling factor (amplitude) also can be added. Definition at line 27 of file TGo4FitDataGraph.cxx. References TGo4FitData::SetExcludeLessThen(). |
|
Destroys TGo4FitDataGraph object.
Definition at line 33 of file TGo4FitDataGraph.cxx. |
|
Return pointer on TGraph object.
Definition at line 54 of file TGo4FitDataGraph.h. References fxGraph, and TGo4FitSlot::GetObject(). Referenced by TGo4FitDataGraphIter::ReadCurrentPoint(), and TGo4FitDataGraphIter::StartReset(). |
|
Set TGraph object. Ownership flag can also be sets up. By default TGraph object is not owned. Definition at line 60 of file TGo4FitDataGraph.h. References fxGraph, and TGo4FitSlot::SetObject(). Referenced by TGo4Fitter::SetGraph(). |
|
Create TGo4FitDataGraphIter iterator, assosiated with given data object..
Reimplemented from TGo4FitData. Definition at line 36 of file TGo4FitDataGraph.cxx. |
|
Add pointer on slot, which should contain TGraph object, to slots list.
Reimplemented from TGo4FitData. Definition at line 40 of file TGo4FitDataGraph.cxx. References TGo4FitData::FillSlotList(), and fxGraph. |
|
Print information on stndard output.
Reimplemented from TGo4FitData. Definition at line 45 of file TGo4FitDataGraph.cxx. References fxGraph, TGo4FitSlot::Print(), and TGo4FitData::Print(). |
|
Slot to for TGraph object. @label fxGraph Definition at line 83 of file TGo4FitDataGraph.h. Referenced by FillSlotList(), GetGraph(), Print(), and SetGraph(). |