Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RooDataHistSliceIter Class Reference

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.
 
 ~RooDataHistSliceIter () override
 Destructor.
 
const TCollectionGetCollection () const override
 Dummy.
 
TClassIsA () const override
 
TObjectNext () override
 Iterator increment operator.
 
bool operator!= (const TIterator &aIter) const override
 Returns true if position of this iterator differs from position of iterator 'aIter'.
 
TObjectoperator* () const override
 Iterator dereference operator, not functional for this iterator.
 
void Reset () override
 Reset iterator position to beginning.
 
void Streamer (TBuffer &) override
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
- Public Member Functions inherited from TIterator
virtual ~TIterator ()
 
virtual Option_tGetOption () const
 
TObjectoperator() ()
 
Bool_t operator== (const TIterator &other) const
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 

Static Public Member Functions

static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Static Public Member Functions inherited from TIterator
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr 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'.
 
TIteratoroperator= (const TIterator &) override
 Prohibit iterator assignment.
 
- Protected Member Functions inherited from TIterator
 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>

Inheritance diagram for RooDataHistSliceIter:
[legend]

Constructor & Destructor Documentation

◆ RooDataHistSliceIter() [1/2]

RooDataHistSliceIter::RooDataHistSliceIter ( const RooDataHistSliceIter other)

Copy constructor.

Definition at line 70 of file RooDataHistSliceIter.cxx.

◆ ~RooDataHistSliceIter()

RooDataHistSliceIter::~RooDataHistSliceIter ( )
override

Destructor.

Definition at line 86 of file RooDataHistSliceIter.cxx.

◆ RooDataHistSliceIter() [2/2]

RooDataHistSliceIter::RooDataHistSliceIter ( RooDataHist hist,
RooAbsArg sliceArg 
)
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 37 of file RooDataHistSliceIter.cxx.

Member Function Documentation

◆ Class()

static TClass * RooDataHistSliceIter::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

static const char * RooDataHistSliceIter::Class_Name ( )
static
Returns
Name of this class

◆ Class_Version()

static constexpr Version_t RooDataHistSliceIter::Class_Version ( )
inlinestaticconstexpr
Returns
Version of this class

Definition at line 55 of file RooDataHistSliceIter.h.

◆ DeclFileName()

static const char * RooDataHistSliceIter::DeclFileName ( )
inlinestatic
Returns
Name of the file containing the class declaration

Definition at line 55 of file RooDataHistSliceIter.h.

◆ GetCollection()

const TCollection * RooDataHistSliceIter::GetCollection ( ) const
overridevirtual

Dummy.

Implements TIterator.

Definition at line 95 of file RooDataHistSliceIter.cxx.

◆ IsA()

TClass * RooDataHistSliceIter::IsA ( ) const
inlineoverridevirtual
Returns
TClass describing current object

Reimplemented from TIterator.

Definition at line 55 of file RooDataHistSliceIter.h.

◆ Next()

TObject * RooDataHistSliceIter::Next ( )
overridevirtual

Iterator increment operator.

Implements TIterator.

Definition at line 106 of file RooDataHistSliceIter.cxx.

◆ operator!=()

bool RooDataHistSliceIter::operator!= ( const TIterator aIter) const
overridevirtual

Returns true if position of this iterator differs from position of iterator 'aIter'.

Reimplemented from TIterator.

Definition at line 150 of file RooDataHistSliceIter.cxx.

◆ operator*()

TObject * RooDataHistSliceIter::operator* ( ) const
overridevirtual

Iterator dereference operator, not functional for this iterator.

Reimplemented from TIterator.

Definition at line 136 of file RooDataHistSliceIter.cxx.

◆ operator=()

TIterator & RooDataHistSliceIter::operator= ( const TIterator )
inlineoverrideprotectedvirtual

Prohibit iterator assignment.

Implements TIterator.

Definition at line 51 of file RooDataHistSliceIter.h.

◆ Reset()

void RooDataHistSliceIter::Reset ( )
overridevirtual

Reset iterator position to beginning.

Implements TIterator.

Definition at line 126 of file RooDataHistSliceIter.cxx.

◆ Streamer()

void RooDataHistSliceIter::Streamer ( TBuffer )
overridevirtual

Reimplemented from TIterator.

◆ StreamerNVirtual()

void RooDataHistSliceIter::StreamerNVirtual ( TBuffer ClassDef_StreamerNVirtual_b)
inline

Definition at line 55 of file RooDataHistSliceIter.h.

Friends And Related Symbol Documentation

◆ RooDataHist

friend class RooDataHist
friend

Definition at line 40 of file RooDataHistSliceIter.h.

Member Data Documentation

◆ _baseIndex

Int_t RooDataHistSliceIter::_baseIndex
protected

Definition at line 45 of file RooDataHistSliceIter.h.

◆ _curStep

Int_t RooDataHistSliceIter::_curStep
protected

Definition at line 48 of file RooDataHistSliceIter.h.

◆ _hist

RooDataHist* RooDataHistSliceIter::_hist
protected

Definition at line 43 of file RooDataHistSliceIter.h.

◆ _nStep

Int_t RooDataHistSliceIter::_nStep
protected

Definition at line 47 of file RooDataHistSliceIter.h.

◆ _sliceArg

RooAbsArg* RooDataHistSliceIter::_sliceArg
protected

Definition at line 44 of file RooDataHistSliceIter.h.

◆ _stepSize

Int_t RooDataHistSliceIter::_stepSize
protected

Definition at line 46 of file RooDataHistSliceIter.h.

Libraries for RooDataHistSliceIter:

The documentation for this class was generated from the following files: