library: libRooFit #include "RooAbsCategory.h" |
RooAbsCategory
class description - header file - source file - inheritance tree (.pdf)
This is an abstract class, constructors will not be documented.
Look at the header to check for available constructors.
protected:
virtual void attachToTree(TTree& t, Int_t bufSize = 32000)
void clearTypes()
virtual void copyCache(const RooAbsArg* source)
const RooCatType* defineType(const char* label)
const RooCatType* defineType(const char* label, Int_t index)
const RooCatType* defineTypeUnchecked(const char* label, Int_t index)
virtual RooCatType evaluate() const
virtual void fillTreeBranch(TTree& t)
const RooCatType* getOrdinal(UInt_t n) const
virtual Bool_t isValid() const
virtual Bool_t isValid(RooCatType value) const
virtual void setTreeBranchStatus(TTree& t, Bool_t active)
virtual void syncCache(const RooArgSet* set = 0)
RooCatType traceEval() const
virtual Bool_t traceEvalHook(RooCatType) const
public:
virtual ~RooAbsCategory()
static TClass* Class()
virtual RooAbsArg* createFundamental(const char* newname = "0") const
Roo1DTable* createTable(const char* label) const
virtual Int_t getIndex() const
virtual const char* getLabel() const
virtual TClass* IsA() const
virtual Bool_t isIntegrationSafeLValue(const RooArgSet*) const
Bool_t isSignType(Bool_t mustHaveZero = kFALSE) const
Bool_t isValidIndex(Int_t index) const
Bool_t isValidLabel(const char* label) const
const RooCatType* lookupType(Int_t index, Bool_t printError = kFALSE) const
const RooCatType* lookupType(const char* label, Bool_t printError = kFALSE) const
const RooCatType* lookupType(const RooCatType& type, Bool_t printError = kFALSE) const
Int_t numTypes() const
Bool_t operator!=(Int_t index)
Bool_t operator!=(const char* label)
Bool_t operator!=(const RooAbsArg& other)
Bool_t operator==(Int_t index) const
Bool_t operator==(const char* label) const
virtual Bool_t operator==(const RooAbsArg& other)
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)
TIterator* typeIterator() const
virtual void writeToStream(ostream& os, Bool_t compact) const
protected:
RooCatType _value Current value
TObjArray _types Array of allowed values
TIterator* _typeIter !
const char* getLabel()
Return label string of current state
Bool_t operator==(const char* label)
Equality operator with a string (compares with state label string)
const RooCatType* defineType(const char* label)
Define a new state with given name. The lowest available
integer number is assigned as index value
const RooCatType* lookupType(const char* label, Bool_t printError)
Find our type corresponding to the specified label, or return 0 for no match.
void attachToTree(TTree& t, Int_t bufSize)
Attach the category index and label to as branches
to the given TTree. The index field will be attached
as integer with name <name>_idx, the label field will be attached
as char[] with label <name>_lbl.
void copyCache(const RooAbsArg* source)
Copy the cached value from given source and raise dirty flag.
It is the callers responsability to unsure that the sources
cache is clean before this function is called, e.g. by
calling syncCache() on the source.
Last update: Tue Jul 11 11:44:58 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.