library: libRooFit #include "RooMultiCategory.h"

# RooMultiCategory

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

## class RooMultiCategory : public RooAbsCategory

| Inheritance Chart:
`TObject`
| <- | `TNamed`
`RooPrintable`
| <- | `RooAbsArg`
| <- | `RooAbsCategory`
| <- | `RooMultiCategory` |

        protected:

                     TString currentLabel() const
          virtual RooCatType evaluate() const
                        void updateIndexList()

        public:

                           RooMultiCategory()
                           RooMultiCategory(const char* name, const char* title, const RooArgSet& inputCatList)
                           RooMultiCategory(const RooMultiCategory& other, const char* name = "0")
                   virtual ~RooMultiCategory()
            static TClass* Class()
          virtual TObject* clone(const char* newname) const
          const RooArgSet& inputCatList() const
           virtual TClass* IsA() const
              virtual void printToStream(ostream& os, RooPrintable::PrintOption opt = Standard, TString indent = ) const
            virtual Bool_t readFromStream(istream& is, Bool_t compact, Bool_t verbose = kFALSE)
              virtual void ShowMembers(TMemberInspector& insp, char* parent)
              virtual void Streamer(TBuffer& b)
                      void StreamerNVirtual(TBuffer& b)
              virtual void writeToStream(ostream& os, Bool_t compact) const

### Data Members

        protected:

          RooSetProxy _catSet  Set of input category

## Class Description

RooMultiCategory(const char *name, const char *title, const RooArgSet& inputCatList) : RooAbsCategory(name, title), _catSet("catSet","Input category set",this,kTRUE,kTRUE)

     Constructor from list of input categories

RooMultiCategory(const RooMultiCategory& other, const char *name) : RooAbsCategory(other,name), _catSet("catSet",this,other._catSet)

     Copy constructor

~RooMultiCategory()

     Destructor

void updateIndexList()

     Update the list of super-category states

TString currentLabel() const

     Return the name of the current state,
     constructed from the state names of the input categories

evaluate() const

     Calculate the current value

void printToStream(ostream& os, PrintOption opt, TString indent) const

     Print the state of this object to the specified output stream.

Bool_t readFromStream(istream& /*is*/, Bool_t /*compact*/, Bool_t /*verbose*/)

     Read object contents from given stream

void writeToStream(ostream& os, Bool_t compact) const

     Write object contents to given stream

### Inline Functions

            RooMultiCategory RooMultiCategory(const RooMultiCategory& other, const char* name = "0")
                    TObject* clone(const char* newname) const
            const RooArgSet& inputCatList() const
                     TClass* Class()
                     TClass* IsA() const
                        void ShowMembers(TMemberInspector& insp, char* parent)
                        void Streamer(TBuffer& b)
                        void StreamerNVirtual(TBuffer& b)

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