GSI Object Oriented Online Offline (Go4)  GO4-6.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
TGo4FitDataHistogramIter Class Reference

#include <TGo4FitDataHistogram.h>

+ Inheritance diagram for TGo4FitDataHistogramIter:

Public Member Functions

 TGo4FitDataHistogramIter ()
 
 TGo4FitDataHistogramIter (TGo4FitDataHistogram *data)
 
 ~TGo4FitDataHistogramIter ()
 
- 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

virtual TGo4FitDataGetData () const
 
virtual Bool_t StartReset ()
 
virtual Bool_t ReadCurrentPoint ()
 
virtual Bool_t ShiftToNextPoint ()
 
- 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

TGo4FitDataHistogramfxData
 
TArrayI fxLimits
 
TArrayD fxOwnScales
 
TArrayD fxOwnWidths
 

Additional Inherited Members

- Protected Attributes inherited from TGo4FitDataIter
TArrayI fxIndexes
 
TArrayD fxScales
 
TArrayD fxWidths
 
Double_t fdValue
 
Double_t fdStandardDeviation
 
Int_t fiNumPoint
 
Bool_t fbReachEnd
 

Detailed Description

Definition at line 89 of file TGo4FitDataHistogram.h.

Constructor & Destructor Documentation

TGo4FitDataHistogramIter::TGo4FitDataHistogramIter ( )

Definition at line 56 of file TGo4FitDataHistogram.cxx.

TGo4FitDataHistogramIter::TGo4FitDataHistogramIter ( TGo4FitDataHistogram data)

Definition at line 60 of file TGo4FitDataHistogram.cxx.

TGo4FitDataHistogramIter::~TGo4FitDataHistogramIter ( )

Definition at line 64 of file TGo4FitDataHistogram.cxx.

Member Function Documentation

virtual TGo4FitData* TGo4FitDataHistogramIter::GetData ( ) const
inlineprotectedvirtual

Return pointer on correspondent TGo4FitData object, which create iterator. Should be implemented in derived classes.

Implements TGo4FitDataIter.

Definition at line 96 of file TGo4FitDataHistogram.h.

References fxData.

Bool_t TGo4FitDataHistogramIter::ReadCurrentPoint ( )
protectedvirtual

Perform specific actions to read all values from data object. Should be implemented in derived classes.

Implements TGo4FitDataIter.

Definition at line 85 of file TGo4FitDataHistogram.cxx.

References TGo4FitDataIter::fdStandardDeviation, TGo4FitDataIter::fdValue, fxData, TGo4FitDataIter::fxIndexes, fxOwnScales, fxOwnWidths, TGo4FitDataIter::GetDeviation(), TGo4FitDataHistogram::GetHistogram(), and TGo4FitDataIter::ProduceScales().

Bool_t TGo4FitDataHistogramIter::ShiftToNextPoint ( )
protectedvirtual

Move pointer to following data point. Should be implemented in derived classes.

Implements TGo4FitDataIter.

Definition at line 117 of file TGo4FitDataHistogram.cxx.

References TGo4FitDataIter::fxIndexes, fxLimits, and TGo4FitDataIter::NextIndex().

Bool_t TGo4FitDataHistogramIter::StartReset ( )
protectedvirtual

Reset pointer and other specific values to the beginning of data. Should be implemented in derived classes.

Implements TGo4FitDataIter.

Definition at line 67 of file TGo4FitDataHistogram.cxx.

References fxData, fxLimits, fxOwnScales, fxOwnWidths, TGo4FitDataHistogram::GetHistogram(), and TGo4FitDataIter::ReserveArrays().

Member Data Documentation

TGo4FitDataHistogram* TGo4FitDataHistogramIter::fxData
private

Definition at line 102 of file TGo4FitDataHistogram.h.

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

TArrayI TGo4FitDataHistogramIter::fxLimits
private

Definition at line 103 of file TGo4FitDataHistogram.h.

Referenced by ShiftToNextPoint(), and StartReset().

TArrayD TGo4FitDataHistogramIter::fxOwnScales
private

Definition at line 104 of file TGo4FitDataHistogram.h.

Referenced by ReadCurrentPoint(), and StartReset().

TArrayD TGo4FitDataHistogramIter::fxOwnWidths
private

Definition at line 105 of file TGo4FitDataHistogram.h.

Referenced by ReadCurrentPoint(), and StartReset().


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