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