library: libRooFit #include "RooCmdConfig.h"

# RooCmdConfig

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

## class RooCmdConfig : public TObject

| Inheritance Chart:

`TObject`

<-

`RooCmdConfig`

        public:

                               RooCmdConfig(const char* methodName)
                               RooCmdConfig(const RooCmdConfig& other)
                               ~RooCmdConfig()
                          void allowUndefined(Bool_t flag = kTRUE)
                static TClass* Class()
                  static Int_t decodeIntOnTheFly(const char* callerID, const char* cmdArgName, Int_t intIdx, Int_t defVal, const RooCmdArg& arg1, const RooCmdArg& arg2 = RooCmdArg(), const RooCmdArg& arg3 = RooCmdArg(), const RooCmdArg& arg4 = RooCmdArg(), const RooCmdArg& arg5 = RooCmdArg(), const RooCmdArg& arg6 = RooCmdArg(), const RooCmdArg& arg7 = RooCmdArg(), const RooCmdArg& arg8 = RooCmdArg(), const RooCmdArg& arg9 = RooCmdArg())
               static TObject* decodeObjOnTheFly(const char* callerID, const char* cmdArgName, Int_t objIdx, TObject* defVal, const RooCmdArg& arg1, const RooCmdArg& arg2 = RooCmdArg(), const RooCmdArg& arg3 = RooCmdArg(), const RooCmdArg& arg4 = RooCmdArg(), const RooCmdArg& arg5 = RooCmdArg(), const RooCmdArg& arg6 = RooCmdArg(), const RooCmdArg& arg7 = RooCmdArg(), const RooCmdArg& arg8 = RooCmdArg(), const RooCmdArg& arg9 = RooCmdArg())
            static const char* decodeStringOnTheFly(const char* callerID, const char* cmdArgName, Int_t intIdx, const char* defVal, const RooCmdArg& arg1, const RooCmdArg& arg2 = RooCmdArg(), const RooCmdArg& arg3 = RooCmdArg(), const RooCmdArg& arg4 = RooCmdArg(), const RooCmdArg& arg5 = RooCmdArg(), const RooCmdArg& arg6 = RooCmdArg(), const RooCmdArg& arg7 = RooCmdArg(), const RooCmdArg& arg8 = RooCmdArg(), const RooCmdArg& arg9 = RooCmdArg()) const
                          void defineDependency(const char* refArgName, const char* neededArgName)
                        Bool_t defineDouble(const char* name, const char* argName, Int_t doubleNum, Double_t defValue = 0.)
                        Bool_t defineInt(const char* name, const char* argName, Int_t intNum, Int_t defValue = 0)
                          void defineMutex(const char* argName1, const char* argName2)
                          void defineMutex(const char* argName1, const char* argName2, const char* argName3)
                          void defineMutex(const char* argName1, const char* argName2, const char* argName3, const char* argName4)
                        Bool_t defineObject(const char* name, const char* argName, Int_t setNum, const TObject* obj = 0, Bool_t isArray = kFALSE)
                          void defineRequiredArgs(const char* argName1, const char* argName2 = "0", const char* argName3 = "0", const char* argName4 = "0", const char* argName5 = "0", const char* argName6 = "0", const char* argName7 = "0", const char* argName8 = "0")
                        Bool_t defineString(const char* name, const char* argName, Int_t stringNum, const char* defValue = "", Bool_t appendMode = kFALSE)
                      Double_t getDouble(const char* name, Double_t defaultValue = 0)
                         Int_t getInt(const char* name, Int_t defaultValue = 0)
                      TObject* getObject(const char* name, TObject* obj = 0)
          const RooLinkedList& getObjectList(const char* name) const
                   const char* getString(const char* name, const char* defaultValue = "", Bool_t convEmptyToNull = kFALSE) const
                        Bool_t hasProcessed(const char* cmdName) const
               virtual TClass* IsA() const
                   const char* missingArgs() const
                        Bool_t ok(Bool_t verbose) const
                          void print()
                        Bool_t process(const RooCmdArg& arg)
                        Bool_t process(const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3 = RooCmdArg::none, const RooCmdArg& arg4 = RooCmdArg::none, const RooCmdArg& arg5 = RooCmdArg::none, const RooCmdArg& arg6 = RooCmdArg::none, const RooCmdArg& arg7 = RooCmdArg::none, const RooCmdArg& arg8 = RooCmdArg::none)
                        Bool_t process(const RooLinkedList& argList)
                          void setVerbose(Bool_t flag)
                  virtual void ShowMembers(TMemberInspector& insp, char* parent)
                  virtual void Streamer(TBuffer& b)
                          void StreamerNVirtual(TBuffer& b)
                          void stripCmdList(RooLinkedList& cmdList, const char* cmdsToPurge)

### Data Members

        protected:

             TString _name
              Bool_t _verbose
              Bool_t _error
              Bool_t _allowUndefined
               TList _iList           Integer list
               TList _dList           Double list
               TList _sList           String list
               TList _oList           ArgSet list
               TList _rList           Required cmd list
               TList _fList           Forbidden cmd list
               TList _mList           Mutex cmd list
               TList _yList           Dependency cmd list
               TList _pList           Processed cmd list
          TIterator* _iIter
          TIterator* _dIter
          TIterator* _sIter
          TIterator* _oIter
          TIterator* _rIter
          TIterator* _fIter
          TIterator* _mIter
          TIterator* _yIter
          TIterator* _pIter

## Class Description

RooCmdConfig(const char* methodName) : TObject(), _name(methodName)

RooCmdConfig(const RooCmdConfig& other) : TObject(other)

     Copy constructor

~RooCmdConfig()

     Destructor

void defineRequiredArgs(const char* argName1, const char* argName2, const char* argName3, const char* argName4, const char* argName5, const char* argName6, const char* argName7, const char* argName8)

const char* missingArgs() const

void defineDependency(const char* refArgName, const char* neededArgName)

void defineMutex(const char* argName1, const char* argName2)

void defineMutex(const char* argName1, const char* argName2, const char* argName3)

void defineMutex(const char* argName1, const char* argName2, const char* argName3, const char* argName4)

Bool_t defineInt(const char* name, const char* argName, Int_t intNum, Int_t defVal)

Bool_t defineDouble(const char* name, const char* argName, Int_t doubleNum, Double_t defVal)

Bool_t defineString(const char* name, const char* argName, Int_t stringNum, const char* defVal, Bool_t appendMode)

Bool_t defineObject(const char* name, const char* argName, Int_t setNum, const TObject* defVal, Bool_t isArray)

void print()

     Find registered integer fields for this opcode

Bool_t process(const RooLinkedList& argList)

Bool_t process(const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8)

Bool_t process(const RooCmdArg& arg)

     Retrive command code

Bool_t hasProcessed(const char* cmdName) const

Int_t getInt(const char* name, Int_t defVal)

Double_t getDouble(const char* name, Double_t defVal)

const char* getString(const char* name, const char* defVal, Bool_t convEmptyToNull)

TObject* getObject(const char* name, TObject* defVal)

const RooLinkedList& getObjectList(const char* name)

Bool_t ok(Bool_t verbose) const

void stripCmdList(RooLinkedList& cmdList, const char* cmdsToPurge)

     Strip command names listed (comma separated) in cmdsToPurge from cmdList

Int_t decodeIntOnTheFly(const char* callerID, const char* cmdArgName, Int_t intIdx, Int_t defVal, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8, const RooCmdArg& arg9)

const char* decodeStringOnTheFly(const char* callerID, const char* cmdArgName, Int_t strIdx, const char* defVal, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8, const RooCmdArg& arg9)

TObject* decodeObjOnTheFly(const char* callerID, const char* cmdArgName, Int_t objIdx, TObject* defVal, const RooCmdArg& arg1, const RooCmdArg& arg2, const RooCmdArg& arg3, const RooCmdArg& arg4, const RooCmdArg& arg5, const RooCmdArg& arg6, const RooCmdArg& arg7, const RooCmdArg& arg8, const RooCmdArg& arg9)

### Inline Functions

                   void setVerbose(Bool_t flag)
                   void allowUndefined(Bool_t flag = kTRUE)
                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:26 2005
Copyright (c) 2000-2005, Regents of the University of California *