16 #ifndef ROO_MAPPED_CATEGORY 17 #define ROO_MAPPED_CATEGORY 27 class RooMappedCategoryCache;
77 std::map<std::string,RooMappedCategory::Entry>
_mapArray ;
RooMappedCategoryCache * _mapcache
Bool_t match(const char *testPattern) const
virtual ~RooMappedCategory()
virtual TObject * clone(const char *newname) const
Entry(const char *exp, const RooCatType *cat)
Regular expression class.
virtual RooCatType evaluate() const
transient member: cache the mapping
Entry & operator=(const Entry &other)
friend class RooMappedCategoryCache
#define ClassDef(name, id)
std::vector< std::vector< double > > Data
RooCatType is an auxilary class for RooAbsCategory and defines a a single category state...
const RooCatType & outCat() const
TString mangle(const char *exp) const
Mangle name : escape regexp character '+'.
Bool_t map(const char *inKeyRegExp, const char *outKeyName, Int_t outKeyNum=NoCatIdx)
const RooMappedCategoryCache * getOrCreateCache() const
Entry(const Entry &other)
RooCmdArg Index(RooCategory &icat)
void printMetaArgs(std::ostream &os) const
Customized printing of arguments of a RooMappedCategory to more intuitively reflect the contents of t...
RooCategoryProxy is the proxy implementation for RooAbsCategory objects A RooCategoryProxy is the gen...
std::map< std::string, RooMappedCategory::Entry > _mapArray
virtual Bool_t readFromStream(std::istream &is, Bool_t compact, Bool_t verbose=kFALSE)
Read object contents from stream (dummy for now)
RooCategoryProxy _inputCat
Mother of all ROOT objects.
virtual void writeToStream(std::ostream &os, Bool_t compact) const
Write object contents to ostream.
EStatVal Status()
Check status of regexp.
RooAbsCategory is the common abstract base class for objects that represent a discrete value with a f...
void printMultiline(std::ostream &os, Int_t content, Bool_t verbose=kFALSE, TString indent="") const
Print info about this object to the specified stream.