RooDataHistSliceIter iterates over all bins in a RooDataHist that occur in a slice defined by the bin coordinates of the input sliceSet.
Definition at line 26 of file RooDataHistSliceIter.h.
Public Member Functions | |
RooDataHistSliceIter (const RooDataHistSliceIter &other) | |
Copy constructor. More... | |
~RooDataHistSliceIter () override | |
Destructor. More... | |
const TCollection * | GetCollection () const override |
Dummy. More... | |
TClass * | IsA () const override |
TObject * | Next () override |
Iterator increment operator. More... | |
bool | operator!= (const TIterator &aIter) const override |
Returns true if position of this iterator differs from position of iterator 'aIter'. More... | |
TObject * | operator* () const override |
Iterator dereference operator, not functional for this iterator. More... | |
void | Reset () override |
Reset iterator position to beginning. More... | |
void | Streamer (TBuffer &) override |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
![]() | |
virtual | ~TIterator () |
virtual const TCollection * | GetCollection () const =0 |
virtual Option_t * | GetOption () const |
virtual TClass * | IsA () const |
virtual TObject * | Next ()=0 |
virtual Bool_t | operator!= (const TIterator &) const |
Compare two iterator objects. More... | |
TObject * | operator() () |
virtual TObject * | operator* () const |
Return current object or nullptr. More... | |
virtual TIterator & | operator= (const TIterator &)=0 |
Bool_t | operator== (const TIterator &other) const |
virtual void | Reset ()=0 |
virtual void | Streamer (TBuffer &) |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Static Public Member Functions | |
static TClass * | Class () |
static const char * | Class_Name () |
static Version_t | Class_Version () |
static const char * | DeclFileName () |
![]() | |
static TClass * | Class () |
static const char * | Class_Name () |
static Version_t | Class_Version () |
static const char * | DeclFileName () |
Protected Member Functions | |
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'. More... | |
TIterator & | operator= (const TIterator &) override |
Prohibit iterator assignment. More... | |
![]() | |
TIterator () | |
TIterator (const TIterator &) | |
Protected Attributes | |
Int_t | _baseIndex |
Int_t | _curStep |
RooDataHist * | _hist |
Int_t | _nStep |
RooAbsArg * | _sliceArg |
Int_t | _stepSize |
Friends | |
class | RooDataHist |
#include <RooDataHistSliceIter.h>
RooDataHistSliceIter::RooDataHistSliceIter | ( | const RooDataHistSliceIter & | other | ) |
Copy constructor.
Definition at line 76 of file RooDataHistSliceIter.cxx.
|
override |
Destructor.
Definition at line 92 of file RooDataHistSliceIter.cxx.
|
protected |
Construct an iterator over all bins of RooDataHist 'hist' in the slice defined by the values of the arguments in 'sliceArg'.
Definition at line 43 of file RooDataHistSliceIter.cxx.
|
static |
|
inlinestatic |
Definition at line 55 of file RooDataHistSliceIter.h.
|
inlinestatic |
Definition at line 55 of file RooDataHistSliceIter.h.
|
overridevirtual |
|
inlineoverridevirtual |
Reimplemented from TIterator.
Definition at line 55 of file RooDataHistSliceIter.h.
|
overridevirtual |
Iterator increment operator.
Implements TIterator.
Definition at line 112 of file RooDataHistSliceIter.cxx.
|
overridevirtual |
Returns true if position of this iterator differs from position of iterator 'aIter'.
Reimplemented from TIterator.
Definition at line 156 of file RooDataHistSliceIter.cxx.
|
overridevirtual |
Iterator dereference operator, not functional for this iterator.
Reimplemented from TIterator.
Definition at line 142 of file RooDataHistSliceIter.cxx.
Prohibit iterator assignment.
Implements TIterator.
Definition at line 51 of file RooDataHistSliceIter.h.
|
overridevirtual |
Reset iterator position to beginning.
Implements TIterator.
Definition at line 132 of file RooDataHistSliceIter.cxx.
|
inline |
Definition at line 55 of file RooDataHistSliceIter.h.
|
friend |
Definition at line 40 of file RooDataHistSliceIter.h.
|
protected |
Definition at line 45 of file RooDataHistSliceIter.h.
|
protected |
Definition at line 48 of file RooDataHistSliceIter.h.
|
protected |
Definition at line 43 of file RooDataHistSliceIter.h.
|
protected |
Definition at line 47 of file RooDataHistSliceIter.h.
|
protected |
Definition at line 44 of file RooDataHistSliceIter.h.
|
protected |
Definition at line 46 of file RooDataHistSliceIter.h.