RooAbsCategoryLValue Class Reference

#include <RooAbsCategoryLValue.h>

Inheritance diagram for RooAbsCategoryLValue:

RooAbsCategory RooAbsLValue RooAbsCategory RooAbsLValue RooAbsArg RooAbsArg RooAbsArg RooAbsArg RooPrintable TNamed RooPrintable TNamed RooPrintable TNamed RooPrintable TNamed RooPrintable TNamed RooPrintable TNamed RooPrintable TNamed RooPrintable TNamed RooCategory RooCategory RooSuperCategory RooSuperCategory List of all members.

Public Member Functions

 RooAbsCategoryLValue ()
 RooAbsCategoryLValue (const char *name, const char *title)
 RooAbsCategoryLValue (const RooAbsCategoryLValue &other, const char *name=0)
virtual ~RooAbsCategoryLValue ()
virtual Bool_t setIndex (Int_t index, Bool_t printError=kTRUE)=0
virtual Bool_t setLabel (const char *label, Bool_t printError=kTRUE)=0
RooAbsArgoperator= (int index)
RooAbsArgoperator= (const char *label)
RooAbsArgoperator= (const RooAbsCategory &other)
virtual void setBin (Int_t ibin, const char *rangeName=0)
virtual Int_t getBin (const char *rangeName=0) const
virtual Int_t numBins (const char *rangeName) const
virtual Double_t getBinWidth (Int_t, const char *=0) const
virtual Double_t volume (const char *rangeName) const
virtual void randomize (const char *rangeName=0)
virtual const RooAbsBinninggetBinningPtr (const char *) const
virtual Int_t getBin (const RooAbsBinning *) const
void setConstant (Bool_t value=kTRUE)
virtual Bool_t isLValue () const
virtual Bool_t readFromStream (istream &is, Bool_t compact, Bool_t verbose=kFALSE)
virtual void writeToStream (ostream &os, Bool_t compact) const
 RooAbsCategoryLValue ()
 RooAbsCategoryLValue (const char *name, const char *title)
 RooAbsCategoryLValue (const RooAbsCategoryLValue &other, const char *name=0)
virtual ~RooAbsCategoryLValue ()
virtual Bool_t setIndex (Int_t index, Bool_t printError=kTRUE)=0
virtual Bool_t setLabel (const char *label, Bool_t printError=kTRUE)=0
RooAbsArgoperator= (int index)
RooAbsArgoperator= (const char *label)
RooAbsArgoperator= (const RooAbsCategory &other)
virtual void setBin (Int_t ibin, const char *rangeName=0)
virtual Int_t getBin (const char *rangeName=0) const
virtual Int_t numBins (const char *rangeName) const
virtual Double_t getBinWidth (Int_t, const char *=0) const
virtual Double_t volume (const char *rangeName) const
virtual void randomize (const char *rangeName=0)
virtual const RooAbsBinninggetBinningPtr (const char *) const
virtual Int_t getBin (const RooAbsBinning *) const
void setConstant (Bool_t value=kTRUE)
virtual Bool_t isLValue () const
virtual Bool_t readFromStream (istream &is, Bool_t compact, Bool_t verbose=kFALSE)
virtual void writeToStream (ostream &os, Bool_t compact) const

Protected Member Functions

Bool_t setOrdinal (UInt_t index, const char *rangeName)
void copyCache (const RooAbsArg *source, Bool_t valueOnly=kFALSE)
Bool_t setOrdinal (UInt_t index, const char *rangeName)
void copyCache (const RooAbsArg *source, Bool_t valueOnly=kFALSE)

Detailed Description

Definition at line 23 of file RooAbsCategoryLValue.h.


Constructor & Destructor Documentation

RooAbsCategoryLValue::RooAbsCategoryLValue (  )  [inline]

Definition at line 26 of file RooAbsCategoryLValue.h.

RooAbsCategoryLValue::RooAbsCategoryLValue ( const char *  name,
const char *  title 
)

Definition at line 50 of file RooAbsCategoryLValue.cxx.

References RooAbsArg::setShapeDirty(), and RooAbsArg::setValueDirty().

RooAbsCategoryLValue::RooAbsCategoryLValue ( const RooAbsCategoryLValue other,
const char *  name = 0 
)

Definition at line 62 of file RooAbsCategoryLValue.cxx.

RooAbsCategoryLValue::~RooAbsCategoryLValue (  )  [virtual]

Definition at line 71 of file RooAbsCategoryLValue.cxx.

RooAbsCategoryLValue::RooAbsCategoryLValue (  )  [inline]

Definition at line 26 of file RooAbsCategoryLValue.h.

RooAbsCategoryLValue::RooAbsCategoryLValue ( const char *  name,
const char *  title 
)

RooAbsCategoryLValue::RooAbsCategoryLValue ( const RooAbsCategoryLValue other,
const char *  name = 0 
)

virtual RooAbsCategoryLValue::~RooAbsCategoryLValue (  )  [virtual]


Member Function Documentation

virtual Bool_t RooAbsCategoryLValue::setIndex ( Int_t  index,
Bool_t  printError = kTRUE 
) [pure virtual]

Referenced by copyCache(), operator=(), RooCategoryProxy::operator=(), RooAbsReal::plotAsymOn(), setBin(), RooArgSet::setCatIndex(), and setOrdinal().

virtual Bool_t RooAbsCategoryLValue::setLabel ( const char *  label,
Bool_t  printError = kTRUE 
) [pure virtual]

Referenced by RooCustomizer::build(), RooSimWSTool::executeBuild(), RooSimGenContext::generateEvent(), RooSimultaneous::initialize(), operator=(), RooCategoryProxy::operator=(), RooSimultaneous::plotOn(), and RooArgSet::setCatLabel().

RooAbsArg & RooAbsCategoryLValue::operator= ( int  index  ) 

Definition at line 79 of file RooAbsCategoryLValue.cxx.

References kTRUE, and setIndex().

RooAbsArg & RooAbsCategoryLValue::operator= ( const char *  label  ) 

Definition at line 90 of file RooAbsCategoryLValue.cxx.

References setLabel().

RooAbsArg & RooAbsCategoryLValue::operator= ( const RooAbsCategory other  ) 

Definition at line 101 of file RooAbsCategoryLValue.cxx.

References RooAbsCategory::_value, RooAbsCategory::getLabel(), kTRUE, RooAbsCategory::lookupType(), RooAbsArg::setValueDirty(), and type.

void RooAbsCategoryLValue::setBin ( Int_t  ibin,
const char *  rangeName = 0 
) [virtual]

Implements RooAbsLValue.

Definition at line 180 of file RooAbsCategoryLValue.cxx.

References coutE, TNamed::GetName(), RooAbsCategory::getOrdinal(), RooFit::InputArguments, numBins(), setIndex(), and type.

Int_t RooAbsCategoryLValue::getBin ( const char *  rangeName = 0  )  const [virtual]

Implements RooAbsLValue.

Definition at line 201 of file RooAbsCategoryLValue.cxx.

References RooAbsCategory::_types, RooAbsCategory::_value, TObjArray::FindObject(), RooAbsCategory::getIndex(), RooCatType::GetName(), and TObjArray::IndexOf().

Referenced by getBin().

Int_t RooAbsCategoryLValue::numBins ( const char *  rangeName  )  const [virtual]

Implements RooAbsLValue.

Definition at line 215 of file RooAbsCategoryLValue.cxx.

References RooAbsCategory::numTypes().

Referenced by setBin().

virtual Double_t RooAbsCategoryLValue::getBinWidth ( Int_t  ,
const char *  = 0 
) const [inline, virtual]

Implements RooAbsLValue.

Definition at line 44 of file RooAbsCategoryLValue.h.

virtual Double_t RooAbsCategoryLValue::volume ( const char *  rangeName  )  const [inline, virtual]

Implements RooAbsLValue.

Definition at line 48 of file RooAbsCategoryLValue.h.

References RooAbsCategory::numTypes().

void RooAbsCategoryLValue::randomize ( const char *  rangeName = 0  )  [virtual]

Implements RooAbsLValue.

Definition at line 169 of file RooAbsCategoryLValue.cxx.

References RooRandom::integer(), RooAbsCategory::numTypes(), and setOrdinal().

Referenced by RooAcceptReject::addEventToCache().

virtual const RooAbsBinning* RooAbsCategoryLValue::getBinningPtr ( const char *   )  const [inline, virtual]

Implements RooAbsLValue.

Definition at line 54 of file RooAbsCategoryLValue.h.

virtual Int_t RooAbsCategoryLValue::getBin ( const RooAbsBinning  )  const [inline, virtual]

Implements RooAbsLValue.

Definition at line 55 of file RooAbsCategoryLValue.h.

References getBin().

void RooAbsCategoryLValue::setConstant ( Bool_t  value = kTRUE  )  [inline]

Definition at line 58 of file RooAbsCategoryLValue.h.

References RooAbsArg::setAttribute(), and value.

virtual Bool_t RooAbsCategoryLValue::isLValue (  )  const [inline, virtual]

Reimplemented from RooAbsArg.

Definition at line 63 of file RooAbsCategoryLValue.h.

References kTRUE.

Bool_t RooAbsCategoryLValue::readFromStream ( istream &  is,
Bool_t  compact,
Bool_t  verbose = kFALSE 
) [virtual]

Reimplemented from RooAbsCategory.

Definition at line 151 of file RooAbsCategoryLValue.cxx.

References kTRUE.

void RooAbsCategoryLValue::writeToStream ( ostream &  os,
Bool_t  compact 
) const [virtual]

Reimplemented from RooAbsCategory.

Definition at line 161 of file RooAbsCategoryLValue.cxx.

Bool_t RooAbsCategoryLValue::setOrdinal ( UInt_t  index,
const char *  rangeName 
) [protected]

Definition at line 118 of file RooAbsCategoryLValue.cxx.

References RooAbsCategory::getOrdinal(), RooCatType::getVal(), kFALSE, and setIndex().

Referenced by randomize().

void RooAbsCategoryLValue::copyCache ( const RooAbsArg source,
Bool_t  valueOnly = kFALSE 
) [protected, virtual]

Reimplemented from RooAbsCategory.

Definition at line 135 of file RooAbsCategoryLValue.cxx.

References RooAbsCategory::_value, RooAbsCategory::copyCache(), RooCatType::getVal(), RooAbsCategory::isValid(), and setIndex().

virtual Bool_t RooAbsCategoryLValue::setIndex ( Int_t  index,
Bool_t  printError = kTRUE 
) [pure virtual]

virtual Bool_t RooAbsCategoryLValue::setLabel ( const char *  label,
Bool_t  printError = kTRUE 
) [pure virtual]

RooAbsArg& RooAbsCategoryLValue::operator= ( int  index  ) 

RooAbsArg& RooAbsCategoryLValue::operator= ( const char *  label  ) 

RooAbsArg& RooAbsCategoryLValue::operator= ( const RooAbsCategory other  ) 

virtual void RooAbsCategoryLValue::setBin ( Int_t  ibin,
const char *  rangeName = 0 
) [virtual]

Implements RooAbsLValue.

virtual Int_t RooAbsCategoryLValue::getBin ( const char *  rangeName = 0  )  const [virtual]

Implements RooAbsLValue.

virtual Int_t RooAbsCategoryLValue::numBins ( const char *  rangeName  )  const [virtual]

Implements RooAbsLValue.

virtual Double_t RooAbsCategoryLValue::getBinWidth ( Int_t  ,
const char *  = 0 
) const [inline, virtual]

Implements RooAbsLValue.

Definition at line 44 of file RooAbsCategoryLValue.h.

virtual Double_t RooAbsCategoryLValue::volume ( const char *  rangeName  )  const [inline, virtual]

Implements RooAbsLValue.

Definition at line 48 of file RooAbsCategoryLValue.h.

References RooAbsCategory::numTypes().

virtual void RooAbsCategoryLValue::randomize ( const char *  rangeName = 0  )  [virtual]

Implements RooAbsLValue.

virtual const RooAbsBinning* RooAbsCategoryLValue::getBinningPtr ( const char *   )  const [inline, virtual]

Implements RooAbsLValue.

Definition at line 54 of file RooAbsCategoryLValue.h.

virtual Int_t RooAbsCategoryLValue::getBin ( const RooAbsBinning  )  const [inline, virtual]

Implements RooAbsLValue.

Definition at line 55 of file RooAbsCategoryLValue.h.

References getBin().

void RooAbsCategoryLValue::setConstant ( Bool_t  value = kTRUE  )  [inline]

Definition at line 58 of file RooAbsCategoryLValue.h.

References RooAbsArg::setAttribute(), and value.

virtual Bool_t RooAbsCategoryLValue::isLValue (  )  const [inline, virtual]

Reimplemented from RooAbsArg.

Definition at line 63 of file RooAbsCategoryLValue.h.

References kTRUE.

virtual Bool_t RooAbsCategoryLValue::readFromStream ( istream &  is,
Bool_t  compact,
Bool_t  verbose = kFALSE 
) [virtual]

Reimplemented from RooAbsCategory.

virtual void RooAbsCategoryLValue::writeToStream ( ostream &  os,
Bool_t  compact 
) const [virtual]

Reimplemented from RooAbsCategory.

Bool_t RooAbsCategoryLValue::setOrdinal ( UInt_t  index,
const char *  rangeName 
) [protected]

void RooAbsCategoryLValue::copyCache ( const RooAbsArg source,
Bool_t  valueOnly = kFALSE 
) [protected, virtual]

Reimplemented from RooAbsCategory.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:32:20 2011 for ROOT_528-00b_version by  doxygen 1.5.1