22 fxData(
"DataForRidge",
"Data, used to represent bins for ridge", this,
TGo4FitData::Class(), kTRUE, Data, kTRUE),
32 return std::make_unique<TGo4FitDataRidgeIter>(
this);
48 std::cout <<
" selected axis for transform " <<
fiSelectedAxis << std::endl;
76 std::cout <<
" Only histogramic data can be used for transform " << std::endl;
96 if (
iter->Value() > 0.)
102 for (Int_t n = 0; n <
iter->ScalesSize(); n++)
103 if (n ==
fxData->GetSelectedAxis())
115 Bool_t res =
iter->Next(kTRUE);
116 while (res && (
iter->Value() <= 0.))
117 res =
iter->Next(kTRUE);
Double_t fdStandardDeviation
Bool_t ProduceScales(const Int_t *index, const Double_t *ownscales, const Double_t *ownwidths)
Converts scale values.
Bool_t GetDeviation()
Calculates standard deviation from GetSigmaValue() of data object.
TGo4FitDataIter()
Default constructor.
Bool_t ReserveArrays(Int_t NumDimen, Int_t NumOwnAxis, Bool_t HasWidth)
Reserve buffers for indexes, scales and width values.
Bool_t ShiftToNextPoint() override
Move pointer to following data point.
TGo4FitDataRidge * fxData
Bool_t ReadCurrentPoint() override
Perform specific actions to read all values from data object.
std::unique_ptr< TGo4FitDataIter > iter
Bool_t StartReset() override
Reset pointer and other specific values to the beginning of data.
Special object to approximate ridges on multi-dimensional histograms.
TGo4FitData * GetData() const
Returns pointer on TGo4FitData object.
Int_t fiSelectedAxis
Number of selected as ridge axis.
std::unique_ptr< TGo4FitDataIter > MakeIter() override
Create TGo4FitDataRidgeIter iterator, associated with given data object.
virtual ~TGo4FitDataRidge()
Destroys TGo4FitDataRidge object.
TGo4FitSlot fxData
Slot for TGo4FitData object.
virtual void Print(Option_t *option="") const override
Print information to standard output.
void FillSlotList(TSeqCollection *list) override
Add pointer on slot, which should contain TGo4FitData object, to list of slots.
TGo4FitDataRidge()
Default constructor.
Basic abstract class for representing data, which should be fitted.
void SetExcludeLessThen(Double_t limit=0.)
Sets limit to exclude bins, which not less then this limit.
Int_t GetDataType() const
Returns type of data source.
void FillSlotList(TSeqCollection *list) override
Copy pointers on all slots of data object to list.
TGo4FitData()
Default constructor.
virtual std::unique_ptr< TGo4FitDataIter > MakeIter()
Creates iterator for data object.
void Print(Option_t *option="") const override
Display information about data object on standard output.