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,
"") ; }
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)
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...
virtual Double_t volume(const char *rangeName) const
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.
virtual Int_t getBin(const char *rangeName=0) const
Get index of plot bin for current value this category.
virtual Int_t numBins(const char *rangeName) const
Returm the number of fit bins ( = number of types )
Int_t numTypes(const char *=0) const
#define ClassDef(name, id)
virtual Bool_t isLValue() const
RooAbsCategoryLValue is the common abstract base class for objects that represent a discrete value th...
virtual void writeToStream(std::ostream &os, Bool_t compact) const
Write object contents to given stream (dummy implementation)
RooSimGenContext is an efficient implementation of the generator context specific for RooSimultaneous...
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 Double_t getBinWidth(Int_t, const char *=0) const
virtual Int_t getBin(const RooAbsBinning *) 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.
RooAbsCategory is the common abstract base class for objects that represent a discrete value with a f...
virtual std::list< std::string > getBinningNames() 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 Bool_t setIndex(Int_t index, Bool_t printError=kTRUE)=0