library: libRooFit #include "RooCategory.h" |
RooCategory
class description - header file - source file - inheritance tree (.pdf)
protected:
virtual RooCatType evaluate() const
public:
RooCategory()
RooCategory(const char* name, const char* title)
RooCategory(const RooCategory& other, const char* name = "0")
virtual ~RooCategory()
void addToRange(const char* rangeName, const char* stateNameList)
static TClass* Class()
void clearRange(const char* name, Bool_t silent)
void clearTypes()
virtual TObject* clone(const char* newname) const
Bool_t defineType(const char* label)
Bool_t defineType(const char* label, Int_t index)
virtual Int_t getIndex() const
virtual const char* getLabel() const
virtual Bool_t hasRange(const char* rangeName) const
virtual Bool_t inRange(const char* rangeName) const
virtual TClass* IsA() const
virtual Bool_t isFundamental() const
Bool_t isStateInRange(const char* rangeName, const char* stateName) const
virtual Bool_t readFromStream(istream& is, Bool_t compact, Bool_t verbose = kFALSE)
virtual Bool_t setIndex(Int_t index, Bool_t printError = kTRUE)
virtual Bool_t setLabel(const char* label, Bool_t printError = kTRUE)
void setRange(const char* rangeName, const char* stateNameList)
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
protected:
static RooSharedPropertiesList _sharedPropList List of properties shared among clone sets
RooCategorySharedProperties* _sharedProp Shared properties associated with this instance
RooCategory(const char *name, const char *title)
Constructor. Types must be defined using defineType() before variable can be used
Bool_t setIndex(Int_t index, Bool_t printError)
Set value by specifying the index code of the desired state.
If printError is set, a message will be printed if
the specified index does not represent a valid state.
Bool_t setLabel(const char* label, Bool_t printError)
Set value by specifying the name of the desired state
If printError is set, a message will be printed if
the specified label does not represent a valid state.
Bool_t defineType(const char* label)
Define a state with given name, the lowest available
positive integer is assigned as index. Category
state labels may not contain semicolons.
Error status is return if state with given name
is already defined
Bool_t defineType(const char* label, Int_t index)
Define a state with given name and index. Category
state labels may not contain semicolons
Error status is return if state with given name
or index is already defined
void clearRange(const char* name, Bool_t silent)
Check that both input arguments are not null pointers
void setRange(const char* name, const char* stateNameList)
void addToRange(const char* name, const char* stateNameList)
Check that both input arguments are not null pointers
Bool_t isStateInRange(const char* rangeName, const char* stateName)
Check that both input arguments are not null pointers
Bool_t isFundamental()
We implement a fundamental type of AbsArg that can be stored in a dataset
Last update: Tue Jul 11 11:45:21 2006
Copyright (c) 2000-2005, Regents of the University of California *
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.