Docs | All | Real | Category | PDF | DataSet | Plot | Container | Misc | Aux | User

RooFit Toolkit for Data Modeling
#include "RooAbsCategoryLValue.hh"

RooAbsCategoryLValue


class description - source file - inheritance tree (.pdf)

class RooAbsCategoryLValue : public RooAbsCategory, public RooAbsLValue

Inheritance Chart:
TObject
<-
TNamed
RooPrintable
<-
RooAbsArg
<-
RooAbsCategory
RooAbsLValue
<-
RooAbsCategoryLValue
<-
RooCategory
RooSuperCategory
 
    This is an abstract class, constructors will not be documented.
    Look at the header to check for available constructors.


    protected:
virtual void copyCache(const RooAbsArg* source) Bool_t setOrdinal(UInt_t index) public:
virtual ~RooAbsCategoryLValue() static TClass* Class() virtual Int_t getBin() const virtual Double_t getBinWidth(Int_t) const virtual TClass* IsA() const virtual Bool_t isLValue() const virtual Int_t numBins() const RooAbsArg& operator=(int index) RooAbsArg& operator=(const char* label) RooAbsArg& operator=(const RooAbsCategory& other) virtual void randomize() virtual Bool_t readFromStream(istream& is, Bool_t compact, Bool_t verbose = kFALSE) virtual void setBin(Int_t ibin) void setConstant(Bool_t value = kTRUE) virtual Bool_t setIndex(Int_t index, Bool_t printError = kTRUE) virtual Bool_t setLabel(const char* label, Bool_t printError = kTRUE) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) virtual void writeToStream(ostream& os, Bool_t compact) const

Data Members




Class Description

 RooAbsCategoryLValue is the common abstract base class for objects that represent a
 discrete value that may appear on the left hand side of an equation ('lvalue')

 Each implementation must provide setIndex()/setLabel() members to allow direct modification
 of the value. RooAbsCategoryLValue may be derived, but its functional relation
 to other RooAbsArgs must be invertible


~RooAbsCategoryLValue()
 Destructor

Bool_t setOrdinal(UInt_t n)
 Set our state to our n'th defined type and return kTRUE.
 Return kFALSE if n is out of range.

void copyCache(const RooAbsArg* source)
 copy cached value from another object

Bool_t readFromStream(istream&, Bool_t, Bool_t)
 Read object contents from given stream

void writeToStream(ostream&, Bool_t) const
 Write object contents to given stream

void randomize()
 Randomize current value

void setBin(Int_t ibin)
 Set category to i-th fit bin, which is the i-th registered state.

Int_t getBin() const
 Get index of plot bin for current value this category.

Int_t numBins() const
 Returm the number of fit bins ( = number of types )



Inline Functions


             Bool_t setIndex(Int_t index, Bool_t printError = kTRUE)
             Bool_t setLabel(const char* label, Bool_t printError = kTRUE)
         RooAbsArg& operator=(int index)
         RooAbsArg& operator=(const char* label)
         RooAbsArg& operator=(const RooAbsCategory& other)
           Double_t getBinWidth(Int_t) const
               void setConstant(Bool_t value = kTRUE)
             Bool_t isLValue() const
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)
Last CVS Update: v 1.23 2005/06/20 15:44:44 wverkerke Top
Copyright © 2000-2005 University of California, Stanford University

Page maintained by Wouter Verkerke and David Kirkby

SourceForge.net Logo