ROOT logo
ROOT » ROOFIT » ROOFITCORE » RooDataHistSliceIter

class RooDataHistSliceIter: public TIterator



RooDataHistSliceIter iterates over all bins in a RooDataHist that occur in a slice defined by the bin coordinates of the input sliceSet.

Function Members (Methods)

public:
RooDataHistSliceIter(const RooDataHistSliceIter& other)
virtual~RooDataHistSliceIter()
static TClass*Class()
virtual const TCollection*GetCollection() const
virtual Option_t*TIterator::GetOption() const
virtual TClass*IsA() const
virtual TObject*Next()
virtual booloperator!=(const TIterator& aIter) const
TObject*TIterator::operator()()
virtual TObject*operator*() const
RooDataHistSliceIter&operator=(const RooDataHistSliceIter&)
virtual voidReset()
virtual voidShowMembers(TMemberInspector& insp)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
protected:
RooDataHistSliceIter(RooDataHist& hist, RooAbsArg& sliceArg)
virtual TIterator&operator=(const TIterator&)

Data Members

protected:
Int_t_baseIndex
Int_t_curStep
RooDataHist*_hist
Int_t_nStep
RooAbsArg*_sliceArg
Int_t_stepSize

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

RooDataHistSliceIter(RooDataHist& hist, RooAbsArg& sliceArg)
 Construct an iterator over all bins of RooDataHist 'hist' in the slice defined
 by the values of the arguments in 'sliceArg'
RooDataHistSliceIter(const RooDataHistSliceIter& other)
 Copy constructor
~RooDataHistSliceIter()
 Destructor
const TCollection* GetCollection() const
 Dummy
TObject* Next()
 Iterator increment operator
void Reset()
 Reset iterator position to beginning
TObject * operator*() const
 Iterator dereference operator, not functional for this iterator
bool operator!=(const TIterator& aIter) const
 Returns true if position of this iterator differs from position
 of iterator 'aIter'
TIterator& operator=(const TIterator& )
 Prohibit iterator assignment