14#ifndef TGO4FITDATAPROFILE_H
15#define TGO4FITDATAPROFILE_H
42 TGo4FitDataProfile(
const char *iName, TProfile *iProfile =
nullptr, Bool_t iGraphOwned = kFALSE, Bool_t AddAmpl = kFALSE);
58 void SetProfile(TProfile *iProfile, Bool_t iProfileOwned = kFALSE);
63 std::unique_ptr<TGo4FitDataIter>
MakeIter()
override;
73 void Print(Option_t *option =
"")
const override;
Iterator class for data object.
Bool_t ShiftToNextPoint() override
Move pointer to following data point.
TGo4FitData * GetData() const override
Return pointer on correspondent TGo4FitData object, which create iterator.
TGo4FitDataProfileIter(TGo4FitDataProfile *Data)
~TGo4FitDataProfileIter()
Bool_t ReadCurrentPoint() override
Perform specific actions to read all values from data object.
TGo4FitDataProfile * fxData
Bool_t StartReset() override
Reset pointer and other specific values to the beginning of data.
Data object, which provides access to TProfile ROOT class.
std::unique_ptr< TGo4FitDataIter > MakeIter() override
Create TGo4FitDataProfileIter iterator, associated with given data object.
void Print(Option_t *option="") const override
Print information on standard output.
TGo4FitDataProfile()
Default constructor.
TProfile * GetProfile() const
Returns pointer on TProfile object.
TGo4FitDataProfile(const char *iName, TProfile *iProfile=nullptr, Bool_t iGraphOwned=kFALSE, Bool_t AddAmpl=kFALSE)
Create TGo4FitDataProfile object with given name.
void SetProfile(TProfile *iProfile, Bool_t iProfileOwned=kFALSE)
Set pointer on TProfile object.
virtual ~TGo4FitDataProfile()
Destroys TGo4FitDataProfile object.
TGo4FitSlot fxProfile
Slot for TProfile object.
void FillSlotList(TSeqCollection *list) override
Add pointer on slot, which should contain TProfile object, to list of slots.
Basic abstract class for representing data, which should be fitted.
Managing pointers on specific objects.