#include <TGo4FitDataRidge.h>
Inheritance diagram for TGo4FitDataRidge:
Public Methods | |
TGo4FitDataRidge () | |
Default constructor. More... | |
TGo4FitDataRidge (const char *iName, TGo4FitData *Data=0, Int_t SelectedAxis=1) | |
Creates TGo4FitDataRidge object with given name. More... | |
virtual | ~TGo4FitDataRidge () |
Destroys TGo4FitDataRidge object. More... | |
void | SetData (TGo4FitData *iData, Bool_t Owned) |
Sets pointer on TGo4FitData object and ownership flag. More... | |
TGo4FitData * | GetData () const |
Returns pointer on TGo4FitData object. More... | |
void | SetSelectedAxis (Int_t naxis) |
Sets number of axis, which selected as "ridge altitude". More... | |
Int_t | GetSelectedAxis () |
Returns number of selected axis. More... | |
TGo4FitDataIter * | MakeIter () |
Create TGo4FitDataRidgeIter iterator, assosiated with given data object.. More... | |
virtual void | FillSlotList (TSeqCollection *list) |
Add pointer on slot, which should contain TGo4FitData object, to list of slots. More... | |
virtual void | Print (Option_t *option) const |
Print information to standard output. More... | |
Protected Attributes | |
TGo4FitSlot | fxData |
Slot for TGo4FitData object. More... | |
Int_t | fiSelectedAxis |
Number of selected as ridge axis. More... |
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.
Definition at line 33 of file TGo4FitDataRidge.h.
|
Default constructor.
Definition at line 23 of file TGo4FitDataRidge.cxx. |
|
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. Definition at line 27 of file TGo4FitDataRidge.cxx. References TGo4FitData::SetExcludeLessThen(). |
|
Destroys TGo4FitDataRidge object.
Definition at line 35 of file TGo4FitDataRidge.cxx. |
|
Sets pointer on TGo4FitData object and ownership flag.
Definition at line 56 of file TGo4FitDataRidge.h. References fxData, and TGo4FitSlot::SetObject(). |
|
Returns pointer on TGo4FitData object.
Definition at line 61 of file TGo4FitDataRidge.h. References fxData, and TGo4FitSlot::GetObject(). Referenced by FillSlotList(), Print(), and TGo4FitDataRidgeIter::StartReset(). |
|
Sets number of axis, which selected as "ridge altitude".
Definition at line 66 of file TGo4FitDataRidge.h. References fiSelectedAxis. |
|
Returns number of selected axis.
Definition at line 71 of file TGo4FitDataRidge.h. References fiSelectedAxis. Referenced by TGo4FitDataRidgeIter::ReadCurrentPoint(). |
|
Create TGo4FitDataRidgeIter iterator, assosiated with given data object..
Reimplemented from TGo4FitData. Definition at line 39 of file TGo4FitDataRidge.cxx. |
|
Add pointer on slot, which should contain TGo4FitData object, to list of slots.
Reimplemented from TGo4FitData. Definition at line 43 of file TGo4FitDataRidge.cxx. References TGo4FitData::FillSlotList(), fxData, and GetData(). |
|
Print information to standard output.
Reimplemented from TGo4FitData. Definition at line 50 of file TGo4FitDataRidge.cxx. References fiSelectedAxis, GetData(), and TGo4FitData::Print(). |
|
Slot for TGo4FitData object.
Definition at line 93 of file TGo4FitDataRidge.h. Referenced by FillSlotList(), GetData(), and SetData(). |
|
Number of selected as ridge axis.
Definition at line 98 of file TGo4FitDataRidge.h. Referenced by GetSelectedAxis(), Print(), and SetSelectedAxis(). |