ROOT  6.06/09
Reference Guide
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
RooMultiCatIter Class Reference

Definition at line 30 of file RooMultiCatIter.h.

Public Member Functions

 RooMultiCatIter (const RooArgSet &catList, const char *rangeName=0)
 Construct iterator over all permutations of states of categories in catList. More...
 
 RooMultiCatIter (const RooMultiCatIter &other)
 Copy constructor. More...
 
virtual ~RooMultiCatIter ()
 Destructor. More...
 
virtual const TCollectionGetCollection () const
 Dummy implementation, always returns zero. More...
 
virtual TObjectNext ()
 Iterator increment operator. More...
 
virtual void Reset ()
 Rewind master iterator. More...
 
virtual bool operator!= (const TIterator &aIter) const
 Comparison operator to other iterator Returns true if both iterator iterate over the same set of input categories and are not at the same sequential position. More...
 
virtual TObjectoperator* () const
 Return current item (dummy) More...
 
- Public Member Functions inherited from TIterator
virtual ~TIterator ()
 
virtual Option_tGetOption () const
 
TObjectoperator() ()
 
Bool_t operator== (const TIterator &other) const
 

Protected Member Functions

TIteratoroperator= (const TIterator &)
 
void initialize (const RooArgSet &catList)
 Build iterator array for given catList. More...
 
TObjStringcompositeLabel ()
 Construct string with composite object label corresponding to the state name of a RooMultiCategory or RooSuperCategory constructed from this set of input categories. More...
 
- Protected Member Functions inherited from TIterator
 TIterator ()
 
 TIterator (const TIterator &)
 

Protected Attributes

RooArgSet _catList
 
pTIterator_iterList
 
pRooCategory_catPtrList
 
RooCatType_curTypeList
 
Int_t _nIter
 
Int_t _curIter
 
TObjString _compositeLabel
 
TString _rangeName
 
TObject_curItem
 

#include <RooMultiCatIter.h>

+ Inheritance diagram for RooMultiCatIter:
+ Collaboration diagram for RooMultiCatIter:

Constructor & Destructor Documentation

RooMultiCatIter::RooMultiCatIter ( const RooArgSet catList,
const char *  rangeName = 0 
)

Construct iterator over all permutations of states of categories in catList.

If rangeName is not null, iteration is restricted to states that are selected in the given range name

Definition at line 48 of file RooMultiCatIter.cxx.

RooMultiCatIter::RooMultiCatIter ( const RooMultiCatIter other)

Copy constructor.

Definition at line 61 of file RooMultiCatIter.cxx.

RooMultiCatIter::~RooMultiCatIter ( )
virtual

Destructor.

Definition at line 112 of file RooMultiCatIter.cxx.

Member Function Documentation

TObjString * RooMultiCatIter::compositeLabel ( )
protected

Construct string with composite object label corresponding to the state name of a RooMultiCategory or RooSuperCategory constructed from this set of input categories.

Definition at line 141 of file RooMultiCatIter.cxx.

Referenced by Next().

const TCollection * RooMultiCatIter::GetCollection ( ) const
virtual

Dummy implementation, always returns zero.

Implements TIterator.

Definition at line 127 of file RooMultiCatIter.cxx.

void RooMultiCatIter::initialize ( const RooArgSet catList)
protected

Build iterator array for given catList.

Definition at line 71 of file RooMultiCatIter.cxx.

Referenced by RooMultiCatIter().

TObject * RooMultiCatIter::Next ( )
virtual

Iterator increment operator.

Implements TIterator.

Definition at line 161 of file RooMultiCatIter.cxx.

Referenced by RooMultiCategory::updateIndexList(), and RooSuperCategory::updateIndexList().

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

Comparison operator to other iterator Returns true if both iterator iterate over the same set of input categories and are not at the same sequential position.

Reimplemented from TIterator.

Definition at line 235 of file RooMultiCatIter.cxx.

TObject * RooMultiCatIter::operator* ( ) const
virtual

Return current item (dummy)

Reimplemented from TIterator.

Definition at line 223 of file RooMultiCatIter.cxx.

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

Reimplemented from TIterator.

Definition at line 46 of file RooMultiCatIter.h.

void RooMultiCatIter::Reset ( void  )
virtual

Rewind master iterator.

Implements TIterator.

Definition at line 204 of file RooMultiCatIter.cxx.

Referenced by initialize().

Member Data Documentation

RooArgSet RooMultiCatIter::_catList
protected

Definition at line 51 of file RooMultiCatIter.h.

Referenced by initialize(), and RooMultiCatIter().

pRooCategory* RooMultiCatIter::_catPtrList
protected

Definition at line 53 of file RooMultiCatIter.h.

Referenced by initialize(), and ~RooMultiCatIter().

TObjString RooMultiCatIter::_compositeLabel
protected

Definition at line 57 of file RooMultiCatIter.h.

Referenced by compositeLabel().

TObject* RooMultiCatIter::_curItem
protected

Definition at line 59 of file RooMultiCatIter.h.

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

Int_t RooMultiCatIter::_curIter
protected

Definition at line 56 of file RooMultiCatIter.h.

Referenced by initialize(), Next(), Reset(), and ~RooMultiCatIter().

RooCatType* RooMultiCatIter::_curTypeList
protected

Definition at line 54 of file RooMultiCatIter.h.

Referenced by compositeLabel(), initialize(), Next(), Reset(), and ~RooMultiCatIter().

pTIterator* RooMultiCatIter::_iterList
protected

Definition at line 52 of file RooMultiCatIter.h.

Referenced by initialize(), Next(), Reset(), and ~RooMultiCatIter().

Int_t RooMultiCatIter::_nIter
protected

Definition at line 55 of file RooMultiCatIter.h.

Referenced by compositeLabel(), initialize(), Next(), Reset(), and ~RooMultiCatIter().

TString RooMultiCatIter::_rangeName
protected

Definition at line 58 of file RooMultiCatIter.h.

Referenced by RooMultiCatIter().


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