GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
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 ()
 
virtual ~TGo4FitDataIter ()
 
virtual Bool_t Reset (Bool_t UseRanges=kTRUE)
 
virtual Bool_t Next (Bool_t UseRanges=kTRUE)
 
Bool_t HasIndexes () const
 
Int_t IndexesSize () const
 
const Int_t * Indexes () const
 
Bool_t DefineIndexesLimits (TArrayI &Limits)
 
Int_t ScalesSize () const
 
const Double_t * Scales () const
 
Double_t x () const
 
Double_t y () const
 
Double_t z () const
 
Bool_t HasWidths () const
 
const Double_t * Widths () const
 
Double_t xWidths () const
 
Double_t Value () const
 
Double_t StandardDeviation () const
 
Int_t Point () const
 
Bool_t CheckPointForRange ()
 
Int_t CountPoints (Bool_t UseRanges=kTRUE)
 
Bool_t ReachEnd () const
 
TH1 * CreateHistogram (const char *HistoName, Bool_t UseRanges=kFALSE, Bool_t SetBins=kFALSE)
 
TGraph * CreateGraph (const char *GraphName, Bool_t UseRanges=kFALSE, Bool_t SetBins=kFALSE)
 
TObject * CreateDrawObject (const char *ObjName)
 

Protected Member Functions

TGo4FitDataGetData () const override
 
Bool_t StartReset () override
 
Bool_t ReadCurrentPoint () override
 
Bool_t ShiftToNextPoint () override
 
- Protected Member Functions inherited from TGo4FitDataIter
Bool_t ReserveArrays (Int_t NumDimen, Int_t NumOwnAxis, Bool_t HasWidth)
 
void TransformScales (Double_t *scales)
 
Bool_t ProduceScales (const Int_t *index, const Double_t *ownscales, const Double_t *ownwidths)
 
Bool_t NextIndex (TArrayI &Index, TArrayI &Limits)
 
Bool_t GetDeviation ()
 

Private Attributes

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

Additional Inherited Members

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

Detailed Description

Definition at line 103 of file TGo4FitDataRidge.h.

Constructor & Destructor Documentation

◆ TGo4FitDataRidgeIter() [1/2]

TGo4FitDataRidgeIter::TGo4FitDataRidgeIter ( )

Definition at line 53 of file TGo4FitDataRidge.cxx.

◆ TGo4FitDataRidgeIter() [2/2]

TGo4FitDataRidgeIter::TGo4FitDataRidgeIter ( TGo4FitDataRidge data)

Definition at line 55 of file TGo4FitDataRidge.cxx.

◆ ~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 110 of file TGo4FitDataRidge.h.

References TGo4FitDataRidge::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(), TGo4FitDataRidge::GetSelectedAxis(), 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, TGo4FitDataRidge::GetData(), TGo4FitData::GetDataType(), iter, TGo4FitData::MakeIter(), and TGo4FitDataIter::ReserveArrays().

Member Data Documentation

◆ fxData

TGo4FitDataRidge* TGo4FitDataRidgeIter::fxData {nullptr}
private

Definition at line 116 of file TGo4FitDataRidge.h.

Referenced by ReadCurrentPoint(), and StartReset().

◆ fxOwnScales

TArrayD TGo4FitDataRidgeIter::fxOwnScales
private

Definition at line 118 of file TGo4FitDataRidge.h.

Referenced by ReadCurrentPoint(), and StartReset().

◆ iter

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

Definition at line 117 of file TGo4FitDataRidge.h.

Referenced by ReadCurrentPoint(), ShiftToNextPoint(), and StartReset().


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