library: libRooFit #include "RooMappedCategory.h" |
RooMappedCategory
class description - header file - source file - inheritance tree (.pdf)
protected:
virtual RooCatType evaluate() const
public:
RooMappedCategory()
RooMappedCategory(const char* name, const char* title, RooAbsCategory& inputCat, const char* defCatName = "NotMapped", Int_t defCatIdx = NoCatIdx)
RooMappedCategory(const RooMappedCategory& other, const char* name = "0")
virtual ~RooMappedCategory()
static TClass* Class()
virtual TObject* clone(const char* newname) const
virtual TClass* IsA() const
Bool_t map(const char* inKeyRegExp, const char* outKeyName, Int_t outKeyNum = NoCatIdx)
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
protected:
TObjArray _mapArray Array of mapping rules
RooCatType* _defCat Default (unmapped) output type
RooCategoryProxy _inputCat Input category
public:
static const RooMappedCategory::CatIdx NoCatIdx
RooMappedCategory(const char *name, const char *title, RooAbsCategory& inputCat, const char* defOut, Int_t defOutIdx)
Constructor with input category and name of default output state, which is assigned
to all input category states that do not follow any mapping rule.
Bool_t map(const char* inKeyRegExp, const char* outKey, Int_t outIdx)
Add mapping rule: any input category state label matching the 'inKeyRegExp'
wildcard expression will be mapped to an output state with name 'outKey'
Rules are evaluated in the order they were added. In case an input state
matches more than one rule, the first rules output state will be assigned
evaluate()
Calculate the current value of the object
Last update: Tue Jul 11 11:45:54 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.