#include <RooLinkedList.h>
Inheritance diagram for RooLinkedList:
Public Member Functions | |
RooLinkedList (Int_t htsize=0) | |
RooLinkedList (const RooLinkedList &other) | |
RooLinkedList & | operator= (const RooLinkedList &other) |
Int_t | getHashTableSize () const |
void | setHashTableSize (Int_t size) |
virtual | ~RooLinkedList () |
Int_t | GetSize () const |
virtual void | Add (TObject *arg) |
virtual Bool_t | Remove (TObject *arg) |
TObject * | At (Int_t index) const |
Bool_t | Replace (const TObject *oldArg, const TObject *newArg) |
TIterator * | MakeIterator (Bool_t dir=kTRUE) const |
RooLinkedListIter | iterator (Bool_t dir=kTRUE) const |
void | Clear (Option_t *o=0) |
void | Delete (Option_t *o=0) |
TObject * | find (const char *name) const |
TObject * | FindObject (const char *name) const |
TObject * | FindObject (const TObject *obj) const |
Int_t | IndexOf (const char *name) const |
Int_t | IndexOf (const TObject *arg) const |
TObject * | First () const |
void | Print (const char *opt) const |
void | Sort (Bool_t ascend=kTRUE) |
const char * | GetName () const |
void | SetName (const char *name) |
RooLinkedList (Int_t htsize=0) | |
RooLinkedList (const RooLinkedList &other) | |
RooLinkedList & | operator= (const RooLinkedList &other) |
Int_t | getHashTableSize () const |
void | setHashTableSize (Int_t size) |
virtual | ~RooLinkedList () |
Int_t | GetSize () const |
virtual void | Add (TObject *arg) |
virtual Bool_t | Remove (TObject *arg) |
TObject * | At (Int_t index) const |
Bool_t | Replace (const TObject *oldArg, const TObject *newArg) |
TIterator * | MakeIterator (Bool_t dir=kTRUE) const |
RooLinkedListIter | iterator (Bool_t dir=kTRUE) const |
void | Clear (Option_t *o=0) |
void | Delete (Option_t *o=0) |
TObject * | find (const char *name) const |
TObject * | FindObject (const char *name) const |
TObject * | FindObject (const TObject *obj) const |
Int_t | IndexOf (const char *name) const |
Int_t | IndexOf (const TObject *arg) const |
TObject * | First () const |
void | Print (const char *opt) const |
void | Sort (Bool_t ascend=kTRUE) |
const char * | GetName () const |
void | SetName (const char *name) |
Protected Member Functions | |
virtual void | Add (TObject *arg, Int_t refCount) |
void | swapWithNext (RooLinkedListElem *elem) |
RooLinkedListElem * | findLink (const TObject *arg) const |
virtual void | Add (TObject *arg, Int_t refCount) |
void | swapWithNext (RooLinkedListElem *elem) |
RooLinkedListElem * | findLink (const TObject *arg) const |
Protected Attributes | |
Int_t | _hashThresh |
Int_t | _size |
RooLinkedListElem * | _first |
RooLinkedListElem * | _last |
Link to first element of list. | |
RooHashTable * | _htableName |
Link to last element of list. | |
RooHashTable * | _htableLink |
Hash table by name. | |
TString | _name |
Hash table by link pointer. | |
RooLinkedListElem * | _first |
RooLinkedListElem * | _last |
Link to first element of list. | |
RooHashTable * | _htableName |
Link to last element of list. | |
RooHashTable * | _htableLink |
Hash table by name. | |
Friends | |
class | RooLinkedListIter |
Definition at line 25 of file RooLinkedList.h.
RooLinkedList::RooLinkedList | ( | Int_t | htsize = 0 |
) |
Definition at line 45 of file RooLinkedList.cxx.
RooLinkedList::RooLinkedList | ( | const RooLinkedList & | other | ) |
Definition at line 56 of file RooLinkedList.cxx.
References _first, _htableLink, _htableName, Add(), RooHashTable::Pointer, and RooHashTable::size().
RooLinkedList::~RooLinkedList | ( | ) | [virtual] |
RooLinkedList::RooLinkedList | ( | Int_t | htsize = 0 |
) |
RooLinkedList::RooLinkedList | ( | const RooLinkedList & | other | ) |
virtual RooLinkedList::~RooLinkedList | ( | ) | [virtual] |
RooLinkedList & RooLinkedList::operator= | ( | const RooLinkedList & | other | ) |
Definition at line 73 of file RooLinkedList.cxx.
References RooLinkedListElem::_arg, _first, RooLinkedListElem::_next, and Add().
Int_t RooLinkedList::getHashTableSize | ( | ) | const [inline] |
Definition at line 36 of file RooLinkedList.h.
References _htableName, and RooHashTable::size().
Referenced by RooAbsCollection::getHashTableSize().
void RooLinkedList::setHashTableSize | ( | Int_t | size | ) |
Definition at line 93 of file RooLinkedList.cxx.
References _first, _htableLink, _htableName, RooHashTable::add(), coutE, RooFit::InputArguments, RooHashTable::Pointer, and ptr.
Referenced by Add(), and RooAbsCollection::setHashTableSize().
Int_t RooLinkedList::GetSize | ( | ) | const [inline] |
Definition at line 46 of file RooLinkedList.h.
References _size.
Referenced by RooFormula::actualDependents(), RooFormula::changeDependents(), RooFormula::DefinedValue(), RooFormula::DefinedVariable(), RooMCStudy::doFit(), RooFormula::dump(), RooTrace::dump(), RooStudyPackage::exportData(), RooHashTable::findLinkTo(), RooHashTable::findSetPair(), RooMCStudy::fitSample(), RooAbsCollection::getSize(), RooAbsArg::hasClients(), RooAbsArg::isDerived(), RooCmdArg::operator=(), RooWorkspace::Print(), RooAbsArg::printCompactTree(), RooAbsCollection::printLatex(), RooCmdConfig::process(), RooCmdArg::RooCmdArg(), RooDataHist::RooDataHist(), RooProdGenContext::RooProdGenContext(), RooAbsCollection::safeDeleteList(), RooRealIntegral::servesExclusively(), RooAbsArg::setShapeDirty(), RooAbsArg::setValueDirty(), and RooAbsStudy::storeDetailedOutput().
virtual void RooLinkedList::Add | ( | TObject * | arg | ) | [inline, virtual] |
Definition at line 48 of file RooLinkedList.h.
Referenced by RooHashTable::add(), RooRefCountList::Add(), Add(), RooAbsCollection::add(), RooCmdArg::addArg(), RooAbsCollection::addClone(), RooNumGenConfig::addConfigSection(), RooNumIntConfig::addConfigSection(), RooAbsCollection::addOwned(), RooAbsCollection::addServerClonesToList(), RooWorkspace::addStudy(), RooCategory::addToRange(), RooNameReg::constPtr(), RooTrace::create2(), RooAbsData::createHistogram(), RooAbsReal::createHistogram(), RooFormula::DefinedVariable(), RooMCStudy::doFit(), RooProdPdf::factorizeProduct(), RooCmdConfig::filterCmdList(), RooAbsArg::findConstantNodes(), RooAbsRealLValue::frame(), RooLinearVar::getBinning(), RooErrorVar::getBinning(), RooRealVar::getBinning(), RooAbsArg::getCloningAncestors(), RooProdPdf::getPartIntList(), RooProdPdf::groupProductTerms(), RooWorkspace::import(), RooProdPdf::initializeFromCmdArgList(), RooMCStudy::makeFrameAndPlotCmd(), RooNumIntConfig::operator=(), operator=(), RooCmdArg::operator=(), RooNumGenConfig::operator=(), RooAbsArg::optimizeCacheMode(), RooAbsPdf::paramOn(), RooAbsReal::plotOn(), RooSimultaneous::plotOn(), RooAbsPdf::plotOn(), RooDataSet::plotOnXY(), RooMCStudy::plotParam(), RooMCStudy::plotPull(), RooAbsCollection::printLatex(), RooFactoryWSTool::prod(), RooAbsArg::recursiveRedirectServers(), RooCategorySharedProperties::RooCategorySharedProperties(), RooCmdArg::RooCmdArg(), RooErrorVar::RooErrorVar(), RooFormula::RooFormula(), RooGenFitStudy::RooGenFitStudy(), RooLinkedList(), RooMCStudy::RooMCStudy(), RooNumGenConfig::RooNumGenConfig(), RooNumIntConfig::RooNumIntConfig(), RooProdGenContext::RooProdGenContext(), RooProdPdf::RooProdPdf(), RooRealVar::RooRealVar(), RooTObjWrap::RooTObjWrap(), RooWorkspace::RooWorkspace(), RooWorkspace::saveSnapshot(), RooRealVar::setBinning(), RooErrorVar::setBinning(), RooGenFitStudy::setFitConfig(), RooGenFitStudy::setGenConfig(), RooTObjWrap::setObj(), RooAbsData::statOn(), and RooAbsStudy::storeDetailedOutput().
Definition at line 220 of file RooLinkedList.cxx.
References _first, _htableLink, _htableName, _last, RooLinkedListElem::_next, RooLinkedListElem::_prev, _size, findLink(), kFALSE, kTRUE, and RooHashTable::remove().
Referenced by RooTrace::destroy2(), RooCmdConfig::filterCmdList(), RooProdPdf::groupProductTerms(), RooAbsArg::recursiveRedirectServers(), RooAbsCollection::remove(), RooRefCountList::Remove(), RooRefCountList::RemoveAll(), RooProdGenContext::RooProdGenContext(), RooWorkspace::saveSnapshot(), RooRealVar::setBinning(), RooErrorVar::setBinning(), and RooCmdConfig::stripCmdList().
Definition at line 250 of file RooLinkedList.cxx.
References _first, _size, and ptr.
Referenced by RooFormula::actualDependents(), RooArgList::at(), RooProdPdf::calculate(), RooFormula::changeDependents(), RooFormula::DefinedValue(), RooFormula::DefinedVariable(), RooFormula::dump(), RooTrace::dump(), RooGenFitStudy::execute(), RooHashTable::findLinkTo(), RooProdPdf::findPdfNSet(), RooAbsArg::findServer(), RooHashTable::findSetPair(), RooFormula::getParameter(), RooProdPdf::getPartIntList(), RooProdPdf::groupProductTerms(), RooGenFitStudy::initialize(), RooTObjWrap::obj(), RooCmdArg::operator=(), RooAbsCollection::printLatex(), RooCmdConfig::process(), and RooCmdArg::RooCmdArg().
Definition at line 271 of file RooLinkedList.cxx.
References RooLinkedListElem::_arg, _htableLink, _htableName, RooHashTable::add(), findLink(), kFALSE, kTRUE, RooHashTable::remove(), and RooHashTable::replace().
Referenced by RooFormula::changeDependents(), RooAbsData::createHistogram(), RooWorkspace::import(), RooAbsCollection::replace(), and RooHashTable::replace().
Definition at line 452 of file RooLinkedList.cxx.
References RooLinkedListIter.
Referenced by RooAbsStudy::aggregateSummaryOutput(), RooWorkspace::allData(), RooWorkspace::allGenericObjects(), RooFormula::changeDependents(), RooAbsArg::clientIterator(), RooAbsReal::createChi2(), RooAbsCollection::createIterator(), RooStudyPackage::exportData(), RooWorkspace::exportToCint(), RooProdPdf::factorizeProduct(), RooProdPdf::getPartIntList(), RooProdPdf::groupProductTerms(), RooNumIntConfig::operator=(), RooNumGenConfig::operator=(), RooAbsReal::plotOn(), RooSimultaneous::plotOn(), RooWorkspace::Print(), RooAbsCollection::printLatex(), RooProdPdf::printMetaArgs(), RooAbsArg::printMultiline(), RooNumGenConfig::printMultiline(), RooNumIntConfig::printMultiline(), RooCmdConfig::process(), RooProdPdf::rearrangeProduct(), RooAbsArg::redirectServers(), RooSharedPropertiesList::registerProperties(), RooAbsArg::RooAbsArg(), RooCategorySharedProperties::RooCategorySharedProperties(), RooDataHist::RooDataHist(), RooDataSet::RooDataSet(), RooErrorVar::RooErrorVar(), RooFormula::RooFormula(), RooGenFitStudy::RooGenFitStudy(), RooNumGenConfig::RooNumGenConfig(), RooNumIntConfig::RooNumIntConfig(), RooProdGenContext::RooProdGenContext(), RooProdPdf::RooProdPdf(), RooRealVar::RooRealVar(), RooWorkspace::RooWorkspace(), RooAbsArg::serverIterator(), RooAbsArg::shapeClientIterator(), RooWorkspace::studyIterator(), RooAbsArg::valueClientIterator(), RooAbsArg::~RooAbsArg(), and RooSharedPropertiesList::~RooSharedPropertiesList().
RooLinkedListIter RooLinkedList::iterator | ( | Bool_t | dir = kTRUE |
) | const |
Definition at line 460 of file RooLinkedList.cxx.
References RooLinkedListIter.
Referenced by RooAbsCollection::allInRange(), RooAbsCollection::assignFast(), RooAbsCollection::assignValueOnly(), and RooAbsCollection::operator=().
void RooLinkedList::Clear | ( | Option_t * | o = 0 |
) | [virtual] |
Reimplemented from TObject.
Definition at line 319 of file RooLinkedList.cxx.
References _first, _htableLink, _htableName, _last, RooLinkedListElem::_next, _size, RooHashTable::Pointer, and RooHashTable::size().
Referenced by RooFormula::reCompile(), RooAbsCollection::removeAll(), RooTObjWrap::setObj(), and ~RooLinkedList().
void RooLinkedList::Delete | ( | Option_t * | o = 0 |
) | [virtual] |
Reimplemented from TObject.
Definition at line 348 of file RooLinkedList.cxx.
References RooLinkedListElem::_arg, _first, _htableLink, _htableName, _last, RooLinkedListElem::_next, _size, RooHashTable::Pointer, and RooHashTable::size().
Referenced by RooWorkspace::clearStudies(), RooAbsData::createHistogram(), RooAbsReal::createHistogram(), RooProdPdf::factorizeProduct(), RooProdPdf::getPartIntList(), RooNumIntConfig::operator=(), RooNumGenConfig::operator=(), RooSimultaneous::plotOn(), RooAbsCollection::printLatex(), RooFactoryWSTool::prod(), RooProdGenContext::RooProdGenContext(), RooAbsCollection::safeDeleteList(), RooAbsStudy::~RooAbsStudy(), RooCategorySharedProperties::~RooCategorySharedProperties(), RooCmdArg::~RooCmdArg(), RooFormula::~RooFormula(), RooLinearVar::~RooLinearVar(), RooMCStudy::~RooMCStudy(), RooNameReg::~RooNameReg(), RooNumGenConfig::~RooNumGenConfig(), RooNumIntConfig::~RooNumIntConfig(), RooProdPdf::~RooProdPdf(), RooRealVar::~RooRealVar(), RooRealVarSharedProperties::~RooRealVarSharedProperties(), RooTObjWrap::~RooTObjWrap(), and RooWorkspace::~RooWorkspace().
TObject * RooLinkedList::find | ( | const char * | name | ) | const |
Definition at line 381 of file RooLinkedList.cxx.
References _first, _htableName, RooHashTable::find(), and ptr.
Referenced by RooAbsData::createHistogram(), RooHashTable::find(), RooAbsCollection::find(), FindObject(), RooWorkspace::loadSnapshot(), and RooSimultaneous::plotOn().
TObject * RooLinkedList::FindObject | ( | const char * | name | ) | const [virtual] |
Reimplemented from TObject.
Definition at line 296 of file RooLinkedList.cxx.
References find().
Referenced by RooRefCountList::Add(), RooCategory::addToRange(), RooAbsArg::changeServer(), RooCategory::clearRange(), RooAbsCollection::containsInstance(), RooWorkspace::data(), RooFormula::DefinedVariable(), RooCmdConfig::filterCmdList(), RooHashTable::find(), RooAbsArg::findConstantNodes(), RooAbsArg::findServer(), RooMCStudy::fitSample(), RooWorkspace::genobj(), RooLinearVar::getBinning(), RooErrorVar::getBinning(), RooRealVar::getBinning(), RooNumIntConfig::getConfigSection(), RooNumGenConfig::getConfigSection(), RooFormula::getParameter(), RooRealVar::hasBinning(), RooErrorVar::hasBinning(), RooCategory::hasRange(), RooWorkspace::import(), RooAbsArg::isShapeServer(), RooCategory::isStateInRange(), RooAbsArg::isValueServer(), RooMCStudy::makeFrameAndPlotCmd(), RooAbsArg::optimizeCacheMode(), RooAbsPdf::paramOn(), RooAbsReal::plotOn(), RooAbsPdf::plotOn(), RooAbsCollection::printLatex(), RooAbsArg::printMultiline(), RooAbsArg::recursiveRedirectServers(), RooAbsArg::redirectServers(), RooSharedPropertiesList::registerProperties(), RooAbsArg::RooAbsArg(), RooMCStudy::RooMCStudy(), RooWorkspace::saveSnapshot(), RooRealVar::setBinning(), RooErrorVar::setBinning(), RooRealVar::setRange(), RooErrorVar::setRange(), RooAbsData::statOn(), RooCmdConfig::stripCmdList(), RooAbsArg::treeNodeServerList(), and RooGenCategory::~RooGenCategory().
Reimplemented from TObject.
Definition at line 307 of file RooLinkedList.cxx.
References RooLinkedListElem::_arg, and findLink().
Int_t RooLinkedList::IndexOf | ( | const char * | name | ) | const |
Definition at line 419 of file RooLinkedList.cxx.
Referenced by RooTrace::dump(), RooProdPdf::getPartIntList(), RooProdPdf::groupProductTerms(), and RooArgList::index().
TObject* RooLinkedList::First | ( | ) | const [inline] |
Definition at line 61 of file RooLinkedList.h.
References RooLinkedListElem::_arg, and _first.
Referenced by RooAbsCollection::first(), and RooAbsArg::redirectServers().
void RooLinkedList::Print | ( | const char * | opt | ) | const [virtual] |
Reimplemented from TObject.
Definition at line 437 of file RooLinkedList.cxx.
References RooLinkedListElem::_arg, _first, RooLinkedListElem::_next, and TObject::Print().
Definition at line 469 of file RooLinkedList.cxx.
References _first, _size, kFALSE, kTRUE, ptr, and swapWithNext().
Referenced by RooAbsCollection::sort(), and RooArgList::sort().
const char* RooLinkedList::GetName | ( | ) | const [inline, virtual] |
Reimplemented from TObject.
Definition at line 68 of file RooLinkedList.h.
References _name, and TString::Data().
Referenced by RooAbsStudy::aggregateSummaryOutput(), and RooStudyPackage::exportData().
void RooLinkedList::SetName | ( | const char * | name | ) | [inline] |
Definition at line 69 of file RooLinkedList.h.
References _name.
Referenced by RooStudyPackage::exportData(), and RooAbsStudy::storeDetailedOutput().
Definition at line 177 of file RooLinkedList.cxx.
References _first, _hashThresh, _htableLink, _htableName, _last, RooLinkedListElem::_refCount, _size, RooHashTable::add(), setHashTableSize(), and RooHashTable::size().
void RooLinkedList::swapWithNext | ( | RooLinkedListElem * | elem | ) | [protected] |
Definition at line 497 of file RooLinkedList.cxx.
References _first, _last, RooLinkedListElem::_next, and RooLinkedListElem::_prev.
Referenced by Sort().
RooLinkedListElem * RooLinkedList::findLink | ( | const TObject * | arg | ) | const [protected] |
Definition at line 155 of file RooLinkedList.cxx.
References _first, _htableLink, RooHashTable::findLinkTo(), and ptr.
Referenced by RooRefCountList::Add(), FindObject(), RooRefCountList::refCount(), Remove(), RooRefCountList::Remove(), and Replace().
RooLinkedList& RooLinkedList::operator= | ( | const RooLinkedList & | other | ) |
Int_t RooLinkedList::getHashTableSize | ( | ) | const [inline] |
void RooLinkedList::setHashTableSize | ( | Int_t | size | ) |
Int_t RooLinkedList::GetSize | ( | ) | const [inline] |
virtual void RooLinkedList::Add | ( | TObject * | arg | ) | [inline, virtual] |
RooLinkedListIter RooLinkedList::iterator | ( | Bool_t | dir = kTRUE |
) | const |
TObject* RooLinkedList::find | ( | const char * | name | ) | const |
TObject* RooLinkedList::FindObject | ( | const char * | name | ) | const [virtual] |
Reimplemented from TObject.
Reimplemented from TObject.
Int_t RooLinkedList::IndexOf | ( | const char * | name | ) | const |
TObject* RooLinkedList::First | ( | ) | const [inline] |
void RooLinkedList::Print | ( | const char * | opt | ) | const [virtual] |
Reimplemented from TObject.
const char* RooLinkedList::GetName | ( | ) | const [inline, virtual] |
Reimplemented from TObject.
Definition at line 68 of file RooLinkedList.h.
References _name, and TString::Data().
void RooLinkedList::SetName | ( | const char * | name | ) | [inline] |
void RooLinkedList::swapWithNext | ( | RooLinkedListElem * | elem | ) | [protected] |
RooLinkedListElem* RooLinkedList::findLink | ( | const TObject * | arg | ) | const [protected] |
RooLinkedListIter [friend] |
Int_t RooLinkedList::_hashThresh [protected] |
Int_t RooLinkedList::_size [protected] |
RooLinkedListElem* RooLinkedList::_first [protected] |
Definition at line 84 of file RooLinkedList.h.
Referenced by Add(), At(), Clear(), Delete(), find(), findLink(), First(), IndexOf(), operator=(), Print(), Remove(), RooLinkedListIter::Reset(), RooLinkedList(), RooLinkedListIter::RooLinkedListIter(), setHashTableSize(), Sort(), and swapWithNext().
RooLinkedListElem* RooLinkedList::_last [protected] |
Link to first element of list.
Definition at line 85 of file RooLinkedList.h.
Referenced by Add(), Clear(), Delete(), Remove(), RooLinkedListIter::Reset(), and swapWithNext().
RooHashTable* RooLinkedList::_htableName [protected] |
Link to last element of list.
Definition at line 86 of file RooLinkedList.h.
Referenced by Add(), Clear(), Delete(), find(), getHashTableSize(), Remove(), Replace(), RooLinkedList(), setHashTableSize(), and ~RooLinkedList().
RooHashTable* RooLinkedList::_htableLink [protected] |
Hash table by name.
Definition at line 87 of file RooLinkedList.h.
Referenced by Add(), Clear(), Delete(), findLink(), Remove(), Replace(), RooLinkedList(), setHashTableSize(), and ~RooLinkedList().
TString RooLinkedList::_name [protected] |
RooLinkedListElem* RooLinkedList::_first [protected] |
Definition at line 84 of file RooLinkedList.h.
RooLinkedListElem* RooLinkedList::_last [protected] |
RooHashTable* RooLinkedList::_htableName [protected] |
RooHashTable* RooLinkedList::_htableLink [protected] |