library: libRooFit #include "RooCatType.h"

# RooCatType

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

## class RooCatType : public TObject, public RooPrintable

| Inheritance Chart:

`TObject`

`RooPrintable`

<-

`RooCatType`

        public:

                                RooCatType()
                                RooCatType(const char* name, Int_t value)
                                RooCatType(const RooCatType& other)
                        virtual ~RooCatType()
                 static TClass* Class()
               virtual TObject* Clone(const char*) const
          virtual const Text_t* GetName() const
                          Int_t getVal() const
                virtual TClass* IsA() const
                    RooCatType& operator=(const RooCatType& other)
                         Bool_t operator==(const RooCatType& other)
                         Bool_t operator==(Int_t index)
                         Bool_t operator==(const char* label)
                   virtual void Print(Option_t* options = "0") const
                   virtual void printToStream(ostream& os, RooPrintable::PrintOption opt = Standard, TString indent = ) const
                   virtual void SetName(const Text_t* name)
                           void setVal(Int_t newValue)
                   virtual void ShowMembers(TMemberInspector& insp, char* parent)
                   virtual void Streamer(TBuffer& b)
                           void StreamerNVirtual(TBuffer& b)

### Data Members

        protected:

          Int_t _value
           char _label[256]

## Class Description

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

     Print info about this category type to the specified stream. We only have a
     OneLine output format.

### Inline Functions

                     void ~RooCatType()
               RooCatType RooCatType()
               RooCatType RooCatType(const char* name, Int_t value)
               RooCatType RooCatType(const RooCatType& other)
                 TObject* Clone(const char*) const
            const Text_t* GetName() const
                     void SetName(const Text_t* name)
              RooCatType& operator=(const RooCatType& other)
                   Bool_t operator==(const RooCatType& other)
                   Bool_t operator==(Int_t index)
                   Bool_t operator==(const char* label)
                    Int_t getVal() const
                     void setVal(Int_t newValue)
                     void Print(Option_t* options = "0") 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:11:15 2005
Copyright (c) 2000-2005, Regents of the University of California *