Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

TGo4FitDataGraph Class Reference

Data object, which provides access to TGraph and TGraphErrors ROOT objects. More...

#include <TGo4FitDataGraph.h>

Inheritance diagram for TGo4FitDataGraph:

TGo4FitData TGo4FitComponent TGo4FitParsList TGo4FitSlotList TGo4FitNamed List of all members.

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...

TGo4FitDataIterMakeIter ()
 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...


Detailed Description

Data object, which provides access to TGraph and TGraphErrors ROOT objects.

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.


Constructor & Destructor Documentation

TGo4FitDataGraph::TGo4FitDataGraph  
 

Default constructor.

Definition at line 23 of file TGo4FitDataGraph.cxx.

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 27 of file TGo4FitDataGraph.cxx.

References TGo4FitData::SetExcludeLessThen().

TGo4FitDataGraph::~TGo4FitDataGraph   [virtual]
 

Destroys TGo4FitDataGraph object.

Definition at line 33 of file TGo4FitDataGraph.cxx.


Member Function Documentation

TGraph* TGo4FitDataGraph::GetGraph   [inline]
 

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().

void TGo4FitDataGraph::SetGraph TGraph *    iGraph,
Bool_t    iGraphOwned = kFALSE
[inline]
 

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().

TGo4FitDataIter * TGo4FitDataGraph::MakeIter   [virtual]
 

Create TGo4FitDataGraphIter iterator, assosiated with given data object..

Reimplemented from TGo4FitData.

Definition at line 36 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 40 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 45 of file TGo4FitDataGraph.cxx.

References fxGraph, TGo4FitSlot::Print(), and TGo4FitData::Print().


Member Data Documentation

TGo4FitSlot TGo4FitDataGraph::fxGraph [protected]
 

Slot to for TGraph object.

@label fxGraph

Definition at line 83 of file TGo4FitDataGraph.h.

Referenced by FillSlotList(), GetGraph(), Print(), and SetGraph().


The documentation for this class was generated from the following files:
Generated on Tue Nov 8 10:56:39 2005 for Go4-v2.10-5 by doxygen1.2.15