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

#include <TGo4FitDataProfile.h>

+ Inheritance diagram for TGo4FitDataProfileIter:

Public Member Functions

 TGo4FitDataProfileIter ()
 
 TGo4FitDataProfileIter (TGo4FitDataProfile *Data)
 
 ~TGo4FitDataProfileIter ()
 
- 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

Int_t fiNumPoints {0}
 
TGo4FitDataProfilefxData {nullptr}
 

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 87 of file TGo4FitDataProfile.h.

Constructor & Destructor Documentation

◆ TGo4FitDataProfileIter() [1/2]

TGo4FitDataProfileIter::TGo4FitDataProfileIter ( )

Definition at line 64 of file TGo4FitDataProfile.cxx.

References TGo4FitDataIter::TGo4FitDataIter(), fiNumPoints, and fxData.

◆ TGo4FitDataProfileIter() [2/2]

TGo4FitDataProfileIter::TGo4FitDataProfileIter ( TGo4FitDataProfile * Data)

Definition at line 68 of file TGo4FitDataProfile.cxx.

References TGo4FitDataIter::TGo4FitDataIter(), fiNumPoints, and fxData.

◆ ~TGo4FitDataProfileIter()

TGo4FitDataProfileIter::~TGo4FitDataProfileIter ( )

Definition at line 73 of file TGo4FitDataProfile.cxx.

Member Function Documentation

◆ GetData()

TGo4FitData * TGo4FitDataProfileIter::GetData ( ) const
inlineoverrideprotectedvirtual

Return pointer on correspondent TGo4FitData object, which create iterator.

Should be implemented in derived classes.

Implements TGo4FitDataIter.

Definition at line 94 of file TGo4FitDataProfile.h.

References fxData.

◆ ReadCurrentPoint()

Bool_t TGo4FitDataProfileIter::ReadCurrentPoint ( )
overrideprotectedvirtual

Perform specific actions to read all values from data object.

Should be implemented in derived classes.

Implements TGo4FitDataIter.

Definition at line 86 of file TGo4FitDataProfile.cxx.

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

◆ ShiftToNextPoint()

Bool_t TGo4FitDataProfileIter::ShiftToNextPoint ( )
overrideprotectedvirtual

Move pointer to following data point.

Should be implemented in derived classes.

Implements TGo4FitDataIter.

Definition at line 105 of file TGo4FitDataProfile.cxx.

References fiNumPoints, and TGo4FitDataIter::fxIndexes.

◆ StartReset()

Bool_t TGo4FitDataProfileIter::StartReset ( )
overrideprotectedvirtual

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

Should be implemented in derived classes.

Implements TGo4FitDataIter.

Definition at line 77 of file TGo4FitDataProfile.cxx.

References fiNumPoints, fxData, and TGo4FitDataIter::ReserveArrays().

Field Documentation

◆ fiNumPoints

Int_t TGo4FitDataProfileIter::fiNumPoints {0}
private

◆ fxData

TGo4FitDataProfile* TGo4FitDataProfileIter::fxData {nullptr}
private

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