library: libRooFit #include "RooMultiCatIter.h"

# RooMultiCatIter

class description - source file - inheritance tree (.pdf)

## class RooMultiCatIter : public TIterator

| Inheritance Chart:

`TIterator`

<-

`RooMultiCatIter`

        protected:

                 TObjString* compositeLabel()
                        void initialize(const RooArgSet& catList)
          virtual TIterator& operator=(const TIterator&)

        public:

                                     RooMultiCatIter(const RooArgSet& catList, const char* rangeName = "0")
                                     RooMultiCatIter(const RooMultiCatIter& other)
                             virtual ~RooMultiCatIter()
                      static TClass* Class()
          virtual const TCollection* GetCollection() const
                     virtual TClass* IsA() const
                    virtual TObject* Next()
                    RooMultiCatIter& operator=(const RooMultiCatIter&)
                        virtual void Reset()
                        virtual void ShowMembers(TMemberInspector& insp, char* parent)
                        virtual void Streamer(TBuffer& b)
                                void StreamerNVirtual(TBuffer& b)

### Data Members

        protected:

                       RooArgSet _catList         Set of categories iterated over
                     TIterator** _iterList        Array of category type iterators
          RooAbsCategoryLValue** _catPtrList      Array of pointers to original categories
                     RooCatType* _curTypeList     List of current types
                           Int_t _nIter           Number of categories/iterators in use
                           Int_t _curIter         Current location of master iterator
                      TObjString _compositeLabel
                         TString _rangeName       Range name (optional)

## Class Description

RooMultiCatIter(const RooArgSet& catList, const char* rangeName) : _catList("catList")

     Constructor

RooMultiCatIter(const RooMultiCatIter& other) : TIterator(other), _catList("catList")

     Copy constructor

void initialize(const RooArgSet& catList)

     Build iterator array for given catList

~RooMultiCatIter()

     Destructor

const TCollection* GetCollection() const

     Return set of categories iterated over
    return &_catList.getCollection() ;

TObjString* compositeLabel()

TObject* Next()

     Iterator increment operator

void Reset()

     Rewind master iterator

### Inline Functions

                  TIterator& operator=(const TIterator&)
                     TClass* Class()
                     TClass* IsA() const
                        void ShowMembers(TMemberInspector& insp, char* parent)
                        void Streamer(TBuffer& b)
                        void StreamerNVirtual(TBuffer& b)
            RooMultiCatIter& operator=(const RooMultiCatIter&)

Last update: Tue Jun 28 18:13:51 2005
Copyright (c) 2000-2005, Regents of the University of California *