v2.10-0 (21000JUN2005)

Go4Fit
Class TGo4FitDataGraph


class TGo4FitDataGraph
derived from TGo4FitData

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


Field Summary
 protected TGo4FitSlotfxGraph
          Slot to for TGraph object.

Fields inherited from class Go4Fit.TGo4FitData
fbUseBinScale, fdExcludeLessThen, fdSigmaValue, fiDataType, fiTakeSigmasFrom, fxAxisTrans

Fields inherited from class TNamed
fName, fTitle

Fields inherited from class Go4Fit.TGo4FitSlotList
fbUpdateSlotList, fxSlotList

Constructor Summary
TGo4FitDataGraph()
          Default constructor.
TGo4FitDataGraph(const char * iName, TGraph* , Bool_t iGraphOwned, Bool_t AddAmpl)
          Create TGo4FitDataGraph object with given name.

Destructor Summary
 virtual synchronized ~TGo4FitDataGraph()
          Destroys TGo4FitDataGraph object.

Method Summary
 virtual voidFillSlotList(TSeqCollection* list)
          Add pointer on slot, which should contain TGraph object, to slots list.
 TGraph*GetGraph()
          Return pointer on TGraph object.
 TGo4FitDataIter*MakeIter()
          Create TGo4FitDataGraphIter iterator, assosiated with given data object..
 virtual const voidPrint(Option_t* option)
          Print information on stndard output.
 voidSetGraph(TGraph* iGraph, Bool_t iGraphOwned)
          Set TGraph object.

Methods inherited from class Go4Fit.TGo4FitData
AddAxisTrans, ApplyRangesForModelMask, BuffersAllocated, CanAmplTouch, CreateDrawObject, DefineBinsSize, DefineDimensions, DefineScaleMinMax, Finalize, GetAxisTrans, GetAxisTransSlot, GetBinsDevs, GetBinsResult, GetBinsSize, GetBinsValues, GetDataType, GetExcludeLessThen, GetFullIndex, GetIndexesSize, GetNumberOfTransSlots, GetScalesSize, GetScaleValues, GetSigmaSource, GetSigmaValue, GetUseBinScale, GetWidthValues, Initialize, IsAnyDataTransform, IsCompatibleData, SetAxisTrans, SetAxisTransNeeded, SetExcludeLessThen, SetNumberOfTransSlots, SetSigmaSource, SetSigmaValue, SetUseBinScale

Methods inherited from class Go4Fit.TGo4FitComponent
AddRangeCondition, AddRangeCut, CheckRangeConditions, ClearRanges, CollectParsTo, ExcludeRange, GetAmplError, GetAmplFullName, GetAmplIndex, GetAmplName, GetAmplPar, GetAmplValue, GetNumRangeCondition, GetNumRangeCut, GetRangeCondition, GetRangeCut, GetRangeMax, GetRangeMin, GetUseBuffers, IsAnyRangeLimits, IsRangeCutExcluding, MakeAmpl, NewAmplitude, NewParameter, RemoveAmpl, RemoveRangeCondition, RemoveRangeCut, SetAmplError, SetAmplIndex, SetAmplValue, SetRange, SetRangeCondition, SetRangeCutExcluding, SetRangeMax, SetRangeMin, SetUseBuffers

Methods inherited from class Go4Fit.TGo4FitParsList
AddPar, CanRollbackPars, ClearPars, ClearParsBlocking, CreatePar, Find, Find, Find, FindPar, FindPar, FindPar, Get, GetPar, GetParEpsilon, GetParError, GetParFixed, GetParFullName, GetParIndex, GetParName, GetParRange, GetParsValues, GetParValue, InsertPar, IsAllParsFixed, MemorizePars, NumFixedPars, NumFreePars, NumPars, PrintPars, RememberPars, RemovePar, RemovePar, RemoveParByIndex, SetParEpsilon, SetParError, SetParFixed, SetParName, SetParRange, SetParsNames, SetParsOwner, SetParsValues, SetParsValues, SetParValue

Methods inherited from class Go4Fit.TGo4FitNamed
GetFullName, GetOwner, GetOwnerFullName, SetOwner

Methods inherited from class TNamed
operator=, Clear, Clone, Compare, Copy, FillBuffer, GetName, GetTitle, Hash, IsSortable, SetName, SetNameTitle, SetTitle, ls, Sizeof, Class, Class_Name, Class_Version, Dictionary, IsA, ShowMembers, Streamer, StreamerNVirtual, DeclFileName, ImplFileLine, ImplFileName, DeclFileLine

Methods inherited from class Go4Fit.TGo4FitSlotList
CheckDuplicatesOnSlot, CheckObjects, ClearObjects, ClearSlot, ConnectSlots, ConnectSlots, FindSlot, GetSlot, GetSlotList, IsEmptySlots, IsObjectInSlots, NumSlots, PrepareSlotsForWriting, SetObject, SetObject, SetSaveFlagForObjects, SetUpdateSlotList

Field Detail

fxGraph

protected TGo4FitSlot fxGraph
Slot to for TGraph object.
label fxGraph
Constructor Detail

TGo4FitDataGraph

public TGo4FitDataGraph()
Default constructor.

TGo4FitDataGraph

public TGo4FitDataGraph(const char * iName, TGraph* , Bool_t iGraphOwned, Bool_t AddAmpl)
Create TGo4FitDataGraph object with given name.
Pointer on TGraph and ownership flag can be provided.
Scaling factor (amplitude) also can be added.
Method Detail

~TGo4FitDataGraph

public virtual synchronized ~TGo4FitDataGraph()
Destroys TGo4FitDataGraph object.
Method Detail

FillSlotList

public virtual void FillSlotList(TSeqCollection* list)
Add pointer on slot, which should contain TGraph object, to slots list.

GetGraph

public TGraph* GetGraph()
Return pointer on TGraph object.

MakeIter

public TGo4FitDataIter* MakeIter()
Create TGo4FitDataGraphIter iterator, assosiated with given data object..

Print

public virtual const void Print(Option_t* option)
Print information on stndard output.

SetGraph

public void SetGraph(TGraph* iGraph, Bool_t iGraphOwned)
Set TGraph object.
Ownership flag can also be sets up. By default TGraph object is not owned.

Association Links

to Class TGo4FitSlot

Slot to for TGraph object.

Label fxGraph

J.Adamczewski, M.Al-Turany, D.Bertini, H.G.Essel, S.Linev

30-06-2005