RooSuperCategory Class Reference

#include <RooSuperCategory.h>

Inheritance diagram for RooSuperCategory:

RooAbsCategoryLValue RooAbsCategoryLValue RooAbsLValue RooAbsCategory RooAbsLValue RooAbsCategory RooAbsLValue RooAbsCategory RooAbsLValue RooAbsCategory List of all members.

Public Member Functions

 RooSuperCategory ()
 RooSuperCategory (const char *name, const char *title, const RooArgSet &inputCatList)
 RooSuperCategory (const RooSuperCategory &other, const char *name=0)
virtual TObjectclone (const char *newname) const
virtual ~RooSuperCategory ()
virtual Bool_t setIndex (Int_t index, Bool_t printError=kTRUE)
virtual Bool_t setLabel (const char *label, Bool_t printError=kTRUE)
virtual void printMultiline (ostream &os, Int_t content, Bool_t verbose=kFALSE, TString indent="") const
virtual Bool_t readFromStream (istream &is, Bool_t compact, Bool_t verbose=kFALSE)
virtual void writeToStream (ostream &os, Bool_t compact) const
TIteratorMakeIterator () const
const RooArgSetinputCatList () const
virtual Bool_t inRange (const char *rangeName) const
virtual Bool_t hasRange (const char *rangeName) const
 RooSuperCategory ()
 RooSuperCategory (const char *name, const char *title, const RooArgSet &inputCatList)
 RooSuperCategory (const RooSuperCategory &other, const char *name=0)
virtual TObjectclone (const char *newname) const
virtual ~RooSuperCategory ()
virtual Bool_t setIndex (Int_t index, Bool_t printError=kTRUE)
virtual Bool_t setLabel (const char *label, Bool_t printError=kTRUE)
virtual void printMultiline (ostream &os, Int_t content, Bool_t verbose=kFALSE, TString indent="") const
virtual Bool_t readFromStream (istream &is, Bool_t compact, Bool_t verbose=kFALSE)
virtual void writeToStream (ostream &os, Bool_t compact) const
TIteratorMakeIterator () const
const RooArgSetinputCatList () const
virtual Bool_t inRange (const char *rangeName) const
virtual Bool_t hasRange (const char *rangeName) const

Protected Member Functions

Bool_t setType (const RooCatType *type, Bool_t prinError=kTRUE)
void updateIndexList ()
TString currentLabel () const
virtual RooCatType evaluate () const
 Iterator over set of input categories.
Bool_t setType (const RooCatType *type, Bool_t prinError=kTRUE)
void updateIndexList ()
TString currentLabel () const
virtual RooCatType evaluate () const
 Iterator over set of input categories.

Protected Attributes

RooSetProxy _catSet
TIterator_catIter
TIterator_catIter

Detailed Description

Definition at line 26 of file RooSuperCategory.h.


Constructor & Destructor Documentation

RooSuperCategory::RooSuperCategory (  )  [inline]

Definition at line 29 of file RooSuperCategory.h.

References _catIter, _catSet, and RooAbsCollection::createIterator().

Referenced by clone().

RooSuperCategory::RooSuperCategory ( const char *  name,
const char *  title,
const RooArgSet inputCatList 
)

Definition at line 53 of file RooSuperCategory.cxx.

References _catIter, _catSet, RooSetProxy::add(), xmlio::Class, coutE, RooAbsCollection::createIterator(), TNamed::GetName(), TObject::InheritsFrom(), RooFit::InputArguments, TIterator::Next(), and updateIndexList().

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

Definition at line 79 of file RooSuperCategory.cxx.

References _catIter, _catSet, RooAbsCollection::createIterator(), RooAbsCategory::getIndex(), setIndex(), and updateIndexList().

RooSuperCategory::~RooSuperCategory (  )  [virtual]

Definition at line 92 of file RooSuperCategory.cxx.

References _catIter.

RooSuperCategory::RooSuperCategory (  )  [inline]

Definition at line 29 of file RooSuperCategory.h.

References _catIter, _catSet, and RooAbsCollection::createIterator().

RooSuperCategory::RooSuperCategory ( const char *  name,
const char *  title,
const RooArgSet inputCatList 
)

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

virtual RooSuperCategory::~RooSuperCategory (  )  [virtual]


Member Function Documentation

virtual TObject* RooSuperCategory::clone ( const char *  newname  )  const [inline, virtual]

Implements RooAbsArg.

Definition at line 32 of file RooSuperCategory.h.

References RooSuperCategory().

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

Implements RooAbsCategoryLValue.

Definition at line 177 of file RooSuperCategory.cxx.

References kTRUE, RooAbsCategory::lookupType(), setType(), and type.

Referenced by RooDataProjBinding::operator()(), RooSuperCategory(), RooRealIntegral::sum(), and RooGenCategory::updateIndexList().

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

Implements RooAbsCategoryLValue.

Definition at line 190 of file RooSuperCategory.cxx.

References kTRUE, RooAbsCategory::lookupType(), setType(), and type.

Referenced by RooSimPdfBuilder::buildPdf(), RooSimultaneous::initialize(), rf406_cattocatfuncs(), and TestBasic406::testCode().

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

Reimplemented from RooAbsCategory.

Definition at line 251 of file RooSuperCategory.cxx.

References _catSet, and RooAbsCategory::printMultiline().

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

Reimplemented from RooAbsCategoryLValue.

Definition at line 268 of file RooSuperCategory.cxx.

References kTRUE.

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

Reimplemented from RooAbsCategoryLValue.

Definition at line 278 of file RooSuperCategory.cxx.

References RooAbsCategory::writeToStream().

TIterator * RooSuperCategory::MakeIterator (  )  const

Definition at line 102 of file RooSuperCategory.cxx.

References _catSet.

const RooArgSet& RooSuperCategory::inputCatList (  )  const [inline]

Definition at line 46 of file RooSuperCategory.h.

References _catSet.

Bool_t RooSuperCategory::inRange ( const char *  rangeName  )  const [virtual]

Reimplemented from RooAbsArg.

Definition at line 288 of file RooSuperCategory.cxx.

References _catIter, RooAbsArg::inRange(), kFALSE, kTRUE, TIterator::Next(), and TIterator::Reset().

Referenced by RooRealIntegral::sum().

Bool_t RooSuperCategory::hasRange ( const char *  rangeName  )  const [virtual]

Reimplemented from RooAbsArg.

Definition at line 305 of file RooSuperCategory.cxx.

References _catIter, RooAbsArg::hasRange(), kFALSE, kTRUE, TIterator::Next(), and TIterator::Reset().

Bool_t RooSuperCategory::setType ( const RooCatType type,
Bool_t  prinError = kTRUE 
) [protected]

Definition at line 203 of file RooSuperCategory.cxx.

References _catIter, buf, error, kFALSE, TIterator::Next(), ptr, TIterator::Reset(), strlcpy(), and type.

Referenced by setIndex(), and setLabel().

void RooSuperCategory::updateIndexList (  )  [protected]

Definition at line 113 of file RooSuperCategory.cxx.

References _catSet, RooAbsCategory::clearTypes(), RooAbsCategory::defineTypeUnchecked(), i, RooMultiCatIter::Next(), and RooAbsArg::setValueDirty().

Referenced by evaluate(), and RooSuperCategory().

TString RooSuperCategory::currentLabel (  )  const [protected]

Definition at line 134 of file RooSuperCategory.cxx.

References _catIter, TString::Append(), RooAbsCategory::getLabel(), kFALSE, kTRUE, TIterator::Next(), and TIterator::Reset().

Referenced by evaluate().

RooCatType RooSuperCategory::evaluate (  )  const [protected, virtual]

Iterator over set of input categories.

Implements RooAbsCategory.

Definition at line 158 of file RooSuperCategory.cxx.

References ccoutE, coutE, currentLabel(), RooFit::Eval, RooAbsArg::isShapeDirty(), kTRUE, RooPrintable::kVerbose, RooAbsCategory::lookupType(), RooPrintable::printStream(), and updateIndexList().

virtual TObject* RooSuperCategory::clone ( const char *  newname  )  const [inline, virtual]

Implements RooAbsArg.

Definition at line 32 of file RooSuperCategory.h.

References RooSuperCategory().

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

Implements RooAbsCategoryLValue.

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

Implements RooAbsCategoryLValue.

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

Reimplemented from RooAbsCategory.

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

Reimplemented from RooAbsCategoryLValue.

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

Reimplemented from RooAbsCategoryLValue.

TIterator* RooSuperCategory::MakeIterator (  )  const

const RooArgSet& RooSuperCategory::inputCatList (  )  const [inline]

Definition at line 46 of file RooSuperCategory.h.

References _catSet.

virtual Bool_t RooSuperCategory::inRange ( const char *  rangeName  )  const [virtual]

Reimplemented from RooAbsArg.

virtual Bool_t RooSuperCategory::hasRange ( const char *  rangeName  )  const [virtual]

Reimplemented from RooAbsArg.

Bool_t RooSuperCategory::setType ( const RooCatType type,
Bool_t  prinError = kTRUE 
) [protected]

void RooSuperCategory::updateIndexList (  )  [protected]

TString RooSuperCategory::currentLabel (  )  const [protected]

virtual RooCatType RooSuperCategory::evaluate (  )  const [protected, virtual]

Iterator over set of input categories.

Implements RooAbsCategory.


Member Data Documentation

RooSetProxy RooSuperCategory::_catSet [protected]

Definition at line 57 of file RooSuperCategory.h.

Referenced by inputCatList(), MakeIterator(), printMultiline(), RooSuperCategory(), and updateIndexList().

TIterator* RooSuperCategory::_catIter [protected]

Definition at line 58 of file RooSuperCategory.h.

Referenced by currentLabel(), hasRange(), inRange(), RooSuperCategory(), setType(), and ~RooSuperCategory().

TIterator* RooSuperCategory::_catIter [protected]

Definition at line 58 of file RooSuperCategory.h.


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