#include <RooMultiCategory.h>
Inheritance diagram for RooMultiCategory:
Public Member Functions | |
RooMultiCategory () | |
RooMultiCategory (const char *name, const char *title, const RooArgSet &inputCatList) | |
RooMultiCategory (const RooMultiCategory &other, const char *name=0) | |
virtual TObject * | clone (const char *newname) const |
virtual | ~RooMultiCategory () |
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 |
const RooArgSet & | inputCatList () const |
RooMultiCategory () | |
RooMultiCategory (const char *name, const char *title, const RooArgSet &inputCatList) | |
RooMultiCategory (const RooMultiCategory &other, const char *name=0) | |
virtual TObject * | clone (const char *newname) const |
virtual | ~RooMultiCategory () |
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 |
const RooArgSet & | inputCatList () const |
Protected Member Functions | |
void | updateIndexList () |
TString | currentLabel () const |
virtual RooCatType | evaluate () const |
void | updateIndexList () |
TString | currentLabel () const |
virtual RooCatType | evaluate () const |
Protected Attributes | |
RooSetProxy | _catSet |
Definition at line 26 of file RooMultiCategory.h.
RooMultiCategory::RooMultiCategory | ( | ) | [inline] |
RooMultiCategory::RooMultiCategory | ( | const char * | name, | |
const char * | title, | |||
const RooArgSet & | inputCatList | |||
) |
Definition at line 48 of file RooMultiCategory.cxx.
References _catSet, RooSetProxy::add(), coutE, RooAbsCollection::createIterator(), TNamed::GetName(), RooFit::InputArguments, TIterator::Next(), and updateIndexList().
RooMultiCategory::RooMultiCategory | ( | const RooMultiCategory & | other, | |
const char * | name = 0 | |||
) |
RooMultiCategory::~RooMultiCategory | ( | ) | [virtual] |
Definition at line 84 of file RooMultiCategory.cxx.
RooMultiCategory::RooMultiCategory | ( | ) | [inline] |
Definition at line 29 of file RooMultiCategory.h.
RooMultiCategory::RooMultiCategory | ( | const char * | name, | |
const char * | title, | |||
const RooArgSet & | inputCatList | |||
) |
RooMultiCategory::RooMultiCategory | ( | const RooMultiCategory & | other, | |
const char * | name = 0 | |||
) |
virtual RooMultiCategory::~RooMultiCategory | ( | ) | [virtual] |
virtual TObject* RooMultiCategory::clone | ( | const char * | newname | ) | const [inline, virtual] |
Implements RooAbsArg.
Definition at line 32 of file RooMultiCategory.h.
References RooMultiCategory().
void RooMultiCategory::printMultiline | ( | ostream & | os, | |
Int_t | content, | |||
Bool_t | verbose = kFALSE , |
|||
TString | indent = "" | |||
) | const [virtual] |
Reimplemented from RooAbsCategory.
Definition at line 153 of file RooMultiCategory.cxx.
References _catSet, TString::Append(), TString::Data(), RooPrintable::kName, RooPrintable::kStandard, RooPrintable::kValue, RooAbsCategory::printMultiline(), and RooPrintable::printStream().
Bool_t RooMultiCategory::readFromStream | ( | istream & | is, | |
Bool_t | compact, | |||
Bool_t | verbose = kFALSE | |||
) | [virtual] |
Reimplemented from RooAbsCategory.
Definition at line 171 of file RooMultiCategory.cxx.
References kTRUE.
void RooMultiCategory::writeToStream | ( | ostream & | os, | |
Bool_t | compact | |||
) | const [virtual] |
Reimplemented from RooAbsCategory.
Definition at line 180 of file RooMultiCategory.cxx.
References RooAbsCategory::writeToStream().
const RooArgSet& RooMultiCategory::inputCatList | ( | ) | const [inline] |
void RooMultiCategory::updateIndexList | ( | ) | [protected] |
Definition at line 93 of file RooMultiCategory.cxx.
References _catSet, RooAbsCategory::clearTypes(), RooAbsCategory::defineType(), RooMultiCatIter::Next(), and RooAbsArg::setValueDirty().
Referenced by evaluate(), and RooMultiCategory().
TString RooMultiCategory::currentLabel | ( | ) | const [protected] |
Definition at line 114 of file RooMultiCategory.cxx.
References _catSet, TString::Append(), RooAbsCollection::createIterator(), RooAbsCategory::getLabel(), kFALSE, kTRUE, and TIterator::Next().
Referenced by evaluate().
RooCatType RooMultiCategory::evaluate | ( | ) | const [protected, virtual] |
Implements RooAbsCategory.
Definition at line 139 of file RooMultiCategory.cxx.
References currentLabel(), RooAbsArg::isShapeDirty(), RooAbsCategory::lookupType(), and updateIndexList().
virtual TObject* RooMultiCategory::clone | ( | const char * | newname | ) | const [inline, virtual] |
Implements RooAbsArg.
Definition at line 32 of file RooMultiCategory.h.
References RooMultiCategory().
virtual void RooMultiCategory::printMultiline | ( | ostream & | os, | |
Int_t | content, | |||
Bool_t | verbose = kFALSE , |
|||
TString | indent = "" | |||
) | const [virtual] |
Reimplemented from RooAbsCategory.
virtual Bool_t RooMultiCategory::readFromStream | ( | istream & | is, | |
Bool_t | compact, | |||
Bool_t | verbose = kFALSE | |||
) | [virtual] |
Reimplemented from RooAbsCategory.
virtual void RooMultiCategory::writeToStream | ( | ostream & | os, | |
Bool_t | compact | |||
) | const [virtual] |
Reimplemented from RooAbsCategory.
const RooArgSet& RooMultiCategory::inputCatList | ( | ) | const [inline] |
void RooMultiCategory::updateIndexList | ( | ) | [protected] |
TString RooMultiCategory::currentLabel | ( | ) | const [protected] |
virtual RooCatType RooMultiCategory::evaluate | ( | ) | const [protected, virtual] |
Implements RooAbsCategory.
RooSetProxy RooMultiCategory::_catSet [protected] |
Definition at line 49 of file RooMultiCategory.h.
Referenced by currentLabel(), inputCatList(), printMultiline(), RooMultiCategory(), and updateIndexList().