#include <RooGenCategory.h>
Inheritance diagram for RooGenCategory:

Public Member Functions | |
| RooGenCategory () | |
| RooGenCategory (const char *name, const char *title, void *userFunc, RooArgSet &catList) | |
| RooGenCategory (const RooGenCategory &other, const char *name=0) | |
| virtual TObject * | clone (const char *newname) const |
| virtual | ~RooGenCategory () |
| 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 |
| RooGenCategory () | |
| RooGenCategory (const char *name, const char *title, void *userFunc, RooArgSet &catList) | |
| RooGenCategory (const RooGenCategory &other, const char *name=0) | |
| virtual TObject * | clone (const char *newname) const |
| virtual | ~RooGenCategory () |
| 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 |
Protected Member Functions | |
| void | initialize () |
| TString | evalUserFunc (RooArgSet *vars) |
| void | updateIndexList () |
| virtual RooCatType | evaluate () const |
| void | initialize () |
| TString | evalUserFunc (RooArgSet *vars) |
| void | updateIndexList () |
| virtual RooCatType | evaluate () const |
Protected Attributes | |
| RooSuperCategory | _superCat |
| RooCategoryProxy | _superCatProxy |
| Int_t * | _map |
| TString | _userFuncName |
| Super-index to generic-index map. | |
| TMethodCall * | _userFunc |
| Long_t | _userArgs [1] |
| Int_t * | _map |
| TMethodCall * | _userFunc |
Definition at line 28 of file RooGenCategory.h.
| RooGenCategory::RooGenCategory | ( | ) | [inline] |
| RooGenCategory::RooGenCategory | ( | const char * | name, | |
| const char * | title, | |||
| void * | userFunc, | |||
| RooArgSet & | catList | |||
| ) |
| RooGenCategory::RooGenCategory | ( | const RooGenCategory & | other, | |
| const char * | name = 0 | |||
| ) |
Definition at line 85 of file RooGenCategory.cxx.
References _superCat, initialize(), and RooAbsArg::removeServer().
| RooGenCategory::~RooGenCategory | ( | ) | [virtual] |
Definition at line 117 of file RooGenCategory.cxx.
References _map, RooAbsArg::_serverList, _superCat, RooLinkedList::FindObject(), and RooAbsArg::removeServer().
| RooGenCategory::RooGenCategory | ( | ) | [inline] |
Definition at line 31 of file RooGenCategory.h.
| RooGenCategory::RooGenCategory | ( | const char * | name, | |
| const char * | title, | |||
| void * | userFunc, | |||
| RooArgSet & | catList | |||
| ) |
| RooGenCategory::RooGenCategory | ( | const RooGenCategory & | other, | |
| const char * | name = 0 | |||
| ) |
| virtual RooGenCategory::~RooGenCategory | ( | ) | [virtual] |
| virtual TObject* RooGenCategory::clone | ( | const char * | newname | ) | const [inline, virtual] |
| void RooGenCategory::printMultiline | ( | ostream & | os, | |
| Int_t | content, | |||
| Bool_t | verbose = kFALSE, |
|||
| TString | indent = "" | |||
| ) | const [virtual] |
Reimplemented from RooAbsCategory.
Definition at line 212 of file RooGenCategory.cxx.
References _superCatProxy, _userFuncName, TString::Append(), RooCategoryProxy::arg(), RooPrintable::kArgs, RooPrintable::kClassName, RooPrintable::kName, RooPrintable::kSingleLine, and RooAbsCategory::printMultiline().
| Bool_t RooGenCategory::readFromStream | ( | istream & | is, | |
| Bool_t | compact, | |||
| Bool_t | verbose = kFALSE | |||
| ) | [virtual] |
Reimplemented from RooAbsCategory.
Definition at line 231 of file RooGenCategory.cxx.
References coutE, TNamed::GetName(), RooFit::InputArguments, kFALSE, and kTRUE.
| void RooGenCategory::writeToStream | ( | ostream & | os, | |
| Bool_t | compact | |||
| ) | const [virtual] |
Reimplemented from RooAbsCategory.
Definition at line 247 of file RooGenCategory.cxx.
References RooAbsCategory::getLabel().
| void RooGenCategory::initialize | ( | ) | [protected] |
Definition at line 100 of file RooGenCategory.cxx.
References _superCat, _userFunc, _userFuncName, RooAbsArg::addServer(), TString::Data(), TMethodCall::InitWithPrototype(), kTRUE, and updateIndexList().
Referenced by RooGenCategory().
Definition at line 132 of file RooGenCategory.cxx.
References _userArgs, _userFunc, TMethodCall::Execute(), result(), TMethodCall::SetParamPtrs(), and text().
Referenced by updateIndexList().
| void RooGenCategory::updateIndexList | ( | ) | [protected] |
Definition at line 148 of file RooGenCategory.cxx.
References _map, _superCatProxy, RooCategoryProxy::arg(), RooAbsCategory::clearTypes(), coutE, RooAbsCategory::defineType(), evalUserFunc(), RooAbsCollection::find(), RooAbsCategory::getIndex(), TNamed::GetName(), RooAbsArg::getParameters(), RooCatType::getVal(), kFALSE, kTRUE, RooAbsCategory::lookupType(), TIterator::Next(), RooAbsCategory::numTypes(), RooFit::ObjectHandling, RooAbsArg::RooArgSet, RooSuperCategory::setIndex(), type, and RooAbsCategory::typeIterator().
Referenced by evaluate(), and initialize().
| RooCatType RooGenCategory::evaluate | ( | ) | const [protected, virtual] |
Implements RooAbsCategory.
Definition at line 192 of file RooGenCategory.cxx.
References _map, _superCatProxy, TNamed::GetName(), RooAbsArg::isShapeDirty(), RooAbsCategory::lookupType(), and updateIndexList().
| virtual TObject* RooGenCategory::clone | ( | const char * | newname | ) | const [inline, virtual] |
| virtual void RooGenCategory::printMultiline | ( | ostream & | os, | |
| Int_t | content, | |||
| Bool_t | verbose = kFALSE, |
|||
| TString | indent = "" | |||
| ) | const [virtual] |
Reimplemented from RooAbsCategory.
| virtual Bool_t RooGenCategory::readFromStream | ( | istream & | is, | |
| Bool_t | compact, | |||
| Bool_t | verbose = kFALSE | |||
| ) | [virtual] |
Reimplemented from RooAbsCategory.
| virtual void RooGenCategory::writeToStream | ( | ostream & | os, | |
| Bool_t | compact | |||
| ) | const [virtual] |
Reimplemented from RooAbsCategory.
| void RooGenCategory::initialize | ( | ) | [protected] |
| void RooGenCategory::updateIndexList | ( | ) | [protected] |
| virtual RooCatType RooGenCategory::evaluate | ( | ) | const [protected, virtual] |
Implements RooAbsCategory.
RooSuperCategory RooGenCategory::_superCat [protected] |
Definition at line 53 of file RooGenCategory.h.
Referenced by initialize(), RooGenCategory(), and ~RooGenCategory().
RooCategoryProxy RooGenCategory::_superCatProxy [protected] |
Definition at line 54 of file RooGenCategory.h.
Referenced by evaluate(), printMultiline(), and updateIndexList().
Int_t* RooGenCategory::_map [protected] |
Definition at line 55 of file RooGenCategory.h.
Referenced by evaluate(), updateIndexList(), and ~RooGenCategory().
TString RooGenCategory::_userFuncName [protected] |
Super-index to generic-index map.
Definition at line 57 of file RooGenCategory.h.
Referenced by initialize(), and printMultiline().
TMethodCall* RooGenCategory::_userFunc [protected] |
Long_t RooGenCategory::_userArgs [protected] |
Int_t* RooGenCategory::_map [protected] |
Definition at line 55 of file RooGenCategory.h.
TMethodCall* RooGenCategory::_userFunc [protected] |
Definition at line 58 of file RooGenCategory.h.
1.5.1