16#ifndef ROO_ABS_CATEGORY_LVALUE
17#define ROO_ABS_CATEGORY_LVALUE
40 virtual void setBin(
Int_t ibin,
const char* rangeName=0) ;
41 virtual Int_t getBin(
const char* rangeName=0)
const ;
51 virtual void randomize(
const char* rangeName=0);
54 virtual std::list<std::string>
getBinningNames()
const {
return std::list<std::string>(1,
"") ; }
#define ClassDef(name, id)
RooAbsArg is the common abstract base class for objects that represent a value (of arbitrary type) an...
void setAttribute(const Text_t *name, Bool_t value=kTRUE)
Set (default) or clear a named boolean attribute of this object.
RooAbsBinning is the abstract base class for RooRealVar binning definitions This class defines the in...
RooAbsCategoryLValue is the common abstract base class for objects that represent a discrete value th...
virtual Bool_t setLabel(const char *label, Bool_t printError=kTRUE)=0
virtual Bool_t setIndex(Int_t index, Bool_t printError=kTRUE)=0
virtual Double_t volume(const char *rangeName) const
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 Int_t getBin(const char *rangeName=0) const
Get index of plot bin for current value this category.
virtual void randomize(const char *rangeName=0)
Randomize current value.
virtual Bool_t readFromStream(std::istream &is, Bool_t compact, Bool_t verbose=kFALSE)
Read object contents from given stream (dummy implementation)
virtual const RooAbsBinning * getBinningPtr(const char *) const
virtual void setBin(Int_t ibin, const char *rangeName=0)
Set category to i-th fit bin, which is the i-th registered state.
virtual void setIndexFast(Int_t index)
void setConstant(Bool_t value=kTRUE)
virtual ~RooAbsCategoryLValue()
Destructor.
virtual Int_t getBin(const RooAbsBinning *) const
virtual std::list< std::string > getBinningNames() const
virtual Double_t getBinWidth(Int_t, const char *=0) const
virtual void writeToStream(std::ostream &os, Bool_t compact) const
Write object contents to given stream (dummy implementation)
RooAbsArg & operator=(int index)
Assignment operator from integer index number.
virtual Bool_t isLValue() const
Is this argument an l-value, i.e., can it appear on the left-hand side of an assignment expression?...
virtual Int_t numBins(const char *rangeName) const
Returm the number of fit bins ( = number of types )
Bool_t setOrdinal(UInt_t index, const char *rangeName)
Set our state to our n'th defined type and return kTRUE.
RooAbsCategory is the common abstract base class for objects that represent a discrete value with a f...
RooCatType _value
Transient cache for byte values from tree branches.
Int_t numTypes(const char *=0) const
Abstract base class for objects that are lvalues, i.e.
RooSimGenContext is an efficient implementation of the generator context specific for RooSimultaneous...
RooSimSplitGenContext is an efficient implementation of the generator context specific for RooSimulta...