ROOT
6.06/09
Reference Guide
|
Definition at line 35 of file RooLinkedList.h.
Public Member Functions | |
RooLinkedList (Int_t htsize=0) | |
RooLinkedList (const RooLinkedList &other) | |
Copy constructor. More... | |
virtual TObject * | Clone (const char *=0) const |
Make a clone of an object using the Streamer facility. More... | |
RooLinkedList & | operator= (const RooLinkedList &other) |
Assignment operator, copy contents from 'other'. More... | |
Int_t | getHashTableSize () const |
void | setHashTableSize (Int_t size) |
Change the threshold for hash-table use to given size. More... | |
virtual | ~RooLinkedList () |
Destructor. More... | |
Int_t | GetSize () const |
virtual void | Add (TObject *arg) |
virtual Bool_t | Remove (TObject *arg) |
Remove object from collection. More... | |
TObject * | At (Int_t index) const |
Return object stored in sequential position given by index. More... | |
Bool_t | Replace (const TObject *oldArg, const TObject *newArg) |
Replace object 'oldArg' in collection with new object 'newArg'. More... | |
TIterator * | MakeIterator (Bool_t dir=kTRUE) const |
Return an iterator over this list. More... | |
RooLinkedListIter | iterator (Bool_t dir=kTRUE) const |
RooFIter | fwdIterator () const |
void | Clear (Option_t *o=0) |
Remove all elements from collection. More... | |
void | Delete (Option_t *o=0) |
Remove all elements in collection and delete all elements NB: Collection does not own elements, this function should be used judiciously by caller. More... | |
TObject * | find (const char *name) const |
Return pointer to object with given name in collection. More... | |
RooAbsArg * | findArg (const RooAbsArg *) const |
Return pointer to object with given name in collection. More... | |
TObject * | FindObject (const char *name) const |
Return pointer to obejct with given name. More... | |
TObject * | FindObject (const TObject *obj) const |
Find object in list. More... | |
Int_t | IndexOf (const char *name) const |
Return position of given object in list. More... | |
Int_t | IndexOf (const TObject *arg) const |
Return position of given object in list. More... | |
TObject * | First () const |
void | Print (const char *opt) const |
Print contents of list, defers to Print() function of contained objects. More... | |
void | Sort (Bool_t ascend=kTRUE) |
const char * | GetName () const |
Returns name of object. More... | |
void | SetName (const char *name) |
void | useNptr (Bool_t flag) |
ULong_t | Hash () const |
Return hash value for this object. More... | |
Public Member Functions inherited from TObject | |
TObject () | |
TObject (const TObject &object) | |
TObject copy ctor. More... | |
TObject & | operator= (const TObject &rhs) |
TObject assignment operator. More... | |
virtual | ~TObject () |
TObject destructor. More... | |
virtual void | AppendPad (Option_t *option="") |
Append graphics object to current pad. More... | |
virtual void | Browse (TBrowser *b) |
Browse object. May be overridden for another default action. More... | |
virtual const char * | ClassName () const |
Returns name of class to which the object belongs. More... | |
virtual Int_t | Compare (const TObject *obj) const |
Compare abstract method. More... | |
virtual void | Copy (TObject &object) const |
Copy this to obj. More... | |
virtual Int_t | DistancetoPrimitive (Int_t px, Int_t py) |
Computes distance from point (px,py) to the object. More... | |
virtual void | Draw (Option_t *option="") |
Default Draw method for all objects. More... | |
virtual void | DrawClass () const |
Draw class inheritance tree of the class to which this object belongs. More... | |
virtual TObject * | DrawClone (Option_t *option="") const |
Draw a clone of this object in the current pad. More... | |
virtual void | Dump () const |
Dump contents of object on stdout. More... | |
virtual void | Execute (const char *method, const char *params, Int_t *error=0) |
Execute method on this object with the given parameter string, e.g. More... | |
virtual void | Execute (TMethod *method, TObjArray *params, Int_t *error=0) |
Execute method on this object with parameters stored in the TObjArray. More... | |
virtual void | ExecuteEvent (Int_t event, Int_t px, Int_t py) |
Execute action corresponding to an event at (px,py). More... | |
virtual Option_t * | GetDrawOption () const |
Get option used by the graphics system to draw this object. More... | |
virtual UInt_t | GetUniqueID () const |
Return the unique object id. More... | |
virtual const char * | GetIconName () const |
Returns mime type name of object. More... | |
virtual Option_t * | GetOption () const |
virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
Returns string containing info about the object at position (px,py). More... | |
virtual const char * | GetTitle () const |
Returns title of object. More... | |
virtual Bool_t | HandleTimer (TTimer *timer) |
Execute action in response of a timer timing out. More... | |
virtual Bool_t | InheritsFrom (const char *classname) const |
Returns kTRUE if object inherits from class "classname". More... | |
virtual Bool_t | InheritsFrom (const TClass *cl) const |
Returns kTRUE if object inherits from TClass cl. More... | |
virtual void | Inspect () const |
Dump contents of this object in a graphics canvas. More... | |
virtual Bool_t | IsFolder () const |
Returns kTRUE in case object contains browsable objects (like containers or lists of other objects). More... | |
virtual Bool_t | IsEqual (const TObject *obj) const |
Default equal comparison (objects are equal if they have the same address in memory). More... | |
virtual Bool_t | IsSortable () const |
Bool_t | IsOnHeap () const |
Bool_t | IsZombie () const |
virtual Bool_t | Notify () |
This method must be overridden to handle object notification. More... | |
virtual void | ls (Option_t *option="") const |
The ls function lists the contents of a class on stdout. More... | |
virtual void | Paint (Option_t *option="") |
This method must be overridden if a class wants to paint itself. More... | |
virtual void | Pop () |
Pop on object drawn in a pad to the top of the display list. More... | |
virtual Int_t | Read (const char *name) |
Read contents of object with specified name from the current directory. More... | |
virtual void | RecursiveRemove (TObject *obj) |
Recursively remove this object from a list. More... | |
virtual void | SaveAs (const char *filename="", Option_t *option="") const |
Save this object in the file specified by filename. More... | |
virtual void | SavePrimitive (std::ostream &out, Option_t *option="") |
Save a primitive as a C++ statement(s) on output stream "out". More... | |
virtual void | SetDrawOption (Option_t *option="") |
Set drawing option for object. More... | |
virtual void | SetUniqueID (UInt_t uid) |
Set the unique object id. More... | |
virtual void | UseCurrentStyle () |
Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked. More... | |
virtual Int_t | Write (const char *name=0, Int_t option=0, Int_t bufsize=0) |
Write this object to the current directory. More... | |
virtual Int_t | Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const |
Write this object to the current directory. More... | |
void * | operator new (size_t sz) |
void * | operator new[] (size_t sz) |
void * | operator new (size_t sz, void *vp) |
void * | operator new[] (size_t sz, void *vp) |
void | operator delete (void *ptr) |
Operator delete. More... | |
void | operator delete[] (void *ptr) |
Operator delete []. More... | |
void | SetBit (UInt_t f, Bool_t set) |
Set or unset the user status bits as specified in f. More... | |
void | SetBit (UInt_t f) |
void | ResetBit (UInt_t f) |
Bool_t | TestBit (UInt_t f) const |
Int_t | TestBits (UInt_t f) const |
void | InvertBit (UInt_t f) |
virtual void | Info (const char *method, const char *msgfmt,...) const |
Issue info message. More... | |
virtual void | Warning (const char *method, const char *msgfmt,...) const |
Issue warning message. More... | |
virtual void | Error (const char *method, const char *msgfmt,...) const |
Issue error message. More... | |
virtual void | SysError (const char *method, const char *msgfmt,...) const |
Issue system error message. More... | |
virtual void | Fatal (const char *method, const char *msgfmt,...) const |
Issue fatal error message. More... | |
void | AbstractMethod (const char *method) const |
Use this method to implement an "abstract" method that you don't want to leave purely abstract. More... | |
void | MayNotUse (const char *method) const |
Use this method to signal that a method (defined in a base class) may not be called in a derived class (in principle against good design since a child class should not provide less functionality than its parent, however, sometimes it is necessary). More... | |
void | Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const |
Use this method to declare a method obsolete. More... | |
Protected Member Functions | |
RooLinkedListElem * | createElement (TObject *obj, RooLinkedListElem *elem=0) |
cout << "RooLinkedList::createElem(" << this << ") obj = " << obj << " elem = " << elem << endl ; More... | |
void | deleteElement (RooLinkedListElem *) |
virtual void | Add (TObject *arg, Int_t refCount) |
Insert object into collection with given reference count value. More... | |
RooLinkedListElem * | findLink (const TObject *arg) const |
Find the element link containing the given object. More... | |
Protected Member Functions inherited from TObject | |
void | MakeZombie () |
virtual void | DoError (int level, const char *location, const char *fmt, va_list va) const |
Interface to ErrorHandler (protected). More... | |
Protected Attributes | |
Int_t | _hashThresh |
Int_t | _size |
RooLinkedListElem * | _first |
RooLinkedListElem * | _last |
Link to first element of list. More... | |
RooHashTable * | _htableName |
Link to last element of list. More... | |
RooHashTable * | _htableLink |
Hash table by name. More... | |
TString | _name |
Hash table by link pointer. More... | |
Bool_t | _useNptr |
Private Types | |
typedef RooLinkedListImplDetails::Pool | Pool |
memory pool for quick allocation of RooLinkedListElems More... | |
Static Private Member Functions | |
template<bool ascending> | |
static RooLinkedListElem * | mergesort_impl (RooLinkedListElem *l1, const unsigned sz, RooLinkedListElem **tail=0) |
length 0, 1 lists are sorted More... | |
Static Private Attributes | |
static Pool * | _pool = 0 |
shared memory pool for allocation of RooLinkedListElems More... | |
Friends | |
class | RooLinkedListIter |
class | RooFIter |
Additional Inherited Members | |
Public Types inherited from TObject | |
enum | EStatusBits { kCanDelete = BIT(0), kMustCleanup = BIT(3), kObjInCanvas = BIT(3), kIsReferenced = BIT(4), kHasUUID = BIT(5), kCannotPick = BIT(6), kNoContextMenu = BIT(8), kInvalidObject = BIT(13) } |
enum | { kIsOnHeap = 0x01000000, kNotDeleted = 0x02000000, kZombie = 0x04000000, kBitMask = 0x00ffffff } |
enum | { kSingleKey = BIT(0), kOverwrite = BIT(1), kWriteDelete = BIT(2) } |
Static Public Member Functions inherited from TObject | |
static Long_t | GetDtorOnly () |
Return destructor only flag. More... | |
static void | SetDtorOnly (void *obj) |
Set destructor only flag. More... | |
static Bool_t | GetObjectStat () |
Get status of object stat flag. More... | |
static void | SetObjectStat (Bool_t stat) |
Turn on/off tracking of objects in the TObjectTable. More... | |
#include <RooLinkedList.h>
|
private |
memory pool for quick allocation of RooLinkedListElems
Definition at line 124 of file RooLinkedList.h.
RooLinkedList::RooLinkedList | ( | Int_t | htsize = 0 | ) |
Definition at line 257 of file RooLinkedList.cxx.
Referenced by Clone().
RooLinkedList::RooLinkedList | ( | const RooLinkedList & | other | ) |
Copy constructor.
Definition at line 267 of file RooLinkedList.cxx.
|
virtual |
Destructor.
Definition at line 361 of file RooLinkedList.cxx.
Reimplemented in RooRefCountList.
Definition at line 62 of file RooLinkedList.h.
Referenced by RooRefCountList::Add(), RooHashTable::add(), Add(), RooAbsCollection::add(), RooCmdArg::addArg(), RooAbsCollection::addClone(), RooNumGenConfig::addConfigSection(), RooNumIntConfig::addConfigSection(), RooAbsCollection::addOwned(), RooAbsCollection::addServerClonesToList(), RooMsgService::addStream(), RooWorkspace::addStudy(), RooCategory::addToRange(), RooAbsReal::chi2FitTo(), RooNameReg::constPtr(), RooTrace::create2(), RooAbsReal::createChi2(), RooAbsPdf::createChi2(), RooAbsRealLValue::createHistogram(), RooAbsData::createHistogram(), RooAbsReal::createHistogram(), RooStats::HistFactory::HistFactorySimultaneous::createNLL(), RooAbsPdf::createNLL(), RooFormula::DefinedVariable(), RooMCStudy::doFit(), RooProdPdf::factorizeProduct(), RooCmdConfig::filterCmdList(), RooAbsArg::findConstantNodes(), RooAbsPdf::fitTo(), RooAbsRealLValue::frame(), RooLinearVar::getBinning(), RooRealVar::getBinning(), RooErrorVar::getBinning(), RooAbsArg::getCloningAncestors(), RooProdPdf::getPartIntList(), RooProdPdf::groupProductTerms(), RooWorkspace::import(), RooProdPdf::initializeFromCmdArgList(), RooMCStudy::makeFrameAndPlotCmd(), RooNumIntConfig::operator=(), RooNumGenConfig::operator=(), RooCmdArg::operator=(), operator=(), RooAbsArg::optimizeCacheMode(), RooAbsPdf::paramOn(), RooSimultaneous::plotOn(), RooAbsData::plotOn(), RooAbsPdf::plotOn(), RooAbsReal::plotOn(), RooAbsReal::plotOnWithErrorBand(), RooDataSet::plotOnXY(), RooMCStudy::plotParam(), RooMCStudy::plotPull(), RooAbsCollection::printLatex(), RooFactoryWSTool::prod(), RooAbsPdf::randomizeProtoOrder(), RooAbsArg::redirectServers(), RooCategorySharedProperties::RooCategorySharedProperties(), RooCmdArg::RooCmdArg(), RooDataHist::RooDataHist(), RooDataSet::RooDataSet(), 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().
Insert object into collection with given reference count value.
Reimplemented in RooRefCountList.
Definition at line 402 of file RooLinkedList.cxx.
Return object stored in sequential position given by index.
If index is out of range, a null pointer is returned.
Definition at line 473 of file RooLinkedList.cxx.
Referenced by RooFormula::actualDependents(), RooAbsCollection::add(), RooAbsCollection::addClone(), RooAbsCollection::addOwned(), RooArgList::at(), RooFormula::changeDependents(), RooFormula::DefinedValue(), RooFormula::DefinedVariable(), RooFormula::dump(), RooTrace::dump3(), RooGenFitStudy::execute(), RooProdPdf::findPdfNSet(), RooAbsArg::findServer(), RooFormula::getParameter(), RooProdPdf::getPartIntList(), RooProdPdf::groupProductTerms(), RooGenFitStudy::initialize(), RooTObjWrap::obj(), RooCmdArg::operator=(), RooAbsCollection::printLatex(), RooCmdConfig::process(), RooAbsPdf::randomizeProtoOrder(), RooProdPdf::redirectServersHook(), RooAbsCollection::remove(), RooCmdArg::RooCmdArg(), and RooMCStudy::RooMCStudy().
Remove all elements from collection.
Reimplemented from TObject.
Definition at line 532 of file RooLinkedList.cxx.
Referenced by operator=(), RooFormula::reCompile(), RooAbsCollection::removeAll(), RooTObjWrap::setObj(), and ~RooLinkedList().
|
inlinevirtual |
Make a clone of an object using the Streamer facility.
If the object derives from TNamed, this function is called by TNamed::Clone. TNamed::Clone uses the optional argument to set a new name to the newly created object.
If the object class has a DirectoryAutoAdd function, it will be called at the end of the function with the parameter gDirectory. This usually means that the object will be appended to the current ROOT directory.
Reimplemented from TObject.
Definition at line 43 of file RooLinkedList.h.
|
protected |
cout << "RooLinkedList::createElem(" << this << ") obj = " << obj << " elem = " << elem << endl ;
Definition at line 284 of file RooLinkedList.cxx.
Referenced by Add().
Remove all elements in collection and delete all elements NB: Collection does not own elements, this function should be used judiciously by caller.
Reimplemented from TObject.
Definition at line 559 of file RooLinkedList.cxx.
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(), RooProdPdf::CacheElem::~CacheElem(), 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().
|
protected |
Definition at line 293 of file RooLinkedList.cxx.
TObject * RooLinkedList::find | ( | const char * | name | ) | const |
Return pointer to object with given name in collection.
If no such object is found, return null pointer.
Definition at line 588 of file RooLinkedList.cxx.
Referenced by RooAbsData::createHistogram(), RooHashTable::find(), RooAbsCollection::find(), FindObject(), RooWorkspace::getSnapshot(), RooWorkspace::loadSnapshot(), and RooSimultaneous::plotOn().
Return pointer to object with given name in collection.
If no such object is found, return null pointer.
Definition at line 644 of file RooLinkedList.cxx.
Referenced by RooAbsArg::changeServer(), RooAbsCollection::find(), RooHashTable::findArg(), RooAbsArg::findConstantNodes(), RooAbsArg::findServer(), RooAbsArg::isShapeServer(), RooAbsArg::isValueServer(), RooAbsArg::optimizeCacheMode(), RooAbsArg::printMultiline(), RooAbsArg::redirectServers(), RooAbsArg::RooAbsArg(), and RooAbsArg::treeNodeServerList().
|
protected |
Find the element link containing the given object.
Definition at line 382 of file RooLinkedList.cxx.
Referenced by RooRefCountList::Add(), FindObject(), RooRefCountList::refCount(), RooRefCountList::Remove(), Remove(), and Replace().
|
virtual |
Return pointer to obejct with given name.
If no such object is found return a null pointer
Reimplemented from TObject.
Definition at line 514 of file RooLinkedList.cxx.
Referenced by RooRefCountList::Add(), RooCategory::addToRange(), RooCategory::clearRange(), RooAbsCollection::containsInstance(), RooWorkspace::data(), RooFormula::DefinedVariable(), RooWorkspace::embeddedData(), RooCmdConfig::filterCmdList(), RooAbsArg::findServer(), RooMCStudy::fitSample(), RooWorkspace::genobj(), RooLinearVar::getBinning(), RooErrorVar::getBinning(), RooRealVar::getBinning(), RooNumGenConfig::getConfigSection(), RooNumIntConfig::getConfigSection(), RooFormula::getParameter(), RooRealVar::hasBinning(), RooErrorVar::hasBinning(), RooCategory::hasRange(), RooWorkspace::import(), RooAbsArg::isShapeServer(), RooCategory::isStateInRange(), RooAbsArg::isValueServer(), RooMCStudy::makeFrameAndPlotCmd(), RooAbsPdf::paramOn(), RooAbsPdf::plotOn(), RooAbsReal::plotOn(), RooAbsCollection::printLatex(), RooAbsCollection::remove(), RooAbsCollection::replace(), RooMCStudy::RooMCStudy(), RooWorkspace::saveSnapshot(), RooRealVar::setBinning(), RooErrorVar::setBinning(), RooRealVar::setRange(), RooErrorVar::setRange(), RooAbsData::statOn(), and RooCmdConfig::stripCmdList().
Find object in list.
If list contains object return (same) pointer to object, otherwise return null pointer
Reimplemented from TObject.
Definition at line 523 of file RooLinkedList.cxx.
|
inline |
Definition at line 78 of file RooLinkedList.h.
Referenced by RooAbsCollection::first(), RooAbsArg::redirectServers(), and RooAbsArg::~RooAbsArg().
RooFIter RooLinkedList::fwdIterator | ( | ) | const |
Definition at line 720 of file RooLinkedList.cxx.
Referenced by RooAbsCollection::allInRange(), RooAbsCollection::assignFast(), RooAbsCollection::assignValueOnly(), RooProdPdf::calculate(), RooProdPdf::factorizeProduct(), RooHashTable::findLinkTo(), RooLinearVar::getBinningNames(), RooRealVar::getBinningNames(), RooErrorVar::getBinningNames(), RooProdPdf::getPartIntList(), RooProdPdf::groupProductTerms(), RooProdPdf::initializeFromCmdArgList(), RooAbsCollection::operator=(), RooAbsReal::plotOnWithErrorBand(), RooAbsCollection::printLatex(), RooProdPdf::printMetaArgs(), RooAbsArg::printMultiline(), RooProdPdf::rearrangeProduct(), RooAbsArg::redirectServers(), RooAbsArg::RooAbsArg(), RooProdPdf::RooProdPdf(), RooAbsCollection::safeDeleteList(), RooAbsArg::serverMIterator(), RooAbsArg::setShapeDirty(), RooAbsArg::setValueDirty(), RooAbsArg::shapeClientMIterator(), RooAbsArg::valueClientMIterator(), and RooAbsArg::~RooAbsArg().
|
inline |
Definition at line 50 of file RooLinkedList.h.
Referenced by RooAbsArg::addServer(), and RooAbsCollection::getHashTableSize().
|
inlinevirtual |
Returns name of object.
This default method returns the class name. Classes that give objects a name should override this method.
Reimplemented from TObject.
Definition at line 87 of file RooLinkedList.h.
Referenced by RooAbsStudy::aggregateSummaryOutput(), and RooStudyPackage::exportData().
|
inline |
Definition at line 60 of file RooLinkedList.h.
Referenced by RooFormula::actualDependents(), RooAbsArg::addServer(), RooHashTable::avgCollisions(), RooFormula::changeDependents(), RooFormula::DefinedValue(), RooFormula::DefinedVariable(), RooMCStudy::doFit(), RooFormula::dump(), RooTrace::dump3(), RooStudyPackage::exportData(), RooHashTable::findSetPair(), RooMCStudy::fitSample(), RooProdPdf::getPartIntList(), RooAbsCollection::getSize(), RooAbsArg::hasClients(), RooRealVar::isDerived(), RooCmdArg::operator=(), RooWorkspace::Print(), RooAbsArg::printCompactTree(), RooAbsCollection::printLatex(), RooCmdConfig::process(), RooCmdArg::RooCmdArg(), RooDataHist::RooDataHist(), RooMCStudy::RooMCStudy(), RooProdGenContext::RooProdGenContext(), RooAbsCollection::safeDeleteList(), RooRealIntegral::servesExclusively(), RooAbsArg::setShapeDirty(), RooAbsArg::setValueDirty(), RooAbsStudy::storeDetailedOutput(), and RooAbsArg::~RooAbsArg().
|
inlinevirtual |
Return hash value for this object.
Reimplemented from TObject.
Definition at line 93 of file RooLinkedList.h.
Int_t RooLinkedList::IndexOf | ( | const char * | name | ) | const |
Return position of given object in list.
If object is not contained in list, return -1
Definition at line 685 of file RooLinkedList.cxx.
Referenced by RooTrace::dump3(), RooProdPdf::getPartIntList(), RooProdPdf::groupProductTerms(), and RooArgList::index().
Return position of given object in list.
If object is not contained in list, return -1
Definition at line 669 of file RooLinkedList.cxx.
RooLinkedListIter RooLinkedList::iterator | ( | Bool_t | dir = kTRUE | ) | const |
Definition at line 713 of file RooLinkedList.cxx.
Referenced by RooFormula::DefinedVariable(), and RooAbsCollection::iterator().
Return an iterator over this list.
Definition at line 728 of file RooLinkedList.cxx.
Referenced by RooAbsStudy::aggregateSummaryOutput(), RooWorkspace::allData(), RooWorkspace::allEmbeddedData(), RooWorkspace::allGenericObjects(), RooFormula::changeDependents(), RooAbsArg::clientIterator(), RooAbsReal::createChi2(), RooAbsCollection::createIterator(), RooStudyPackage::exportData(), RooWorkspace::exportToCint(), RooNumGenConfig::operator=(), RooNumIntConfig::operator=(), RooSimultaneous::plotOn(), RooAbsReal::plotOn(), RooWorkspace::Print(), RooNumGenConfig::printMultiline(), RooNumIntConfig::printMultiline(), RooCmdConfig::process(), RooAbsArg::RooAbsArg(), RooCategorySharedProperties::RooCategorySharedProperties(), RooDataHist::RooDataHist(), RooDataSet::RooDataSet(), RooErrorVar::RooErrorVar(), RooFormula::RooFormula(), RooGenFitStudy::RooGenFitStudy(), RooNumGenConfig::RooNumGenConfig(), RooNumIntConfig::RooNumIntConfig(), RooProdGenContext::RooProdGenContext(), RooRealVar::RooRealVar(), RooWorkspace::RooWorkspace(), RooAbsArg::serverIterator(), RooAbsArg::shapeClientIterator(), RooWorkspace::studyIterator(), and RooAbsArg::valueClientIterator().
|
staticprivate |
length 0, 1 lists are sorted
Definition at line 745 of file RooLinkedList.cxx.
RooLinkedList & RooLinkedList::operator= | ( | const RooLinkedList & | other | ) |
Assignment operator, copy contents from 'other'.
Definition at line 303 of file RooLinkedList.cxx.
|
virtual |
Print contents of list, defers to Print() function of contained objects.
Reimplemented from TObject.
Definition at line 701 of file RooLinkedList.cxx.
Remove object from collection.
Reimplemented in RooRefCountList.
Definition at line 445 of file RooLinkedList.cxx.
Referenced by RooTrace::destroy2(), RooCmdConfig::filterCmdList(), RooProdPdf::groupProductTerms(), RooAbsPdf::randomizeProtoOrder(), RooProdPdf::redirectServersHook(), RooRefCountList::Remove(), RooAbsCollection::remove(), RooRefCountList::RemoveAll(), RooProdGenContext::RooProdGenContext(), RooAbsCollection::safeDeleteList(), RooWorkspace::saveSnapshot(), RooRealVar::setBinning(), RooErrorVar::setBinning(), and RooCmdConfig::stripCmdList().
Replace object 'oldArg' in collection with new object 'newArg'.
If 'oldArg' is not found in collection kFALSE is returned
Definition at line 491 of file RooLinkedList.cxx.
Referenced by RooFormula::changeDependents(), RooAbsData::createHistogram(), RooWorkspace::import(), RooHashTable::replace(), and RooAbsCollection::replace().
Change the threshold for hash-table use to given size.
If a hash table exists when this method is called, it is regenerated.
Definition at line 322 of file RooLinkedList.cxx.
Referenced by Add(), RooAbsArg::addServer(), and RooAbsCollection::setHashTableSize().
|
inline |
Definition at line 88 of file RooLinkedList.h.
Referenced by RooStudyPackage::exportData(), and RooAbsStudy::storeDetailedOutput().
Definition at line 735 of file RooLinkedList.cxx.
Referenced by RooArgList::sort(), and RooAbsCollection::sort().
Definition at line 90 of file RooLinkedList.h.
Referenced by RooHashTable::add().
|
friend |
Definition at line 103 of file RooLinkedList.h.
Referenced by fwdIterator().
|
friend |
Definition at line 102 of file RooLinkedList.h.
Referenced by iterator(), and MakeIterator().
|
protected |
Definition at line 111 of file RooLinkedList.h.
Referenced by Add(), At(), Clear(), Delete(), find(), findArg(), findLink(), First(), IndexOf(), operator=(), Print(), Remove(), RooLinkedListIter::Reset(), RooLinkedList(), setHashTableSize(), and Sort().
|
protected |
Definition at line 109 of file RooLinkedList.h.
Referenced by Add().
|
protected |
Hash table by name.
Definition at line 114 of file RooLinkedList.h.
Referenced by Add(), Clear(), Delete(), findLink(), Remove(), Replace(), RooLinkedList(), setHashTableSize(), and ~RooLinkedList().
|
protected |
Link to last element of list.
Definition at line 113 of file RooLinkedList.h.
Referenced by Add(), Clear(), Delete(), find(), findArg(), getHashTableSize(), Remove(), Replace(), RooLinkedList(), setHashTableSize(), and ~RooLinkedList().
|
protected |
Link to first element of list.
Definition at line 112 of file RooLinkedList.h.
Referenced by Add(), Clear(), Delete(), Remove(), RooLinkedListIter::Reset(), and Sort().
|
protected |
Hash table by link pointer.
Definition at line 116 of file RooLinkedList.h.
|
staticprivate |
shared memory pool for allocation of RooLinkedListElems
Definition at line 126 of file RooLinkedList.h.
Referenced by createElement(), deleteElement(), RooLinkedList(), and ~RooLinkedList().
|
protected |
|
protected |
Definition at line 117 of file RooLinkedList.h.