#include <TGo4FitDataGraph.h>
Inheritance diagram for TGo4FitDataGraph:
Public Member Functions | |
TGo4FitDataGraph () | |
Default constructor. | |
TGo4FitDataGraph (const char *iName, TGraph *=0, Bool_t iGraphOwned=kFALSE, Bool_t AddAmpl=kFALSE) | |
Create TGo4FitDataGraph object with given name. | |
virtual | ~TGo4FitDataGraph () |
Destroys TGo4FitDataGraph object. | |
TGraph * | GetGraph () |
Return pointer on TGraph object. | |
void | SetGraph (TGraph *iGraph, Bool_t iGraphOwned=kFALSE) |
Set TGraph object. | |
TGo4FitDataIter * | MakeIter () |
Create TGo4FitDataGraphIter iterator, assosiated with given data object. | |
virtual void | FillSlotList (TSeqCollection *list) |
Add pointer on slot, which should contain TGraph object, to slots list. | |
virtual void | Print (Option_t *option) const |
Print information on stndard output. | |
Protected Attributes | |
TGo4FitSlot | fxGraph |
Slot to for TGraph object. |
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 30 of file TGo4FitDataGraph.h.
TGo4FitDataGraph::TGo4FitDataGraph | ( | ) |
TGo4FitDataGraph::TGo4FitDataGraph | ( | const char * | iName, | |
TGraph * | = 0 , |
|||
Bool_t | iGraphOwned = kFALSE , |
|||
Bool_t | AddAmpl = kFALSE | |||
) |
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 29 of file TGo4FitDataGraph.cxx.
References TGo4FitData::SetExcludeLessThen().
TGo4FitDataGraph::~TGo4FitDataGraph | ( | ) | [virtual] |
TGraph* TGo4FitDataGraph::GetGraph | ( | ) | [inline] |
Return pointer on TGraph object.
Definition at line 53 of file TGo4FitDataGraph.h.
References fxGraph, and TGo4FitSlot::GetObject().
Referenced by TGo4FitDataGraphIter::ReadCurrentPoint(), and TGo4FitDataGraphIter::StartReset().
void TGo4FitDataGraph::SetGraph | ( | TGraph * | iGraph, | |
Bool_t | iGraphOwned = kFALSE | |||
) |
Set TGraph object.
Ownership flag can also be sets up. By default TGraph object is not owned.
Definition at line 44 of file TGo4FitDataGraph.cxx.
References fxGraph, and TGo4FitSlot::SetObject().
Referenced by TGo4Fitter::SetGraph().
TGo4FitDataIter * TGo4FitDataGraph::MakeIter | ( | ) | [virtual] |
Create TGo4FitDataGraphIter iterator, assosiated with given data object.
Reimplemented from TGo4FitData.
Definition at line 39 of file TGo4FitDataGraph.cxx.
void TGo4FitDataGraph::FillSlotList | ( | TSeqCollection * | list | ) | [virtual] |
Add pointer on slot, which should contain TGraph object, to slots list.
Reimplemented from TGo4FitData.
Definition at line 49 of file TGo4FitDataGraph.cxx.
References TGo4FitData::FillSlotList(), and fxGraph.
void TGo4FitDataGraph::Print | ( | Option_t * | option | ) | const [virtual] |
Print information on stndard output.
Reimplemented from TGo4FitData.
Definition at line 55 of file TGo4FitDataGraph.cxx.
References fxGraph, TGo4FitSlot::Print(), and TGo4FitData::Print().
TGo4FitSlot TGo4FitDataGraph::fxGraph [protected] |
Slot to for TGraph object.
fxGraph
Definition at line 82 of file TGo4FitDataGraph.h.
Referenced by FillSlotList(), GetGraph(), Print(), and SetGraph().