16 #ifndef ROO_ABS_CATEGORY_LVALUE
17 #define ROO_ABS_CATEGORY_LVALUE
41 virtual void setBin(
Int_t ibin,
const char* rangeName=0) ;
42 virtual Int_t getBin(
const char* rangeName=0)
const ;
52 virtual void randomize(
const char* rangeName=0);
55 virtual std::list<std::string>
getBinningNames()
const {
return std::list<std::string>(1,
"") ; }
void setAttribute(const Text_t *name, Bool_t value=kTRUE)
Set (default) or clear a named boolean attribute of this object.
virtual Bool_t readFromStream(std::istream &is, Bool_t compact, Bool_t verbose=kFALSE)
Read object contents from given stream (dummy implementation)
virtual std::list< std::string > getBinningNames() const
RooCatType _value
Transient cache for byte values from tree branches.
virtual Bool_t setLabel(const char *label, Bool_t printError=kTRUE)=0
virtual void setIndexFast(Int_t index)
RooSimSplitGenContext is an efficient implementation of the generator context specific for RooSimulta...
Bool_t setOrdinal(UInt_t index, const char *rangeName)
Set our state to our n'th defined type and return kTRUE.
virtual void randomize(const char *rangeName=0)
Randomize current value.
#define ClassDef(name, id)
Int_t numTypes(const char *=0) const
virtual Bool_t isLValue() const
RooAbsCategoryLValue is the common abstract base class for objects that represent a discrete value th...
virtual Int_t getBin(const RooAbsBinning *) const
RooSimGenContext is an efficient implementation of the generator context specific for RooSimultaneous...
TPaveLabel title(3, 27.1, 15, 28.7,"ROOT Environment and Tools")
virtual Double_t getBinWidth(Int_t, const char *=0) const
virtual Int_t numBins(const char *rangeName) const
Returm the number of fit bins ( = number of types )
void setConstant(Bool_t value=kTRUE)
virtual const RooAbsBinning * getBinningPtr(const char *) const
RooAbsBinning is the abstract base class for RooRealVar binning definitions This class defines the in...
void copyCache(const RooAbsArg *source, Bool_t valueOnly=kFALSE, Bool_t setValDirty=kTRUE)
Copy the cached value from given source and raise dirty flag.
virtual ~RooAbsCategoryLValue()
Destructor.
virtual void setBin(Int_t ibin, const char *rangeName=0)
Set category to i-th fit bin, which is the i-th registered state.
RooAbsCategory is the common abstract base class for objects that represent a discrete value with a f...
virtual Double_t volume(const char *rangeName) const
Abstract base class for objects that are lvalues, i.e.
RooAbsArg is the common abstract base class for objects that represent a value (of arbitrary type) an...
RooAbsArg & operator=(int index)
Assignment operator from integer index number.
virtual void writeToStream(std::ostream &os, Bool_t compact) const
Write object contents to given stream (dummy implementation)
virtual Bool_t setIndex(Int_t index, Bool_t printError=kTRUE)=0
virtual Int_t getBin(const char *rangeName=0) const
Get index of plot bin for current value this category.