ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
RooDataHistSliceIter Class Reference

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 27 of file RooDataHistSliceIter.h.

Public Member Functions

 RooDataHistSliceIter (const RooDataHistSliceIter &other)
 Copy constructor. More...
 
virtual ~RooDataHistSliceIter ()
 Destructor. More...
 
virtual const TCollectionGetCollection () const
 Dummy. More...
 
virtual TObjectNext ()
 Iterator increment operator. More...
 
virtual void Reset ()
 Reset iterator position to beginning. More...
 
virtual bool operator!= (const TIterator &aIter) const
 Returns true if position of this iterator differs from position of iterator 'aIter'. More...
 
virtual TObjectoperator* () const
 Iterator dereference operator, not functional for this iterator. More...
 
- Public Member Functions inherited from TIterator
virtual ~TIterator ()
 
virtual Option_tGetOption () const
 
TObjectoperator() ()
 
Bool_t operator== (const TIterator &other) const
 

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...
 
TIteratoroperator= (const TIterator &)
 
- Protected Member Functions inherited from TIterator
 TIterator ()
 
 TIterator (const TIterator &)
 

Protected Attributes

RooDataHist_hist
 
RooAbsArg_sliceArg
 
Int_t _baseIndex
 
Int_t _stepSize
 
Int_t _nStep
 
Int_t _curStep
 

Friends

class RooDataHist
 

#include <RooDataHistSliceIter.h>

Inheritance diagram for RooDataHistSliceIter:
[legend]

Constructor & Destructor Documentation

RooDataHistSliceIter::RooDataHistSliceIter ( const RooDataHistSliceIter other)

Copy constructor.

Definition at line 86 of file RooDataHistSliceIter.cxx.

RooDataHistSliceIter::~RooDataHistSliceIter ( )
virtual

Destructor.

Definition at line 102 of file RooDataHistSliceIter.cxx.

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 51 of file RooDataHistSliceIter.cxx.

Member Function Documentation

const TCollection * RooDataHistSliceIter::GetCollection ( ) const
virtual

Dummy.

Implements TIterator.

Definition at line 111 of file RooDataHistSliceIter.cxx.

TObject * RooDataHistSliceIter::Next ( )
virtual

Iterator increment operator.

Implements TIterator.

Definition at line 122 of file RooDataHistSliceIter.cxx.

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

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

Reimplemented from TIterator.

Definition at line 166 of file RooDataHistSliceIter.cxx.

TObject * RooDataHistSliceIter::operator* ( ) const
virtual

Iterator dereference operator, not functional for this iterator.

Reimplemented from TIterator.

Definition at line 152 of file RooDataHistSliceIter.cxx.

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

Reimplemented from TIterator.

Definition at line 51 of file RooDataHistSliceIter.h.

void RooDataHistSliceIter::Reset ( void  )
virtual

Reset iterator position to beginning.

Implements TIterator.

Definition at line 142 of file RooDataHistSliceIter.cxx.

Friends And Related Function Documentation

friend class RooDataHist
friend

Definition at line 41 of file RooDataHistSliceIter.h.

Member Data Documentation

Int_t RooDataHistSliceIter::_baseIndex
protected

Definition at line 46 of file RooDataHistSliceIter.h.

Referenced by Next(), operator*(), and RooDataHistSliceIter().

Int_t RooDataHistSliceIter::_curStep
protected

Definition at line 49 of file RooDataHistSliceIter.h.

Referenced by Next(), operator!=(), operator*(), Reset(), and RooDataHistSliceIter().

RooDataHist* RooDataHistSliceIter::_hist
protected

Definition at line 44 of file RooDataHistSliceIter.h.

Referenced by Next(), and operator*().

Int_t RooDataHistSliceIter::_nStep
protected

Definition at line 48 of file RooDataHistSliceIter.h.

Referenced by Next(), and RooDataHistSliceIter().

RooAbsArg* RooDataHistSliceIter::_sliceArg
protected

Definition at line 45 of file RooDataHistSliceIter.h.

Referenced by Next(), and operator*().

Int_t RooDataHistSliceIter::_stepSize
protected

Definition at line 47 of file RooDataHistSliceIter.h.

Referenced by Next(), operator*(), and RooDataHistSliceIter().

Collaboration diagram for RooDataHistSliceIter:
[legend]

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