v2.10-0 (21000JUN2005)

Go4Fit
Class TGo4FitDataRidge


class TGo4FitDataRidge
derived from TGo4FitData

Special object to approxiamte ridges on multi-dimensional histograms.

Ridge means that some coordinate in multidimensional histograms can be represented as function of another coordinate(s) like y = f(x). If one has histogram, build in (x,y) space, one can try to approximate function f by several way.

First simplest way, which works for two-dimensional way is to build TProfile from TH2 object, averaging data along y axis. Then TGo4FitDataProfile can be used to approximate TProfile by any kind of functional dependency.

Another way is usage of TGo4FitDataRidge object. It selects one of histogram coordinate and use histogram as a set of measured points y(x) with different statistical weights, reverse proportinal to bin content of histogram at (x,y). Then this set of points can be again approximate of any kind of functional dependency from one coordinate. This simplest case can be extend to N-dimensions. In this case one of coordinate is a functions of the rest. This means, that this corrdinate can be approximate by function with N-1 coordinates.

To obtain data, TGo4FitDataRidge object internally uses another TGo4FitData, which should provide histogram. Currently only TGo4FitDataHistogram object can be used for this purposes.


Field Summary
 protected Int_tfiSelectedAxis
          Number of selected as ridge axis.
 protected TGo4FitSlotfxData
          Slot for TGo4FitData 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
TGo4FitDataRidge()
          Default constructor.
TGo4FitDataRidge(const char * iName, TGo4FitData* Data, Int_t SelectedAxis)
          Creates TGo4FitDataRidge object with given name.

Destructor Summary
 virtual synchronized ~TGo4FitDataRidge()
          Destroys TGo4FitDataRidge object

Method Summary
 virtual voidFillSlotList(TSeqCollection* list)
          Add pointer on slot, which should contain TGo4FitData object, to list of slots.
 const TGo4FitData*GetData()
          Returns pointer on TGo4FitData object.
 Int_tGetSelectedAxis()
          Returns number of selected axis.
 TGo4FitDataIter*MakeIter()
          Create TGo4FitDataRidgeIter iterator, assosiated with given data object..
 virtual const voidPrint(Option_t* option)
          Print information to standard output.
 voidSetData(TGo4FitData* iData, Bool_t Owned)
          Sets pointer on TGo4FitData object and ownership flag.
 voidSetSelectedAxis(Int_t naxis)
          Sets number of axis, which selected as "ridge altitude".

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

fiSelectedAxis

protected Int_t fiSelectedAxis
Number of selected as ridge axis.

fxData

protected TGo4FitSlot fxData
Slot for TGo4FitData object.
Constructor Detail

TGo4FitDataRidge

public TGo4FitDataRidge()
Default constructor.

TGo4FitDataRidge

public TGo4FitDataRidge(const char * iName, TGo4FitData* Data, Int_t SelectedAxis)
Creates TGo4FitDataRidge object with given name.
Pointer on TGo4FitData object, which should provide histogramic data, can be specified.
Also axis number, which uses as ridge coordinate, can be specified. By default y-axis is used as ridge.
Method Detail

~TGo4FitDataRidge

public virtual synchronized ~TGo4FitDataRidge()
Destroys TGo4FitDataRidge object
Method Detail

FillSlotList

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

GetData

public const TGo4FitData* GetData()
Returns pointer on TGo4FitData object.

GetSelectedAxis

public Int_t GetSelectedAxis()
Returns number of selected axis.

MakeIter

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

Print

public virtual const void Print(Option_t* option)
Print information to standard output.

SetData

public void SetData(TGo4FitData* iData, Bool_t Owned)
Sets pointer on TGo4FitData object and ownership flag.

SetSelectedAxis

public void SetSelectedAxis(Int_t naxis)
Sets number of axis, which selected as "ridge altitude".

Association Links

to Class TGo4FitSlot

Slot for TGo4FitData object.

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

30-06-2005