16 #ifndef ROO_MULTI_CATEGORY
17 #define ROO_MULTI_CATEGORY
26 class RooMultiCategory :
public RooAbsCategory {
29 inline RooMultiCategory() { }
30 RooMultiCategory(
const char *name,
const char *title,
const RooArgSet& inputCatList);
31 RooMultiCategory(
const RooMultiCategory& other,
const char *name=0) ;
32 virtual TObject* clone(
const char* newname)
const {
return new RooMultiCategory(*
this,newname); }
33 virtual ~RooMultiCategory();
36 virtual void printMultiline(std::ostream& os, Int_t content, Bool_t verbose=kFALSE, TString indent=
"")
const ;
39 virtual Bool_t readFromStream(std::istream& is, Bool_t compact, Bool_t verbose=kFALSE) ;
40 virtual void writeToStream(std::ostream& os, Bool_t compact)
const ;
42 const RooArgSet& inputCatList()
const {
return _catSet ; }
46 void updateIndexList() ;
47 TString currentLabel()
const ;
51 virtual RooCatType evaluate()
const ;
53 ClassDef(RooMultiCategory,1)