GSI Object Oriented Online Offline (Go4) GO4-6.4.0
|
#include <TGo4FitDataGraph.h>
Public Member Functions | |
TGo4FitDataGraphIter () | |
TGo4FitDataGraphIter (TGo4FitDataGraph *Data) | |
~TGo4FitDataGraphIter () | |
![]() | |
TGo4FitDataIter () | |
Default constructor. | |
virtual | ~TGo4FitDataIter () |
Destroys TGo4FitDataIter object. | |
Bool_t | CheckPointForRange () |
Check range conditions and amplitude threshold for current point. | |
Int_t | CountPoints (Bool_t UseRanges=kTRUE) |
Counts total number of points in data object. | |
TObject * | CreateDrawObject (const char *ObjName) |
Create either histogram or graph object. | |
TGraph * | CreateGraph (const char *GraphName, Bool_t UseRanges=kFALSE, Bool_t SetBins=kFALSE) |
Create TGraph object with appropriate to data object size. | |
TH1 * | CreateHistogram (const char *HistoName, Bool_t UseRanges=kFALSE, Bool_t SetBins=kFALSE) |
Create histogram (if possible) with appropriate to data object dimensions number and size. | |
Bool_t | DefineIndexesLimits (TArrayI &Limits) |
Iterate over all data points and returns maximum value for indexes. | |
Bool_t | HasIndexes () const |
Return kTRUE, if data object has indexes. | |
Bool_t | HasWidths () const |
Return kTRUE, if scale widths values exists. | |
const Int_t * | Indexes () const |
Return indexes for current data point. | |
Int_t | IndexesSize () const |
Return size (number of dimensions) of data indexes. | |
virtual Bool_t | Next (Bool_t UseRanges=kTRUE) |
Shift pointer to next data point. | |
Int_t | Point () const |
Return number of current point, starting from 0. | |
Bool_t | ReachEnd () const |
Checks, if iterator already reach end of data object. | |
virtual Bool_t | Reset (Bool_t UseRanges=kTRUE) |
Initialize iterator and positioning pointer on first point. | |
const Double_t * | Scales () const |
Return scale values for current data points. | |
Int_t | ScalesSize () const |
Return size (number) of scale values for each data point. | |
Double_t | StandardDeviation () const |
Return standard deviation of bin content (Value) for current point. | |
Double_t | Value () const |
Return bin content (Value) for current point. | |
const Double_t * | Widths () const |
Return scales widths values. | |
Double_t | x () const |
Return current x coordinate if exists, otherwise 0. | |
Double_t | xWidths () const |
Return production of all width parameters (1 if no widths) | |
Double_t | y () const |
Return current y coordinate if exists, otherwise 0. | |
Double_t | z () const |
Return current z coordinate if exists, otherwise 0. | |
Protected Member Functions | |
TGo4FitData * | GetData () const override |
Return pointer on correspondent TGo4FitData object, which create iterator. | |
Bool_t | ReadCurrentPoint () override |
Perform specific actions to read all values from data object. | |
Bool_t | ShiftToNextPoint () override |
Move pointer to following data point. | |
Bool_t | StartReset () override |
Reset pointer and other specific values to the beginning of data. | |
![]() | |
Bool_t | GetDeviation () |
Calculates standard deviation from GetSigmaValue() of data object. | |
Bool_t | NextIndex (TArrayI &Index, TArrayI &Limits) |
Producing next indexes set according limits values. | |
Bool_t | ProduceScales (const Int_t *index, const Double_t *ownscales, const Double_t *ownwidths) |
Converts scale values. | |
Bool_t | ReserveArrays (Int_t NumDimen, Int_t NumOwnAxis, Bool_t HasWidth) |
Reserve buffers for indexes, scales and width values. | |
void | TransformScales (Double_t *scales) |
Transform scales values, using transformation objects in data. | |
Private Attributes | |
Int_t | fiNumPoints {0} |
TGo4FitDataGraph * | fxData {nullptr} |
Additional Inherited Members | |
![]() | |
Bool_t | fbReachEnd {kFALSE} |
Double_t | fdStandardDeviation {0.} |
Double_t | fdValue {0.} |
Int_t | fiNumPoint {0} |
TArrayI | fxIndexes |
TArrayD | fxScales |
TArrayD | fxWidths |
Definition at line 91 of file TGo4FitDataGraph.h.
TGo4FitDataGraphIter::TGo4FitDataGraphIter | ( | ) |
Definition at line 62 of file TGo4FitDataGraph.cxx.
References TGo4FitDataIter::TGo4FitDataIter(), fiNumPoints, and fxData.
TGo4FitDataGraphIter::TGo4FitDataGraphIter | ( | TGo4FitDataGraph * | Data | ) |
Definition at line 69 of file TGo4FitDataGraph.cxx.
References TGo4FitDataIter::TGo4FitDataIter(), fiNumPoints, and fxData.
TGo4FitDataGraphIter::~TGo4FitDataGraphIter | ( | ) |
Definition at line 76 of file TGo4FitDataGraph.cxx.
|
inlineoverrideprotectedvirtual |
Return pointer on correspondent TGo4FitData object, which create iterator.
Should be implemented in derived classes.
Implements TGo4FitDataIter.
Definition at line 98 of file TGo4FitDataGraph.h.
References fxData.
|
overrideprotectedvirtual |
Perform specific actions to read all values from data object.
Should be implemented in derived classes.
Implements TGo4FitDataIter.
Definition at line 89 of file TGo4FitDataGraph.cxx.
References TGo4FitDataIter::fdStandardDeviation, TGo4FitDataIter::fdValue, fxData, TGo4FitDataIter::fxIndexes, TGo4FitDataIter::GetDeviation(), and TGo4FitDataIter::ProduceScales().
|
overrideprotectedvirtual |
Move pointer to following data point.
Should be implemented in derived classes.
Implements TGo4FitDataIter.
Definition at line 111 of file TGo4FitDataGraph.cxx.
References fiNumPoints, and TGo4FitDataIter::fxIndexes.
|
overrideprotectedvirtual |
Reset pointer and other specific values to the beginning of data.
Should be implemented in derived classes.
Implements TGo4FitDataIter.
Definition at line 80 of file TGo4FitDataGraph.cxx.
References fiNumPoints, fxData, and TGo4FitDataIter::ReserveArrays().
|
private |
Definition at line 105 of file TGo4FitDataGraph.h.
Referenced by TGo4FitDataGraphIter(), TGo4FitDataGraphIter(), ShiftToNextPoint(), and StartReset().
|
private |
Definition at line 104 of file TGo4FitDataGraph.h.
Referenced by TGo4FitDataGraphIter(), TGo4FitDataGraphIter(), GetData(), ReadCurrentPoint(), and StartReset().