Warning, file /include/root/RooDataHistSliceIter.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef ROO_DATA_HIST_SLICE_ITER
0017 #define ROO_DATA_HIST_SLICE_ITER
0018
0019 #include "TIterator.h"
0020 #include "RooArgSet.h"
0021
0022 class RooDataHist;
0023
0024 typedef TIterator* pTIterator ;
0025
0026 class RooDataHistSliceIter : public TIterator {
0027 public:
0028
0029 RooDataHistSliceIter(const RooDataHistSliceIter& other) ;
0030 ~RooDataHistSliceIter() override ;
0031
0032
0033 const TCollection* GetCollection() const override ;
0034 TObject* Next() override ;
0035 void Reset() override ;
0036 bool operator!=(const TIterator &aIter) const override ;
0037 TObject *operator*() const override ;
0038 protected:
0039
0040 friend class RooDataHist ;
0041 RooDataHistSliceIter(RooDataHist& hist, RooAbsArg& sliceArg) ;
0042
0043 RooDataHist* _hist ;
0044 RooAbsArg* _sliceArg ;
0045 Int_t _baseIndex ;
0046 Int_t _stepSize ;
0047 Int_t _nStep ;
0048 Int_t _curStep ;
0049
0050
0051 TIterator& operator=(const TIterator&) override {
0052 return *this ;
0053 }
0054
0055 ClassDefOverride(RooDataHistSliceIter,0)
0056 };
0057
0058 #endif