GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TGo4FitDataRidgeIter Class Reference

#include <TGo4FitDataRidge.h>

+ Inheritance diagram for TGo4FitDataRidgeIter:

Public Member Functions

 TGo4FitDataRidgeIter ()
 
 TGo4FitDataRidgeIter (TGo4FitDataRidge *data)
 
 ~TGo4FitDataRidgeIter ()
 
- Public Member Functions inherited from TGo4FitDataIter
 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

TGo4FitDataGetData () 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.
 
- Protected Member Functions inherited from TGo4FitDataIter
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

TGo4FitDataRidgefxData {nullptr}
 
TArrayD fxOwnScales
 
std::unique_ptr< TGo4FitDataIteriter
 

Additional Inherited Members

- Protected Attributes inherited from TGo4FitDataIter
Bool_t fbReachEnd {kFALSE}
 
Double_t fdStandardDeviation {0.}
 
Double_t fdValue {0.}
 
Int_t fiNumPoint {0}
 
TArrayI fxIndexes
 
TArrayD fxScales
 
TArrayD fxWidths
 

Detailed Description

Definition at line 105 of file TGo4FitDataRidge.h.

Constructor & Destructor Documentation

◆ TGo4FitDataRidgeIter() [1/2]

TGo4FitDataRidgeIter::TGo4FitDataRidgeIter ( )

Definition at line 53 of file TGo4FitDataRidge.cxx.

References TGo4FitDataIter::TGo4FitDataIter(), fxData, fxOwnScales, and iter.

◆ TGo4FitDataRidgeIter() [2/2]

TGo4FitDataRidgeIter::TGo4FitDataRidgeIter ( TGo4FitDataRidge * data)

Definition at line 55 of file TGo4FitDataRidge.cxx.

References TGo4FitDataIter::TGo4FitDataIter(), fxData, fxOwnScales, and iter.

◆ ~TGo4FitDataRidgeIter()

TGo4FitDataRidgeIter::~TGo4FitDataRidgeIter ( )

Definition at line 60 of file TGo4FitDataRidge.cxx.

Member Function Documentation

◆ GetData()

TGo4FitData * TGo4FitDataRidgeIter::GetData ( ) const
inlineoverrideprotectedvirtual

Return pointer on correspondent TGo4FitData object, which create iterator.

Should be implemented in derived classes.

Implements TGo4FitDataIter.

Definition at line 112 of file TGo4FitDataRidge.h.

References fxData.

◆ ReadCurrentPoint()

Bool_t TGo4FitDataRidgeIter::ReadCurrentPoint ( )
overrideprotectedvirtual

Perform specific actions to read all values from data object.

Should be implemented in derived classes.

Implements TGo4FitDataIter.

Definition at line 90 of file TGo4FitDataRidge.cxx.

References TGo4FitDataIter::fdStandardDeviation, TGo4FitDataIter::fdValue, fxData, fxOwnScales, TGo4FitDataIter::GetDeviation(), iter, and TGo4FitDataIter::ProduceScales().

◆ ShiftToNextPoint()

Bool_t TGo4FitDataRidgeIter::ShiftToNextPoint ( )
overrideprotectedvirtual

Move pointer to following data point.

Should be implemented in derived classes.

Implements TGo4FitDataIter.

Definition at line 111 of file TGo4FitDataRidge.cxx.

References iter.

◆ StartReset()

Bool_t TGo4FitDataRidgeIter::StartReset ( )
overrideprotectedvirtual

Reset pointer and other specific values to the beginning of data.

Should be implemented in derived classes.

Implements TGo4FitDataIter.

Definition at line 64 of file TGo4FitDataRidge.cxx.

References TGo4FitData::dtHistogram, fxData, fxOwnScales, TGo4FitData::GetDataType(), iter, TGo4FitData::MakeIter(), and TGo4FitDataIter::ReserveArrays().

Field Documentation

◆ fxData

TGo4FitDataRidge* TGo4FitDataRidgeIter::fxData {nullptr}
private

◆ fxOwnScales

TArrayD TGo4FitDataRidgeIter::fxOwnScales
private

◆ iter

std::unique_ptr<TGo4FitDataIter> TGo4FitDataRidgeIter::iter
private

The documentation for this class was generated from the following files: