RooAbsCategory Class Reference

#include <RooAbsCategory.h>

Inheritance diagram for RooAbsCategory:

RooAbsArg RooAbsArg RooPrintable TNamed RooPrintable TNamed RooPrintable TNamed RooPrintable TNamed RooAbsCategoryLValue RooAbsCategoryLValue RooBinningCategory RooBinningCategory RooGenCategory RooGenCategory RooMappedCategory RooMappedCategory RooMultiCategory RooMultiCategory RooThresholdCategory RooThresholdCategory List of all members.

Public Member Functions

 RooAbsCategory ()
 RooAbsCategory (const char *name, const char *title)
 RooAbsCategory (const RooAbsCategory &other, const char *name=0)
virtual ~RooAbsCategory ()
virtual Int_t getIndex () const
virtual const char * getLabel () const
Bool_t operator== (Int_t index) const
Bool_t operator!= (Int_t index)
Bool_t operator== (const char *label) const
Bool_t operator!= (const char *label)
virtual Bool_t operator== (const RooAbsArg &other)
Bool_t operator!= (const RooAbsArg &other)
Bool_t isValidIndex (Int_t index) const
Bool_t isValidLabel (const char *label) const
const RooCatTypelookupType (Int_t index, Bool_t printError=kFALSE) const
const RooCatTypelookupType (const char *label, Bool_t printError=kFALSE) const
const RooCatTypelookupType (const RooCatType &type, Bool_t printError=kFALSE) const
TIteratortypeIterator () const
Int_t numTypes (const char *=0) const
Bool_t isSignType (Bool_t mustHaveZero=kFALSE) const
Roo1DTablecreateTable (const char *label) const
virtual Bool_t readFromStream (istream &is, Bool_t compact, Bool_t verbose=kFALSE)
virtual void writeToStream (ostream &os, Bool_t compact) const
virtual void printValue (ostream &os) const
virtual void printMultiline (ostream &os, Int_t contents, Bool_t verbose=kFALSE, TString indent="") const
virtual Bool_t isIntegrationSafeLValue (const RooArgSet *) const
RooAbsArgcreateFundamental (const char *newname=0) const
 RooAbsCategory ()
 RooAbsCategory (const char *name, const char *title)
 RooAbsCategory (const RooAbsCategory &other, const char *name=0)
virtual ~RooAbsCategory ()
virtual Int_t getIndex () const
virtual const char * getLabel () const
Bool_t operator== (Int_t index) const
Bool_t operator!= (Int_t index)
Bool_t operator== (const char *label) const
Bool_t operator!= (const char *label)
virtual Bool_t operator== (const RooAbsArg &other)
Bool_t operator!= (const RooAbsArg &other)
Bool_t isValidIndex (Int_t index) const
Bool_t isValidLabel (const char *label) const
const RooCatTypelookupType (Int_t index, Bool_t printError=kFALSE) const
const RooCatTypelookupType (const char *label, Bool_t printError=kFALSE) const
const RooCatTypelookupType (const RooCatType &type, Bool_t printError=kFALSE) const
TIteratortypeIterator () const
Int_t numTypes (const char *=0) const
Bool_t isSignType (Bool_t mustHaveZero=kFALSE) const
Roo1DTablecreateTable (const char *label) const
virtual Bool_t readFromStream (istream &is, Bool_t compact, Bool_t verbose=kFALSE)
virtual void writeToStream (ostream &os, Bool_t compact) const
virtual void printValue (ostream &os) const
virtual void printMultiline (ostream &os, Int_t contents, Bool_t verbose=kFALSE, TString indent="") const
virtual Bool_t isIntegrationSafeLValue (const RooArgSet *) const
RooAbsArgcreateFundamental (const char *newname=0) const

Protected Member Functions

RooCatType traceEval () const
virtual Bool_t traceEvalHook (RooCatType) const
virtual RooCatType evaluate () const=0
const RooCatTypedefineType (const char *label)
const RooCatTypedefineType (const char *label, Int_t index)
const RooCatTypedefineTypeUnchecked (const char *label, Int_t index)
const RooCatTypegetOrdinal (UInt_t n, const char *rangeName=0) const
void clearTypes ()
virtual Bool_t isValid () const
virtual Bool_t isValid (const RooCatType &value) const
virtual void syncCache (const RooArgSet *set=0)
virtual void copyCache (const RooAbsArg *source, Bool_t valueOnly=kFALSE)
virtual void attachToTree (TTree &t, Int_t bufSize=32000)
virtual void setTreeBranchStatus (TTree &t, Bool_t active)
virtual void fillTreeBranch (TTree &t)
RooCatType traceEval () const
virtual Bool_t traceEvalHook (RooCatType) const
virtual RooCatType evaluate () const=0
const RooCatTypedefineType (const char *label)
const RooCatTypedefineType (const char *label, Int_t index)
const RooCatTypedefineTypeUnchecked (const char *label, Int_t index)
const RooCatTypegetOrdinal (UInt_t n, const char *rangeName=0) const
void clearTypes ()
virtual Bool_t isValid () const
virtual Bool_t isValid (const RooCatType &value) const
virtual void syncCache (const RooArgSet *set=0)
virtual void copyCache (const RooAbsArg *source, Bool_t valueOnly=kFALSE)
virtual void attachToTree (TTree &t, Int_t bufSize=32000)
virtual void setTreeBranchStatus (TTree &t, Bool_t active)
virtual void fillTreeBranch (TTree &t)

Protected Attributes

UChar_t _byteValue
RooCatType _value
 Transient cache for byte values from tree branches.
TObjArray _types
TIterator_typeIter
Bool_t _treeVar
TIterator_typeIter

Detailed Description

Definition at line 29 of file RooAbsCategory.h.


Constructor & Destructor Documentation

RooAbsCategory::RooAbsCategory (  )  [inline]

Definition at line 32 of file RooAbsCategory.h.

References _treeVar, _typeIter, _types, kFALSE, and TObjArray::MakeIterator().

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

Definition at line 51 of file RooAbsCategory.cxx.

References _typeIter, _types, TObjArray::MakeIterator(), RooAbsArg::setShapeDirty(), and RooAbsArg::setValueDirty().

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

Definition at line 64 of file RooAbsCategory.cxx.

References _typeIter, _types, TObjArray::Add(), TObjArray::MakeIterator(), TIterator::Next(), TIterator::Reset(), RooAbsArg::setShapeDirty(), and RooAbsArg::setValueDirty().

RooAbsCategory::~RooAbsCategory (  )  [virtual]

Definition at line 84 of file RooAbsCategory.cxx.

References _typeIter, _types, and TObjArray::Delete().

RooAbsCategory::RooAbsCategory (  )  [inline]

Definition at line 32 of file RooAbsCategory.h.

References _treeVar, _typeIter, _types, kFALSE, and TObjArray::MakeIterator().

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

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

virtual RooAbsCategory::~RooAbsCategory (  )  [virtual]


Member Function Documentation

Int_t RooAbsCategory::getIndex (  )  const [virtual]

Definition at line 96 of file RooAbsCategory.cxx.

References _value, RooAbsArg::clearShapeDirty(), RooAbsArg::clearValueDirty(), RooCatType::getVal(), RooAbsArg::isShapeDirty(), RooAbsArg::isValueDirty(), and traceEval().

Referenced by RooFormula::DefinedValue(), RooProduct::evaluate(), RooExpensiveObjectCache::ExpensiveObject::ExpensiveObject(), Roo1DTable::fill(), RooAbsCategoryLValue::getBin(), RooArgSet::getCatIndex(), RooChangeTracker::hasChanged(), RooAbsHiddenReal::isHidden(), RooExpensiveObjectCache::ExpensiveObject::matches(), operator==(), RooAbsReal::plotAsymOn(), RooAbsReal::plotOn(), RooSimultaneous::plotOn(), printMultiline(), RooChangeTracker::RooChangeTracker(), RooSuperCategory::RooSuperCategory(), syncCache(), and RooGenCategory::updateIndexList().

const char * RooAbsCategory::getLabel (  )  const [virtual]

Definition at line 113 of file RooAbsCategory.cxx.

References _value, RooAbsArg::clearShapeDirty(), RooAbsArg::clearValueDirty(), RooCatType::GetName(), RooAbsArg::isShapeDirty(), RooAbsArg::isValueDirty(), and traceEval().

Referenced by RooSimPdfBuilder::buildPdf(), RooMultiCategory::currentLabel(), RooSuperCategory::currentLabel(), RooCustomizer::doBuild(), RooSimWSTool::executeBuild(), RooSimultaneous::genContext(), RooSimGenContext::generateEvent(), RooArgSet::getCatLabel(), RooSimultaneous::initialize(), RooAbsCategoryLValue::operator=(), operator==(), RooSimultaneous::plotOn(), printMultiline(), printValue(), RooAbsData::split(), RooThresholdCategory::writeToStream(), writeToStream(), RooMappedCategory::writeToStream(), and RooGenCategory::writeToStream().

Bool_t RooAbsCategory::operator== ( Int_t  index  )  const

Definition at line 158 of file RooAbsCategory.cxx.

References getIndex().

Referenced by operator!=(), and operator==().

Bool_t RooAbsCategory::operator!= ( Int_t  index  )  [inline]

Definition at line 45 of file RooAbsCategory.h.

References operator==().

Bool_t RooAbsCategory::operator== ( const char *  label  )  const

Definition at line 168 of file RooAbsCategory.cxx.

References getLabel().

Bool_t RooAbsCategory::operator!= ( const char *  label  )  [inline]

Definition at line 47 of file RooAbsCategory.h.

References operator==().

Bool_t RooAbsCategory::operator== ( const RooAbsArg other  )  [virtual]

Implements RooAbsArg.

Definition at line 178 of file RooAbsCategory.cxx.

References getIndex(), kFALSE, and operator==().

Bool_t RooAbsCategory::operator!= ( const RooAbsArg other  )  [inline]

Definition at line 49 of file RooAbsCategory.h.

References operator==().

Bool_t RooAbsCategory::isValidIndex ( Int_t  index  )  const

Definition at line 190 of file RooAbsCategory.cxx.

References kFALSE, kTRUE, and lookupType().

Referenced by defineType(), and isValid().

Bool_t RooAbsCategory::isValidLabel ( const char *  label  )  const

Definition at line 200 of file RooAbsCategory.cxx.

References kFALSE, kTRUE, and lookupType().

Referenced by defineType().

const RooCatType * RooAbsCategory::lookupType ( Int_t  index,
Bool_t  printError = kFALSE 
) const

Definition at line 299 of file RooAbsCategory.cxx.

References _typeIter, TObject::ClassName(), coutE, TNamed::GetName(), RooFit::InputArguments, TIterator::Next(), TIterator::Reset(), and type.

Referenced by RooThresholdCategory::addThreshold(), RooCategory::addToRange(), RooSimPdfBuilder::buildPdf(), copyCache(), RooFormula::DefinedValue(), RooFormula::DefinedVariable(), defineType(), RooMultiCategory::evaluate(), RooBinningCategory::evaluate(), RooSuperCategory::evaluate(), RooGenCategory::evaluate(), RooSimWSTool::executeBuild(), RooDataHist::importDHistSet(), isValidIndex(), isValidLabel(), RooMappedCategory::map(), RooAbsCategoryLValue::operator=(), RooAbsData::plotEffOn(), RooDataSet::RooDataSet(), RooMappedCategory::RooMappedCategory(), RooThresholdCategory::RooThresholdCategory(), RooCategory::setIndex(), RooSuperCategory::setIndex(), RooCategory::setLabel(), RooSuperCategory::setLabel(), RooGenCategory::updateIndexList(), and RooSimWSTool::validateConfig().

const RooCatType * RooAbsCategory::lookupType ( const char *  label,
Bool_t  printError = kFALSE 
) const

Definition at line 318 of file RooAbsCategory.cxx.

References _typeIter, TObject::ClassName(), coutE, TNamed::GetName(), RooFit::InputArguments, TIterator::Next(), TIterator::Reset(), strtol(), and type.

const RooCatType * RooAbsCategory::lookupType ( const RooCatType type,
Bool_t  printError = kFALSE 
) const

Definition at line 277 of file RooAbsCategory.cxx.

References _typeIter, ccoutE, TObject::ClassName(), coutE, dologE, TNamed::GetName(), RooFit::InputArguments, RooPrintable::kName, RooPrintable::kSingleLine, RooPrintable::kValue, TIterator::Next(), RooPrintable::printStream(), TIterator::Reset(), and type.

TIterator * RooAbsCategory::typeIterator (  )  const

Definition at line 149 of file RooAbsCategory.cxx.

References _types, and TObjArray::MakeIterator().

Referenced by RooSimPdfBuilder::buildPdf(), createFundamental(), RooSimWSTool::executeBuild(), RooMultiCatIter::initialize(), RooSimultaneous::initialize(), RooAbsTestStatistic::initSimMode(), isSignType(), RooDataProjBinding::operator()(), RooDataSet::read(), RooSimultaneous::RooSimultaneous(), RooAbsData::split(), and RooGenCategory::updateIndexList().

Int_t RooAbsCategory::numTypes ( const char *  = 0  )  const [inline]

Definition at line 57 of file RooAbsCategory.h.

References _types, and TObjArray::GetEntries().

Referenced by isSignType(), RooAbsCategoryLValue::numBins(), RooAbsCategoryLValue::randomize(), RooAcceptReject::RooAcceptReject(), RooSimultaneous::RooSimultaneous(), RooHistFunc::totVolume(), RooHistPdf::totVolume(), RooGenCategory::updateIndexList(), and RooAbsCategoryLValue::volume().

Bool_t RooAbsCategory::isSignType ( Bool_t  mustHaveZero = kFALSE  )  const

Definition at line 646 of file RooAbsCategory.cxx.

References kFALSE, kTRUE, TIterator::Next(), numTypes(), type, and typeIterator().

Referenced by RooAbsReal::plotAsymOn().

Roo1DTable * RooAbsCategory::createTable ( const char *  label  )  const

Definition at line 368 of file RooAbsCategory.cxx.

References TNamed::GetName().

Referenced by RooAbsData::table().

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

Implements RooAbsArg.

Definition at line 378 of file RooAbsCategory.cxx.

References kFALSE.

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

Implements RooAbsArg.

Definition at line 388 of file RooAbsCategory.cxx.

References getLabel().

Referenced by RooMultiCategory::writeToStream(), and RooSuperCategory::writeToStream().

void RooAbsCategory::printValue ( ostream &  os  )  const [virtual]

Reimplemented from RooPrintable.

Definition at line 402 of file RooAbsCategory.cxx.

References getLabel().

void RooAbsCategory::printMultiline ( ostream &  os,
Int_t  contents,
Bool_t  verbose = kFALSE,
TString  indent = "" 
) const [virtual]

Reimplemented from RooAbsArg.

Definition at line 411 of file RooAbsCategory.cxx.

References _typeIter, _types, TString::Append(), TObjArray::GetEntries(), getIndex(), getLabel(), RooPrintable::kName, RooPrintable::kSingleLine, RooPrintable::kValue, TIterator::Next(), RooAbsArg::printMultiline(), TIterator::Reset(), and type.

Referenced by RooThresholdCategory::printMultiline(), RooBinningCategory::printMultiline(), RooMappedCategory::printMultiline(), RooSuperCategory::printMultiline(), RooGenCategory::printMultiline(), and RooMultiCategory::printMultiline().

virtual Bool_t RooAbsCategory::isIntegrationSafeLValue ( const RooArgSet  )  const [inline, virtual]

Definition at line 72 of file RooAbsCategory.h.

References kTRUE.

RooAbsArg * RooAbsCategory::createFundamental ( const char *  newname = 0  )  const [virtual]

Implements RooAbsArg.

Definition at line 625 of file RooAbsCategory.cxx.

References TNamed::GetName(), TNamed::GetTitle(), TIterator::Next(), type, and typeIterator().

RooCatType RooAbsCategory::traceEval (  )  const [protected]

Definition at line 130 of file RooAbsCategory.cxx.

References evaluate(), isValid(), traceEvalHook(), and value.

Referenced by getIndex(), and getLabel().

virtual Bool_t RooAbsCategory::traceEvalHook ( RooCatType   )  const [inline, protected, virtual]

Definition at line 84 of file RooAbsCategory.h.

References kFALSE.

Referenced by traceEval().

virtual RooCatType RooAbsCategory::evaluate (  )  const [protected, pure virtual]

Referenced by traceEval().

const RooCatType * RooAbsCategory::defineType ( const char *  label  )  [protected]

Definition at line 210 of file RooAbsCategory.cxx.

References kFALSE, and lookupType().

Referenced by RooThresholdCategory::addThreshold(), RooCategory::defineType(), RooBinningCategory::evaluate(), RooBinningCategory::initialize(), RooMappedCategory::map(), RooMappedCategory::readFromStream(), RooMultiCategory::updateIndexList(), and RooGenCategory::updateIndexList().

const RooCatType * RooAbsCategory::defineType ( const char *  label,
Int_t  index 
) [protected]

Definition at line 243 of file RooAbsCategory.cxx.

References coutE, defineTypeUnchecked(), TNamed::GetName(), RooFit::InputArguments, isValidIndex(), and isValidLabel().

const RooCatType * RooAbsCategory::defineTypeUnchecked ( const char *  label,
Int_t  index 
) [protected]

Definition at line 225 of file RooAbsCategory.cxx.

References _types, _value, TObjArray::Add(), TObjArray::GetEntries(), kFALSE, kTRUE, and RooAbsArg::setShapeDirty().

Referenced by defineType(), and RooSuperCategory::updateIndexList().

const RooCatType * RooAbsCategory::getOrdinal ( UInt_t  n,
const char *  rangeName = 0 
) const [protected]

Definition at line 614 of file RooAbsCategory.cxx.

References _types, and TObjArray::At().

Referenced by RooAbsCategoryLValue::setBin(), and RooAbsCategoryLValue::setOrdinal().

void RooAbsCategory::clearTypes (  )  [protected]

Definition at line 265 of file RooAbsCategory.cxx.

References _types, _value, TObjArray::Delete(), and RooAbsArg::setShapeDirty().

Referenced by RooCategory::clearTypes(), RooMappedCategory::readFromStream(), RooMultiCategory::updateIndexList(), RooGenCategory::updateIndexList(), and RooSuperCategory::updateIndexList().

Bool_t RooAbsCategory::isValid (  )  const [protected, virtual]

Reimplemented from RooAbsArg.

Definition at line 348 of file RooAbsCategory.cxx.

References _value.

Referenced by RooAbsCategoryLValue::copyCache(), and traceEval().

Bool_t RooAbsCategory::isValid ( const RooCatType value  )  const [protected, virtual]

Definition at line 358 of file RooAbsCategory.cxx.

References isValidIndex(), and value.

void RooAbsCategory::syncCache ( const RooArgSet set = 0  )  [protected, virtual]

Implements RooAbsArg.

Definition at line 560 of file RooAbsCategory.cxx.

References getIndex().

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

Implements RooAbsArg.

Definition at line 570 of file RooAbsCategory.cxx.

References _byteValue, _treeVar, RooCatType::_value, _value, coutE, RooFit::DataHandling, TNamed::GetName(), lookupType(), RooAbsArg::setValueDirty(), and type.

Referenced by RooAbsCategoryLValue::copyCache().

void RooAbsCategory::attachToTree ( TTree t,
Int_t  bufSize = 32000 
) [protected, virtual]

Implements RooAbsArg.

Definition at line 439 of file RooAbsCategory.cxx.

References _byteValue, RooCatType::_label, _treeVar, RooCatType::_value, _value, TString::Append(), TObjArray::At(), RooAbsArg::cleanBranchName(), RooFit::Contents, coutI, cxcoutD, RooFit::DataHandling, TBranch::GetCompressionLevel(), TBranch::GetListOfLeaves(), TNamed::GetName(), kTRUE, ptr, RooAbsArg::setAttribute(), TBranch::SetCompressionLevel(), and t.

void RooAbsCategory::setTreeBranchStatus ( TTree t,
Bool_t  active 
) [protected, virtual]

Implements RooAbsArg.

Definition at line 546 of file RooAbsCategory.cxx.

References Form(), TNamed::GetName(), and t.

void RooAbsCategory::fillTreeBranch ( TTree t  )  [protected, virtual]

Implements RooAbsArg.

Definition at line 522 of file RooAbsCategory.cxx.

References TString::Append(), coutF, RooFit::DataHandling, TBranch::Fill(), TNamed::GetName(), and t.

virtual Int_t RooAbsCategory::getIndex (  )  const [virtual]

virtual const char* RooAbsCategory::getLabel (  )  const [virtual]

Bool_t RooAbsCategory::operator== ( Int_t  index  )  const

Bool_t RooAbsCategory::operator!= ( Int_t  index  )  [inline]

Definition at line 45 of file RooAbsCategory.h.

References operator==().

Bool_t RooAbsCategory::operator== ( const char *  label  )  const

Bool_t RooAbsCategory::operator!= ( const char *  label  )  [inline]

Definition at line 47 of file RooAbsCategory.h.

References operator==().

virtual Bool_t RooAbsCategory::operator== ( const RooAbsArg other  )  [virtual]

Implements RooAbsArg.

Bool_t RooAbsCategory::operator!= ( const RooAbsArg other  )  [inline]

Definition at line 49 of file RooAbsCategory.h.

References operator==().

Bool_t RooAbsCategory::isValidIndex ( Int_t  index  )  const

Bool_t RooAbsCategory::isValidLabel ( const char *  label  )  const

const RooCatType* RooAbsCategory::lookupType ( Int_t  index,
Bool_t  printError = kFALSE 
) const

const RooCatType* RooAbsCategory::lookupType ( const char *  label,
Bool_t  printError = kFALSE 
) const

const RooCatType* RooAbsCategory::lookupType ( const RooCatType type,
Bool_t  printError = kFALSE 
) const

TIterator* RooAbsCategory::typeIterator (  )  const

Int_t RooAbsCategory::numTypes ( const char *  = 0  )  const [inline]

Definition at line 57 of file RooAbsCategory.h.

References _types, and TObjArray::GetEntries().

Bool_t RooAbsCategory::isSignType ( Bool_t  mustHaveZero = kFALSE  )  const

Roo1DTable* RooAbsCategory::createTable ( const char *  label  )  const

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

Implements RooAbsArg.

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

Implements RooAbsArg.

virtual void RooAbsCategory::printValue ( ostream &  os  )  const [virtual]

Reimplemented from RooPrintable.

virtual void RooAbsCategory::printMultiline ( ostream &  os,
Int_t  contents,
Bool_t  verbose = kFALSE,
TString  indent = "" 
) const [virtual]

Reimplemented from RooAbsArg.

virtual Bool_t RooAbsCategory::isIntegrationSafeLValue ( const RooArgSet  )  const [inline, virtual]

Definition at line 72 of file RooAbsCategory.h.

References kTRUE.

RooAbsArg* RooAbsCategory::createFundamental ( const char *  newname = 0  )  const [virtual]

Implements RooAbsArg.

RooCatType RooAbsCategory::traceEval (  )  const [protected]

virtual Bool_t RooAbsCategory::traceEvalHook ( RooCatType   )  const [inline, protected, virtual]

Definition at line 84 of file RooAbsCategory.h.

References kFALSE.

virtual RooCatType RooAbsCategory::evaluate (  )  const [protected, pure virtual]

const RooCatType* RooAbsCategory::defineType ( const char *  label  )  [protected]

const RooCatType* RooAbsCategory::defineType ( const char *  label,
Int_t  index 
) [protected]

const RooCatType* RooAbsCategory::defineTypeUnchecked ( const char *  label,
Int_t  index 
) [protected]

const RooCatType* RooAbsCategory::getOrdinal ( UInt_t  n,
const char *  rangeName = 0 
) const [protected]

void RooAbsCategory::clearTypes (  )  [protected]

virtual Bool_t RooAbsCategory::isValid (  )  const [protected, virtual]

Reimplemented from RooAbsArg.

virtual Bool_t RooAbsCategory::isValid ( const RooCatType value  )  const [protected, virtual]

virtual void RooAbsCategory::syncCache ( const RooArgSet set = 0  )  [protected, virtual]

Implements RooAbsArg.

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

Implements RooAbsArg.

virtual void RooAbsCategory::attachToTree ( TTree t,
Int_t  bufSize = 32000 
) [protected, virtual]

Implements RooAbsArg.

virtual void RooAbsCategory::setTreeBranchStatus ( TTree t,
Bool_t  active 
) [protected, virtual]

Implements RooAbsArg.

virtual void RooAbsCategory::fillTreeBranch ( TTree t  )  [protected, virtual]

Implements RooAbsArg.


Member Data Documentation

UChar_t RooAbsCategory::_byteValue [mutable, protected]

Definition at line 106 of file RooAbsCategory.h.

Referenced by attachToTree(), and copyCache().

RooCatType RooAbsCategory::_value [mutable, protected]

Transient cache for byte values from tree branches.

Definition at line 107 of file RooAbsCategory.h.

Referenced by attachToTree(), clearTypes(), copyCache(), RooAbsCategoryLValue::copyCache(), defineTypeUnchecked(), RooAbsCategoryLValue::getBin(), getIndex(), RooCategory::getIndex(), RooCategory::getLabel(), getLabel(), isValid(), RooAbsCategoryLValue::operator=(), RooCategory::setIndex(), and RooCategory::setLabel().

TObjArray RooAbsCategory::_types [protected]

Definition at line 108 of file RooAbsCategory.h.

Referenced by clearTypes(), defineTypeUnchecked(), RooAbsCategoryLValue::getBin(), getOrdinal(), numTypes(), printMultiline(), RooAbsCategory(), typeIterator(), and ~RooAbsCategory().

TIterator* RooAbsCategory::_typeIter [protected]

Definition at line 109 of file RooAbsCategory.h.

Referenced by lookupType(), printMultiline(), RooAbsCategory(), and ~RooAbsCategory().

Bool_t RooAbsCategory::_treeVar [protected]

Definition at line 111 of file RooAbsCategory.h.

Referenced by attachToTree(), copyCache(), and RooAbsCategory().

TIterator* RooAbsCategory::_typeIter [protected]

Definition at line 109 of file RooAbsCategory.h.


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