ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
RooAbsCollection Class Referenceabstract

RooAbsCollection is an abstract container object that can hold multiple RooAbsArg objects.

Collections are ordered and can contain multiple objects of the same name, (but a derived implementation can enforce unique names). The storage of objects in implement through class RooLinkedList, a doubly linked list with an an optional hash-table lookup mechanism for fast indexing of large collections.

Definition at line 27 of file RooAbsCollection.h.

Public Member Functions

 RooAbsCollection ()
 Default constructor. More...
 
 RooAbsCollection (const char *name)
 Empty collection constructor. More...
 
virtual TObjectclone (const char *newname) const =0
 
virtual TObjectcreate (const char *newname) const =0
 
virtual TObjectClone (const char *newname=0) const
 Make a clone of an object using the Streamer facility. More...
 
virtual ~RooAbsCollection ()
 Destructor. More...
 
 RooAbsCollection (const RooAbsCollection &other, const char *name="")
 Copy constructor. More...
 
RooAbsCollectionoperator= (const RooAbsCollection &other)
 The assignment operator sets the value of any argument in our set that also appears in the other set. More...
 
RooAbsCollectionassignValueOnly (const RooAbsCollection &other, Bool_t oneSafe=kFALSE)
 The assignment operator sets the value of any argument in our set that also appears in the other set. More...
 
void assignFast (const RooAbsCollection &other, Bool_t setValDirty=kTRUE)
 Functional equivalent of operator=() but assumes this and other collection have same layout. More...
 
RooAbsCollectionsnapshot (Bool_t deepCopy=kTRUE) const
 Take a snap shot of current collection contents: An owning collection is returned containing clones of. More...
 
Bool_t snapshot (RooAbsCollection &output, Bool_t deepCopy=kTRUE) const
 Take a snap shot of current collection contents: An owning collection is returned containing clones of. More...
 
void setHashTableSize (Int_t i)
 
Int_t getHashTableSize () const
 
virtual Bool_t add (const RooAbsArg &var, Bool_t silent=kFALSE)
 Add the specified argument to list. More...
 
virtual Bool_t addOwned (RooAbsArg &var, Bool_t silent=kFALSE)
 Add the specified argument to list. More...
 
virtual RooAbsArgaddClone (const RooAbsArg &var, Bool_t silent=kFALSE)
 Add a clone of the specified argument to list. More...
 
virtual Bool_t replace (const RooAbsArg &var1, const RooAbsArg &var2)
 Replace var1 with var2 and return kTRUE for success. More...
 
virtual Bool_t remove (const RooAbsArg &var, Bool_t silent=kFALSE, Bool_t matchByNameOnly=kFALSE)
 Remove the specified argument from our list. More...
 
virtual void removeAll ()
 Remove all arguments from our set, deleting them if we own them. More...
 
virtual Bool_t add (const RooAbsCollection &list, Bool_t silent=kFALSE)
 Add a collection of arguments to this collection by calling add() for each element in the source collection. More...
 
virtual Bool_t addOwned (const RooAbsCollection &list, Bool_t silent=kFALSE)
 Add a collection of arguments to this collection by calling addOwned() for each element in the source collection. More...
 
virtual void addClone (const RooAbsCollection &list, Bool_t silent=kFALSE)
 Add a collection of arguments to this collection by calling addOwned() for each element in the source collection. More...
 
Bool_t replace (const RooAbsCollection &other)
 Replace any args in our set with args of the same name from the other set and return kTRUE for success. More...
 
Bool_t remove (const RooAbsCollection &list, Bool_t silent=kFALSE, Bool_t matchByNameOnly=kFALSE)
 Remove each argument in the input list from our list using remove(const RooAbsArg&). More...
 
void setAttribAll (const Text_t *name, Bool_t value=kTRUE)
 Set given attribute in each element of the collection by calling each elements setAttribute() function. More...
 
RooAbsArgfind (const char *name) const
 Find object with given name in list. More...
 
RooAbsArgfind (const RooAbsArg &) const
 Find object with given name in list. More...
 
Bool_t contains (const RooAbsArg &var) const
 
Bool_t containsInstance (const RooAbsArg &var) const
 
RooAbsCollectionselectByAttrib (const char *name, Bool_t value) const
 Create a subset of the current collection, consisting only of those elements with the specified attribute set. More...
 
RooAbsCollectionselectCommon (const RooAbsCollection &refColl) const
 Create a subset of the current collection, consisting only of those elements that are contained as well in the given reference collection. More...
 
RooAbsCollectionselectByName (const char *nameList, Bool_t verbose=kFALSE) const
 Create a subset of the current collection, consisting only of those elements with names matching the wildcard expressions in nameList, supplied as a comma separated list. More...
 
Bool_t equals (const RooAbsCollection &otherColl) const
 Check if this and other collection have identically named contents. More...
 
Bool_t overlaps (const RooAbsCollection &otherColl) const
 Check if this and other collection have common entries. More...
 
TIteratorcreateIterator (Bool_t dir=kIterForward) const
 
RooLinkedListIter iterator (Bool_t dir=kIterForward) const
 
RooFIter fwdIterator () const
 
Int_t getSize () const
 
RooAbsArgfirst () const
 
virtual void Print (Option_t *options=0) const
 This method must be overridden when a class wants to print itself. More...
 
std::string contentsString () const
 Return comma separated list of contained object names as STL string. More...
 
virtual void printName (std::ostream &os) const
 Return collection name. More...
 
virtual void printTitle (std::ostream &os) const
 Return collection title. More...
 
virtual void printClassName (std::ostream &os) const
 Return collection class name. More...
 
virtual void printValue (std::ostream &os) const
 Print value of collection, i.e. More...
 
virtual void printMultiline (std::ostream &os, Int_t contents, Bool_t verbose=kFALSE, TString indent="") const
 Implement multiline printin of collection, one line for each ontained object showing the requested content. More...
 
virtual Int_t defaultPrintContents (Option_t *opt) const
 Define default RooPrinable print options for given Print() flag string For inline printing only show value of objects, for default print show name,class name value and extras of each object. More...
 
void printLatex (const RooCmdArg &arg1=RooCmdArg(), const RooCmdArg &arg2=RooCmdArg(), const RooCmdArg &arg3=RooCmdArg(), const RooCmdArg &arg4=RooCmdArg(), const RooCmdArg &arg5=RooCmdArg(), const RooCmdArg &arg6=RooCmdArg(), const RooCmdArg &arg7=RooCmdArg(), const RooCmdArg &arg8=RooCmdArg()) const
 Output content of collection as LaTex table. More...
 
void printLatex (std::ostream &ofs, Int_t ncol, const char *option="NEYU", Int_t sigDigit=1, const RooLinkedList &siblingLists=RooLinkedList(), const RooCmdArg *formatCmd=0) const
 Internal implementation function of printLatex. More...
 
void setName (const char *name)
 
const char * GetName () const
 Returns name of object. More...
 
Bool_t isOwning () const
 
Bool_t allInRange (const char *rangeSpec) const
 Return true if all contained object report to have their value inside the specified range. More...
 
void dump () const
 Base contents dumper for debugging purposes. More...
 
void releaseOwnership ()
 
void takeOwnership ()
 
void sort (Bool_t ascend=kTRUE)
 
- Public Member Functions inherited from TObject
 TObject ()
 
 TObject (const TObject &object)
 TObject copy ctor. More...
 
TObjectoperator= (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 void Clear (Option_t *="")
 
virtual Int_t Compare (const TObject *obj) const
 Compare abstract method. More...
 
virtual void Copy (TObject &object) const
 Copy this to obj. More...
 
virtual void Delete (Option_t *option="")
 Delete this object. 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 TObjectDrawClone (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 TObjectFindObject (const char *name) const
 Must be redefined in derived classes. More...
 
virtual TObjectFindObject (const TObject *obj) const
 Must be redefined in derived classes. More...
 
virtual Option_tGetDrawOption () 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_tGetOption () 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 ULong_t Hash () const
 Return hash value for this object. 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...
 
voidoperator new (size_t sz)
 
voidoperator new[] (size_t sz)
 
voidoperator new (size_t sz, void *vp)
 
voidoperator 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...
 
- Public Member Functions inherited from RooPrintable
 RooPrintable ()
 
virtual ~RooPrintable ()
 
virtual void printStream (std::ostream &os, Int_t contents, StyleOption style, TString indent="") const
 Print description of object on ostream, printing contents set by contents integer, which is interpreted as an OR of 'enum ContentsOptions' values and in the style given by 'enum StyleOption'. More...
 
virtual void printAddress (std::ostream &os) const
 Print class name of object. More...
 
virtual void printArgs (std::ostream &os) const
 Interface for printing of object arguments. More...
 
virtual void printExtras (std::ostream &os) const
 Interface to print extras of object. More...
 
virtual void printTree (std::ostream &os, TString indent="") const
 Interface for tree structure printing of object. More...
 
virtual StyleOption defaultPrintStyle (Option_t *opt) const
 

Protected Member Functions

void safeDeleteList ()
 Examine client server dependencies in list and delete contents in safe order: any client is deleted before a server is deleted. More...
 
Bool_t addServerClonesToList (const RooAbsArg &var)
 Add clones of servers of given argument to list. More...
 
TNamedstructureTag ()
 
TNamedtypedStructureTag ()
 
void clearStructureTags ()
 Typed structure tag. More...
 
void makeStructureTag ()
 
void makeTypedStructureTag ()
 
- 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

RooLinkedList _list
 
Bool_t _ownCont
 
TString _name
 
Bool_t _allRRV
 
TNamed_structureTag
 
TNamed_typedStructureTag
 Structure tag. More...
 

Friends

class RooMultiCatIter
 

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) }
 
- Public Types inherited from RooPrintable
enum  ContentsOption {
  kName =1, kClassName =2, kValue =4, kArgs =8,
  kExtras =16, kAddress =32, kTitle =64, kCollectionHeader =128
}
 
enum  StyleOption {
  kInline =1, kSingleLine =2, kStandard =3, kVerbose =4,
  kTreeStructure =5
}
 
- 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...
 
- Static Public Member Functions inherited from RooPrintable
static std::ostream & defaultPrintStream (std::ostream *os=0)
 Return a reference to the current default stream to use in Print(). More...
 
static void nameFieldLength (Int_t newLen)
 Set length of field reserved from printing name of RooAbsArgs in multi-line collection printing to given amount. More...
 
- Static Protected Attributes inherited from RooPrintable
static Int_t _nameLength
 

#include <RooAbsCollection.h>

Inheritance diagram for RooAbsCollection:
[legend]

Constructor & Destructor Documentation

RooAbsCollection::RooAbsCollection ( )

Default constructor.

Definition at line 67 of file RooAbsCollection.cxx.

RooAbsCollection::RooAbsCollection ( const char *  name)

Empty collection constructor.

Definition at line 80 of file RooAbsCollection.cxx.

RooAbsCollection::~RooAbsCollection ( )
virtual

Destructor.

Definition at line 119 of file RooAbsCollection.cxx.

RooAbsCollection::RooAbsCollection ( const RooAbsCollection other,
const char *  name = "" 
)

Copy constructor.

Note that a copy of a collection is always non-owning, even the source collection is owning. To create an owning copy of a collection (owning or not), use the snaphot() method.

Definition at line 95 of file RooAbsCollection.cxx.

Member Function Documentation

Bool_t RooAbsCollection::add ( const RooAbsArg var,
Bool_t  silent = kFALSE 
)
virtual

Add the specified argument to list.

Returns kTRUE if successful, or else kFALSE if a variable of the same name is already in the list or the list owns its variables (in this case, try addClone() or addOwned() instead).

Reimplemented in RooArgSet, RooSetProxy, and RooListProxy.

Definition at line 454 of file RooAbsCollection.cxx.

Referenced by RooListProxy::add(), RooSetProxy::add(), RooFactoryWSTool::add(), add(), RooArgSet::add(), RooFactoryWSTool::addfunc(), RooStats::SPlot::AddSWeight(), RooFactoryWSTool::amplAdd(), RooFactoryWSTool::asLIST(), RooSimPdfBuilder::buildPdf(), RooVectorDataStore::cacheArgs(), RooMomentMorph::CacheElem::CacheElem(), RooAbsAnaConvPdf::changeModel(), ClassImp(), RooProduct::components(), RooStats::BayesianCalculator::ComputeIntervalFromCdf(), RooFitResult::conditionalCovarianceMatrix(), RooNumRunningInt::RICacheElem::containedArgs(), RooIntegralMorph::MorphCacheElem::containedArgs(), RooAbsCachedReal::FuncCacheElem::containedArgs(), RooEffProd::CacheElem::containedArgs(), PiecewiseInterpolation::CacheElem::containedArgs(), RooAbsCachedPdf::PdfCacheElem::containedArgs(), ParamHistFunc::CacheElem::containedArgs(), RooRealSumPdf::CacheElem::containedArgs(), RooFFTConvPdf::FFTCacheElem::containedArgs(), RooAbsAnaConvPdf::CacheElem::containedArgs(), RooAddModel::CacheElem::containedArgs(), RooAddPdf::CacheElem::containedArgs(), RooProdPdf::CacheElem::containedArgs(), RooAddModel::convolution(), RooAbsData::corrcovMatrix(), RooClassFactory::ClassFacIFace::create(), RooAbsPdf::createChi2(), RooFitResult::createHessePdf(), RooAbsRealLValue::createHistogram(), RooAbsData::createHistogram(), RooAbsReal::createHistogram(), RooAbsReal::createIntRI(), RooAbsPdf::createNLL(), ParamHistFunc::createParamSet(), RooStats::ProposalHelper::CreatePdf(), RooStats::BernsteinCorrection::CreateQSamplingDist(), RooAbsAnaConvPdf::declareBasis(), RooStats::HistFactory::FactorizeHistFactoryPdf(), RooStats::FactorizePdf(), RooStats::MarkovChain::GetAsSparseHist(), RooMomentMorph::getCache(), RooProduct::getPartIntList(), RooProdPdf::getPartIntList(), RooAbsReal::getPropagatedError(), RooStats::ProposalHelper::GetProposalFunction(), RooStats::HLFactory::GetTotBkgPdf(), RooStats::HLFactory::GetTotSigBkgPdf(), RooProduct::groupProductTerms(), RooStats::BernsteinCorrection::ImportCorrectedPdf(), RooStats::AsymptoticCalculator::MakeAsimovData(), MultivariateGaussianTest(), RooSimultaneous::plotOn(), printLatex(), RooDataSet::read(), RooAbsArg::redirectServers(), RooFitResult::reducedCovarianceMatrix(), RooAbsCollection(), RooAddPdf::RooAddPdf(), RooArgList::RooArgList(), RooFunctor::RooFunctor(), RooStats::HybridCalculatorOriginal::RunToys(), RooMinuit::save(), RooMinimizer::save(), selectByAttrib(), selectByName(), selectCommon(), snapshot(), RooStats::StripConstraints(), RooMinimizerFcn::Synchronize(), and RooAbsArg::treeNodeServerList().

Bool_t RooAbsCollection::add ( const RooAbsCollection list,
Bool_t  silent = kFALSE 
)
virtual

Add a collection of arguments to this collection by calling add() for each element in the source collection.

Reimplemented in RooSetProxy, and RooListProxy.

Definition at line 476 of file RooAbsCollection.cxx.

RooAbsArg * RooAbsCollection::addClone ( const RooAbsArg var,
Bool_t  silent = kFALSE 
)
virtual

Add a clone of the specified argument to list.

Returns a pointer to the clone if successful, or else zero if a variable of the same name is already in the list or the list does not own its variables (in this case, try add() instead.) Calling addClone() on an empty list forces it to take ownership of all its subsequent variables.

Reimplemented in RooArgSet, and RooSetProxy.

Definition at line 428 of file RooAbsCollection.cxx.

Referenced by RooSetProxy::addClone(), addClone(), RooArgSet::addClone(), RooStats::ProfileLikelihoodCalculator::GetHypoTest(), RooRealMPFE::initVars(), RooStats::SPlot::SPlot(), and RooMinimizerFcn::Synchronize().

void RooAbsCollection::addClone ( const RooAbsCollection list,
Bool_t  silent = kFALSE 
)
virtual

Add a collection of arguments to this collection by calling addOwned() for each element in the source collection.

Reimplemented in RooSetProxy.

Definition at line 512 of file RooAbsCollection.cxx.

Bool_t RooAbsCollection::addOwned ( RooAbsArg var,
Bool_t  silent = kFALSE 
)
virtual
Bool_t RooAbsCollection::addOwned ( const RooAbsCollection list,
Bool_t  silent = kFALSE 
)
virtual

Add a collection of arguments to this collection by calling addOwned() for each element in the source collection.

Reimplemented in RooSetProxy, and RooListProxy.

Definition at line 494 of file RooAbsCollection.cxx.

Bool_t RooAbsCollection::addServerClonesToList ( const RooAbsArg var)
protected

Add clones of servers of given argument to list.

Definition at line 281 of file RooAbsCollection.cxx.

Referenced by snapshot().

Bool_t RooAbsCollection::allInRange ( const char *  rangeSpec) const

Return true if all contained object report to have their value inside the specified range.

Definition at line 1180 of file RooAbsCollection.cxx.

Referenced by RooAbsData::corrcov(), RooAbsData::corrcovMatrix(), RooAbsData::moment(), RooDataSet::sumEntries(), and RooDataHist::sumEntries().

void RooAbsCollection::assignFast ( const RooAbsCollection other,
Bool_t  setValDirty = kTRUE 
)

Functional equivalent of operator=() but assumes this and other collection have same layout.

Also no attributes are copied

Definition at line 359 of file RooAbsCollection.cxx.

Referenced by RooDataSet::addFast(), RooDataHist::getIndex(), and RooStats::ModelConfig::GetSnapshot().

RooAbsCollection & RooAbsCollection::assignValueOnly ( const RooAbsCollection other,
Bool_t  oneSafe = kFALSE 
)

The assignment operator sets the value of any argument in our set that also appears in the other set.

Definition at line 331 of file RooAbsCollection.cxx.

Referenced by RooCompositeDataStore::fill(), RooGenContext::generateEvent(), RooDataHist::getIndex(), RooTreeDataStore::loadValues(), RooVectorDataStore::loadValues(), and RooDataHist::weight().

void RooAbsCollection::clearStructureTags ( )
inlineprotected

Typed structure tag.

Definition at line 181 of file RooAbsCollection.h.

virtual TObject* RooAbsCollection::clone ( const char *  newname) const
pure virtual

Implemented in RooArgSet, and RooArgList.

Referenced by Clone().

virtual TObject* RooAbsCollection::Clone ( const char *  newname = 0) const
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 35 of file RooAbsCollection.h.

Referenced by RooSimultaneous::plotOn(), and RooAbsReal::plotOn().

Bool_t RooAbsCollection::contains ( const RooAbsArg var) const
inline
Bool_t RooAbsCollection::containsInstance ( const RooAbsArg var) const
inline

Definition at line 87 of file RooAbsCollection.h.

string RooAbsCollection::contentsString ( ) const

Return comma separated list of contained object names as STL string.

Definition at line 835 of file RooAbsCollection.cxx.

Referenced by RooAbsReal::createIntObj(), RooAbsReal::plotAsymOn(), RooAbsPdf::plotOn(), RooAbsReal::plotOn(), and RooAbsPdf::syncNormalization().

virtual TObject* RooAbsCollection::create ( const char *  newname) const
pure virtual

Implemented in RooArgSet, and RooArgList.

Referenced by selectByAttrib(), selectByName(), selectCommon(), and snapshot().

TIterator* RooAbsCollection::createIterator ( Bool_t  dir = kIterForward) const
inline

Definition at line 98 of file RooAbsCollection.h.

Referenced by RooStats::HistFactory::HistFactoryNavigation::_GetAllProducts(), RooStats::HistFactory::HistFactoryNavigation::_GetNodes(), RooFFTConvPdf::actualObservables(), RooTreeDataStore::addColumns(), RooVectorDataStore::addColumns(), RooWorkspace::allCatFunctions(), RooWorkspace::allCats(), RooWorkspace::allFunctions(), RooWorkspace::allPdfs(), RooWorkspace::allResolutionModels(), RooWorkspace::allVars(), RooAddition::analyticalIntegral(), RooHistFunc::analyticalIntegral(), RooAddModel::analyticalIntegralWN(), RooAbsCachedPdf::analyticalIntegralWN(), RooStats::DetailedOutputAggregator::AppendArgSet(), RooTreeDataStore::attachCache(), RooRealIntegral::autoSelectDirtyMode(), RooAddModel::basisCode(), RooSimPdfBuilder::buildPdf(), RooVectorDataStore::cacheArgs(), RooTreeDataStore::cacheArgs(), RooAbsCachedReal::cacheNameSuffix(), RooAbsCachedPdf::cacheNameSuffix(), RooDataHist::cacheValidEntries(), RooMCStudy::calcPulls(), RooWorkspace::cancelTransaction(), RooAbsAnaConvPdf::changeModel(), RooSetProxy::changePointer(), CheckInterpolation(), RooStats::ProposalFunction::CheckParameters(), ClassImp(), RooAbsAnaConvPdf::coefVars(), RooStats::DetailedOutputAggregator::CommitSet(), RooWorkspace::commitTransaction(), RooWorkspace::componentIterator(), RooFitResult::conditionalCovarianceMatrix(), RooAbsData::corrcovMatrix(), RooStats::CreateBranchStore(), RooFitResult::createHessePdf(), RooAbsReal::createHistogram(), RooAbsReal::createIntRI(), RooAbsPdf::createNLL(), RooStats::FeldmanCousins::CreateParameterPoints(), RooAbsReal::createPlotProjection(), RooAbsReal::createProfile(), RooAbsPdf::createProjection(), RooSimPdfBuilder::createProtoBuildConfig(), RooNumGenFactory::createSampler(), RooMultiCategory::currentLabel(), RooAddition::defaultErrorLevel(), RooFormulaVar::defaultErrorLevel(), RooWorkspace::defineSet(), RooCustomizer::doBuild(), RooMinimizerFcn::DoEval(), WrapperRooPdf::DoEvalPar(), WrapperRooPdf::DoSetParameters(), RooStats::PdfProposal::Equals(), RooProfileLL::evaluate(), RooStats::RatioOfProfiledLikelihoodsTestStat::Evaluate(), RooSimWSTool::executeBuild(), RooWorkspace::exportToCint(), RooFFTConvPdf::fillCacheObject(), RooAbsReal::fillHistogram(), RooFitResult::fillLegacyCorrMatrix(), RooStats::HistFactory::HistFactoryNavigation::findChild(), RooAbsCacheElement::findConstantNodes(), RooAbsReal::findInnerMostIntegration(), RooStats::HistFactory::FitModelAndPlot(), RooAbsPdf::fitTo(), RooAbsReal::fixAddCoefNormalization(), RooAbsReal::fixAddCoefRange(), RooStats::HistFactory::FlexibleInterpVar::FlexibleInterpVar(), RooAbsGenContext::generate(), RooStats::ConfidenceBelt::GetAcceptanceRegion(), RooAbsPdf::getAllConstraints(), RooHistFunc::getAnalyticalIntegral(), RooAddPdf::getAnalyticalIntegralWN(), RooAbsAnaConvPdf::getAnalyticalIntegralWN(), RooStats::DetailedOutputAggregator::GetAsArgSet(), RooStats::MarkovChain::GetAsSparseHist(), RooStats::HistFactory::getDataValuesForObservables(), RooStats::ProfileLikelihoodCalculator::GetHypoTest(), RooStats::NeymanConstruction::GetInterval(), RooStats::ProfileLikelihoodCalculator::GetInterval(), RooStats::ProfileInspector::GetListOfProfilePlots(), RooStats::HistFactory::RooBarlowBeestonLL::getParameters(), RooAddPdf::getProjCache(), RooStats::UniformProposal::GetProposalDensity(), RooStats::HistFactory::getStatUncertaintyConstraintTerm(), RooStats::HistFactory::getStatUncertaintyFromChannel(), RooStats::HistFactory::getSumPdfFromChannel(), RooWorkspace::import(), RooGenContext::initGenerator(), RooMultiCatIter::initialize(), RooXYChi2Var::initialize(), RooCustomizer::initialize(), RooTreeDataStore::initialize(), RooDataHist::initialize(), RooAbsReal::integralNameSuffix(), RooStats::PointSetInterval::IsInInterval(), RooArgSet::isInRange(), RooLinearVar::isJacobianOK(), RooFitResult::lastMinuitFit(), RooMinimizer::lastMinuitFit(), RooStats::HistFactory::LinInterpVar::LinInterpVar(), RooTreeDataStore::loadValues(), RooVectorDataStore::loadValues(), RooClassFactory::makeAndCompileFunction(), RooClassFactory::makeAndCompilePdf(), RooClassFactory::makeFunctionInstance(), RooGenProdProj::makeIntegral(), RooClassFactory::makePdfInstance(), RooAbsReal::makeProjectionSet(), RooSimWSTool::makeSplitName(), RooAbsReal::matchArgs(), RooExpensiveObjectCache::ExpensiveObject::matches(), RooMinuit::minos(), RooMinimizer::minos(), ModifyInterpolationForAll(), ModifyInterpolationForSet(), RooGenProdProj::operModeHook(), RooAbsCacheElement::optimizeCacheMode(), RooAbsOptTestStatistic::optimizeConstantTerms(), RooAbsData::optimizeReadingWithCaching(), WrapperRooPdf::ParameterName(), WrapperRooPdf::Parameters(), RooAbsPdf::paramOn(), RooStats::SimpleLikelihoodRatioTestStat::ParamsAreEqual(), RooAbsCachedPdf::PdfCacheElem::PdfCacheElem(), RooAbsReal::plotAsymOn(), RooSimultaneous::plotOn(), RooAbsPdf::plotOn(), RooAbsReal::plotOn(), RooAbsReal::plotOnCompSelect(), RooAbsReal::plotSliceOn(), RooSetProxy::print(), RooWorkspace::Print(), RooAbsGenContext::printArgs(), RooDataSet::printArgs(), RooStats::HistFactory::HistFactoryNavigation::PrintChannelParameters(), RooAbsAnaConvPdf::printMultiline(), RooStats::HistFactory::HistFactoryNavigation::PrintParameters(), RooStats::HistFactory::HistFactoryNavigation::PrintSampleComponents(), RooStats::HistFactory::HistFactoryNavigation::PrintSampleParameters(), RooFitResult::randomizePars(), RooArgList::readFromStream(), RooAbsData::reduce(), RooFitResult::reducedCovarianceMatrix(), RooExpensiveObjectCache::registerObject(), RooSetProxy::remove(), RooSetProxy::removeAll(), Roo1DMomentMorphFunction::Roo1DMomentMorphFunction(), RooAbsData::RooAbsData(), RooAbsDataStore::RooAbsDataStore(), RooAbsGenContext::RooAbsGenContext(), RooAbsNumGenerator::RooAbsNumGenerator(), RooAcceptReject::RooAcceptReject(), RooAddition::RooAddition(), RooAddModel::RooAddModel(), RooAddPdf::RooAddPdf(), RooBernstein::RooBernstein(), RooChangeTracker::RooChangeTracker(), RooChebychev::RooChebychev(), RooConstraintSum::RooConstraintSum(), RooDataHist::RooDataHist(), RooDataProjBinding::RooDataProjBinding(), RooDataSet::RooDataSet(), RooFoamGenerator::RooFoamGenerator(), RooFormula::RooFormula(), RooFracRemainder::RooFracRemainder(), RooGenContext::RooGenContext(), RooGenProdProj::RooGenProdProj(), RooHistFunc::RooHistFunc(), RooHistPdf::RooHistPdf(), RooJeffreysPrior::RooJeffreysPrior(), RooMinimizerFcn::RooMinimizerFcn(), RooMinuitGlue(), RooMomentMorph::RooMomentMorph(), RooMultiCategory::RooMultiCategory(), RooNDKeysPdf::RooNDKeysPdf(), RooParametricStepFunction::RooParametricStepFunction(), RooProdGenContext::RooProdGenContext(), RooProfileLL::RooProfileLL(), RooRealBinding::RooRealBinding(), RooRealIntegral::RooRealIntegral(), RooRealSumPdf::RooRealSumPdf(), RooRecursiveFraction::RooRecursiveFraction(), RooSetProxy::RooSetProxy(), RooSimultaneous::RooSimultaneous(), RooStepFunction::RooStepFunction(), RooSuperCategory::RooSuperCategory(), RooVectorDataStore::RooVectorDataStore(), RooMCStudy::run(), RooRandomizeParamMCSModule::sampleSumGauss(), RooRandomizeParamMCSModule::sampleSumUniform(), RooTreeDataStore::setArgStatus(), RooStats::MCMCCalculator::SetBins(), RooStats::HistFactory::HistFactoryNavigation::SetConstant(), RooFitResult::setConstParList(), RooFitResult::setFinalParList(), RooFitResult::setInitParList(), RooAbsPdf::setTraceCounter(), RooCustomizer::splitArgs(), RooStats::SPlot::SPlot(), StandardBayesianMCMCDemo(), StandardHistFactoryPlotsWithCategories(), RooDataHist::sum(), RooAbsData::table(), RooHistFunc::totVolume(), RooHistPdf::totVolume(), RooWorkspace::unExport(), RooSimWSTool::validateConfig(), RooArgList::writeToStream(), RooArgSet::writeToStream(), and RooAbsAnaConvPdf::~RooAbsAnaConvPdf().

Int_t RooAbsCollection::defaultPrintContents ( Option_t opt) const
virtual

Define default RooPrinable print options for given Print() flag string For inline printing only show value of objects, for default print show name,class name value and extras of each object.

In verbose mode also add object adress, argument and title

Reimplemented from RooPrintable.

Definition at line 890 of file RooAbsCollection.cxx.

Referenced by Print().

void RooAbsCollection::dump ( ) const

Base contents dumper for debugging purposes.

Definition at line 971 of file RooAbsCollection.cxx.

Bool_t RooAbsCollection::equals ( const RooAbsCollection otherColl) const
RooAbsArg * RooAbsCollection::find ( const char *  name) const

Find object with given name in list.

A null pointer is returned if no object with the given name is found

Definition at line 814 of file RooAbsCollection.cxx.

Referenced by RooFFTConvPdf::actualObservables(), RooDataHist::add(), RooTreeDataStore::addColumns(), RooVectorDataStore::addColumns(), addServerClonesToList(), RooStats::SPlot::AddSWeight(), RooDataHist::adjustBinning(), RooAbsData::allClientsCached(), RooStats::DetailedOutputAggregator::AppendArgSet(), RooWorkspace::arg(), assignValueOnly(), RooConvGenContext::attach(), RooTreeDataStore::attachBuffers(), RooVectorDataStore::attachBuffers(), RooVectorDataStore::attachCache(), RooSimultaneous::autoGenContext(), RooParamHistFunc::binBoundaries(), RooHistFunc::binBoundaries(), RooHistPdf::binBoundaries(), RooSimPdfBuilder::buildPdf(), RooVectorDataStore::cacheArgs(), RooMCStudy::calcPulls(), RooDataHist::calculatePartialBinVolume(), RooWorkspace::cat(), RooWorkspace::catfunc(), RooCompositeDataStore::changeObservableName(), RooTreeDataStore::changeObservableName(), RooAbsData::changeObservableName(), RooArgSet::checkForDup(), RooStats::HypoTestInverter::CheckInputModels(), RooAbsArg::cloneTree(), RooFitResult::conditionalCovarianceMatrix(), contains(), RooFitResult::correlation(), RooFitResult::createHessePdf(), RooDataSet::createHistogram(), RooAbsReal::createHistogram(), RooStats::LikelihoodInterval::CreateMinimizer(), RooAbsReal::createPlotProjection(), RooAbsData::dataRealVar(), RooCustomizer::doBuild(), RooStats::LikelihoodIntervalPlot::Draw(), RooDataSet::emptyClone(), equals(), RooProfileLL::evaluate(), RooStats::AsymptoticCalculator::EvaluateNLL(), RooStats::ProfileLikelihoodTestStat::EvaluateProfileLikelihood(), RooAbsSelfCachedPdf::fillCacheObject(), RooAbsSelfCachedReal::fillCacheObject(), RooFFTConvPdf::fillCacheObject(), RooFFTConvPdf::fillCacheSlice(), RooAbsReal::fillDataHist(), RooAbsData::fillHistogram(), RooAbsReal::fillHistogram(), RooAbsArg::findConstantNodes(), RooAbsArg::findNewServer(), RooWorkspace::function(), RooSimultaneous::genContext(), RooAbsPdf::getAllConstraints(), RooUniform::getAnalyticalIntegral(), RooMultiVarGaussian::getAnalyticalIntegral(), RooHistPdf::getAnalyticalIntegral(), RooHistFunc::getAnalyticalIntegral(), RooAddPdf::getAnalyticalIntegralWN(), RooStats::DetailedOutputAggregator::GetAsArgSet(), RooArgSet::getCatIndex(), RooArgSet::getCatLabel(), RooUniform::getGenerator(), RooMultiVarGaussian::getGenerator(), RooStats::AsymptoticCalculator::GetHypoTest(), RooStats::ProfileLikelihoodCalculator::GetHypoTest(), RooStats::ProfileLikelihoodCalculator::GetInterval(), RooFormulaVar::getParameter(), RooAbsReal::getPropagatedError(), RooAbsData::getRange(), RooArgSet::getRealValue(), RooArgSet::getStringValue(), RooStats::SPlot::GetSWeight(), RooStats::SPlot::GetYieldFromSWeight(), RooFitResult::globalCorr(), RooWorkspace::import(), RooDataHist::importDHistSet(), RooDataHist::importTH1(), RooDataHist::importTH1Set(), RooSimGenContext::initGenerator(), RooSimSplitGenContext::initGenerator(), RooConvGenContext::initGenerator(), RooDataSet::initialize(), RooRandomizeParamMCSModule::initializeInstance(), RooAbsOptTestStatistic::initSlave(), RooFitResult::isIdentical(), Roo2DKeysPdf::loadDataSet(), RooNDKeysPdf::loadDataSet(), RooAbsReal::makeProjectionSet(), RooAbsReal::matchArgsByName(), RooAbsData::moment(), operator=(), RooArgSet::operator[](), overlaps(), RooWorkspace::pdf(), RooAbsReal::plotAsymOn(), RooSimultaneous::plotOn(), RooDataHist::plotOn(), RooFitResult::plotOn(), RooAbsData::plotOn(), RooAbsReal::plotOn(), RooAbsReal::plotOnCompSelect(), RooAbsReal::plotOnWithErrorBand(), RooDataSet::plotOnXY(), RooMCStudy::plotParam(), RooParamHistFunc::plotSamplingHint(), RooHistFunc::plotSamplingHint(), RooHistPdf::plotSamplingHint(), RooAbsReal::plotSliceOn(), RooIntegralMorph::preferredObservableScanOrder(), RooDLLSignificanceMCSModule::processAfterFit(), RooRandomizeParamMCSModule::processBeforeGen(), RooStats::UpperLimitMCSModule::processBetweenGenAndFit(), RooDataSet::read(), RooArgSet::readFromStream(), RooProjectedPdf::redirectServersHook(), RooResolutionModel::redirectServersHook(), RooProdPdf::redirectServersHook(), RooAbsData::reduce(), RooFitResult::reducedCovarianceMatrix(), RooDataHist::reduceEng(), replace(), RooAbsData::RooAbsData(), RooAbsNumGenerator::RooAbsNumGenerator(), RooAddGenContext::RooAddGenContext(), RooBinnedGenContext::RooBinnedGenContext(), RooCompositeDataStore::RooCompositeDataStore(), RooConvGenContext::RooConvGenContext(), RooDataHistSliceIter::RooDataHistSliceIter(), RooDataSet::RooDataSet(), RooGenContext::RooGenContext(), RooGenProdProj::RooGenProdProj(), RooHistFunc::RooHistFunc(), RooHistPdf::RooHistPdf(), RooMultiVarGaussian::RooMultiVarGaussian(), RooPlot::RooPlot(), RooRealIntegral::RooRealIntegral(), RooSimGenContext::RooSimGenContext(), RooSimSplitGenContext::RooSimSplitGenContext(), RooVectorDataStore::RooVectorDataStore(), RooXYChi2Var::RooXYChi2Var(), RooRandomizeParamMCSModule::sampleGaussian(), RooRandomizeParamMCSModule::sampleSumGauss(), RooRandomizeParamMCSModule::sampleSumUniform(), RooRandomizeParamMCSModule::sampleUniform(), RooMinuit::save(), RooMinimizer::save(), RooFFTConvPdf::scanPdf(), RooNameSet::select(), selectCommon(), RooRealIntegral::servesExclusively(), RooTreeDataStore::setArgStatus(), RooArgSet::setCatIndex(), RooArgSet::setCatLabel(), RooStats::MarkovChain::SetParameters(), RooArgSet::setRealValue(), RooArgSet::setStringValue(), RooDataHist::sliceIterator(), RooAbsData::split(), RooDataHist::sum(), RooAbsData::table(), RooWorkspace::var(), RooVectorDataStore::varsNoWeight(), RooTreeDataStore::varsNoWeight(), RooDataHist::weight(), RooVectorDataStore::weightVar(), RooTreeDataStore::weightVar(), WrapperRooPdf::WrapperRooPdf(), and Roo2DKeysPdf::writeHistToFile().

RooAbsArg * RooAbsCollection::find ( const RooAbsArg arg) const

Find object with given name in list.

A null pointer is returned if no object with the given name is found

Definition at line 825 of file RooAbsCollection.cxx.

RooAbsArg* RooAbsCollection::first ( ) const
inline

Definition at line 110 of file RooAbsCollection.h.

Referenced by assignValueOnly(), RooStats::AsymptoticCalculator::AsymptoticCalculator(), RooArgProxy::changePointer(), ClassImp(), RooStats::BayesianCalculator::ComputeIntervalFromCdf(), RooStats::BayesianCalculator::ComputeIntervalUsingRooFit(), RooAbsPdf::createScanCdf(), RooAbsReal::createScanRI(), RooStats::AsymptoticCalculator::EvaluateNLL(), RooStats::ProfileLikelihoodTestStat::EvaluateProfileLikelihood(), RooSimWSTool::executeBuild(), RooAbsArg::findNewServer(), RooStats::HistFactory::FitModelAndPlot(), RooStats::HistFactory::getDataValuesForObservables(), RooStats::AsymptoticCalculator::GetHypoTest(), RooStats::BayesianCalculator::GetInterval(), RooStats::ProfileInspector::GetListOfProfilePlots(), RooStats::AsymptoticCalculator::GetMuHat(), RooProdPdf::getPartIntList(), RooStats::BayesianCalculator::GetPosteriorFunction(), RooStats::BayesianCalculator::GetPosteriorPlot(), RooStats::HypoTestInverter::GetVariableToScan(), RooStats::AsymptoticCalculator::Initialize(), RooStats::SimpleInterval::IsInInterval(), RooStats::MakeNuisancePdf(), OneSidedFrequentistUpperLimitWithBands(), RooAbsOptTestStatistic::printCompactTreeHook(), RooStats::UpperLimitMCSModule::processBetweenGenAndFit(), RooProdPdf::processProductTerm(), RooProdPdf::rearrangeProduct(), RooGenProdProj::RooGenProdProj(), RooNLLVar::RooNLLVar(), rs_numberCountingCombination_expected(), PiecewiseInterpolation::setBinIntegrator(), RooProdPdf::specializeIntegral(), StandardBayesianMCMCDemo(), StandardBayesianNumericalDemo(), StandardFeldmanCousinsDemo(), StandardFrequentistDiscovery(), StandardHistFactoryPlotsWithCategories(), StandardHypoTestDemo(), StandardProfileLikelihoodDemo(), StandardTestStatDistributionDemo(), RooRealIntegral::sum(), and TwoSidedFrequentistUpperLimitWithBands().

RooFIter RooAbsCollection::fwdIterator ( ) const
inline

Definition at line 104 of file RooAbsCollection.h.

Referenced by RooAbsArg::addParameters(), ParamHistFunc::addParamSet(), RooAbsArg::addServerList(), ParamHistFunc::addVarSet(), RooAbsArg::aggregateCacheUniqueSuffix(), RooBernstein::analyticalIntegral(), RooPolynomial::analyticalIntegral(), RooPolyVar::analyticalIntegral(), RooHistPdf::analyticalIntegral(), RooParamHistFunc::analyticalIntegralWN(), RooRealSumPdf::analyticalIntegralWN(), PiecewiseInterpolation::analyticalIntegralWN(), ParamHistFunc::analyticalIntegralWN(), RooTreeDataStore::attachBuffers(), RooVectorDataStore::attachBuffers(), RooAbsArg::attachDataSet(), RooAbsArg::attachDataStore(), RooAddition::binBoundaries(), RooProduct::binBoundaries(), RooRealSumPdf::binBoundaries(), RooFormulaVar::binBoundaries(), RooProdPdf::binBoundaries(), RooVectorDataStore::cacheArgs(), RooRealMPFE::calculate(), RooProduct::calculate(), RooProdPdf::calculate(), RooListProxy::changePointer(), contentsString(), ParamHistFunc::createParamSet(), RooAbsArg::dependsOn(), dump(), equals(), RooRealSumPdf::evaluate(), RooHistConstraint::evaluate(), RooBernstein::evaluate(), RooAddPdf::evaluate(), RooConstraintSum::evaluate(), RooPolynomial::evaluate(), RooPolyVar::evaluate(), RooAddition::evaluate(), RooProduct::evaluate(), PiecewiseInterpolation::evaluate(), RooAddPdf::expectedEvents(), RooProdPdf::factorizeProduct(), RooCachedReal::fillCacheObject(), RooAbsArg::findConstantNodes(), RooProduct::forceAnalyticalInt(), RooProdPdf::generateEvent(), RooHistPdf::getAnalyticalIntegral(), PiecewiseInterpolation::getAnalyticalIntegralWN(), RooAbsCachedReal::getCache(), RooProdPdf::getConnectedParameters(), RooProdPdf::getConstraints(), RooProdPdf::getGenerator(), RooHistConstraint::getLogVal(), ParamHistFunc::GetNumBins(), RooAbsArg::getObservables(), RooProdPdf::getParametersHook(), RooAbsArg::graphVizTree(), RooProduct::groupProductTerms(), RooProdPdf::groupProductTerms(), RooWorkspace::import(), RooGenContext::initGenerator(), RooProdPdf::initGenerator(), RooProdPdf::initializeFromCmdArgList(), RooAbsOptTestStatistic::initSlave(), RooAddition::isBinnedDistribution(), RooProduct::isBinnedDistribution(), RooRealSumPdf::isBinnedDistribution(), RooProdPdf::isBinnedDistribution(), RooProdPdf::isDirectGenSafe(), RooProduct::makeFPName(), RooProdPdf::makeRGPPName(), RooAbsOptTestStatistic::optimizeConstantTerms(), overlaps(), PiecewiseInterpolation::PiecewiseInterpolation(), RooAddition::plotSamplingHint(), RooProduct::plotSamplingHint(), RooRealSumPdf::plotSamplingHint(), RooFormulaVar::plotSamplingHint(), RooProdPdf::plotSamplingHint(), RooListProxy::print(), RooAbsArg::printDirty(), printLatex(), RooProduct::printMetaArgs(), RooProdPdf::printMetaArgs(), printMultiline(), printValue(), RooProdPdf::processProductTerm(), RooProdPdf::rearrangeProduct(), RooAbsArg::recursiveCheckObservables(), RooAbsArg::redirectServers(), RooNameSet::refill(), RooListProxy::removeAll(), replace(), RooTreeDataStore::resetBuffers(), RooVectorDataStore::resetBuffers(), RooTreeDataStore::restoreAlternateBuffers(), RooAbsCollection(), RooBinnedGenContext::RooBinnedGenContext(), RooHistPdf::RooHistPdf(), RooPolynomial::RooPolynomial(), RooPolyVar::RooPolyVar(), RooProdPdf::RooProdPdf(), RooProduct::RooProduct(), RooRealBinding::saveXVec(), selectByAttrib(), selectByName(), selectCommon(), setAttribAll(), RooProduct::setCacheAndTrackHints(), RooRealSumPdf::setCacheAndTrackHints(), RooAbsAnaConvPdf::setCacheAndTrackHints(), RooAddPdf::setCacheAndTrackHints(), RooProdPdf::setCacheAndTrackHints(), RooStats::ModelConfig::SetGlobalObservables(), RooStats::ModelConfig::SetHasOnlyParameters(), RooAbsReal::setParameterizeIntegral(), snapshot(), RooAddPdf::updateCoefficients(), RooMinimizerFcn::updateFloatVec(), RooDataHist::weight(), and RooAbsArg::wireAllCaches().

Int_t RooAbsCollection::getHashTableSize ( ) const
inline

Definition at line 57 of file RooAbsCollection.h.

const char* RooAbsCollection::GetName ( ) const
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 142 of file RooAbsCollection.h.

Referenced by add(), addClone(), addOwned(), ParamHistFunc::addParamSet(), Clone(), RooProdPdf::factorizeProduct(), RooArgSet::getCatIndex(), RooArgSet::getCatLabel(), RooStats::ProfileLikelihoodCalculator::GetHypoTest(), ParamHistFunc::GetNumBins(), RooArgSet::getRealValue(), RooStats::HistFactory::getStatUncertaintyConstraintTerm(), RooArgSet::getStringValue(), RooStats::HistFactory::HistFactoryNavigation::HistFactoryNavigation(), RooListProxy::name(), RooSetProxy::name(), RooNumGenConfig::operator=(), RooNumIntConfig::operator=(), RooArgList::operator[](), RooArgSet::operator[](), RooWorkspace::Print(), printLatex(), RooProdPdf::printMetaArgs(), RooNumGenConfig::printMultiline(), RooNumIntConfig::printMultiline(), printMultiline(), printName(), RooArgSet::readFromFile(), RooArgList::readFromStream(), RooArgSet::readFromStream(), RooAbsArg::registerProxy(), RooAbsCollection(), RooNumGenConfig::RooNumGenConfig(), RooNumIntConfig::RooNumIntConfig(), RooProdPdf::RooProdPdf(), RooRealIntegral::RooRealIntegral(), RooWorkspace::RooWorkspace(), safeDeleteList(), selectByAttrib(), selectByName(), selectCommon(), RooProdPdf::setCacheAndTrackHints(), RooArgSet::setCatIndex(), RooArgSet::setCatLabel(), RooStats::LikelihoodIntervalPlot::SetPlotParameters(), RooArgSet::setRealValue(), RooStats::ModelConfig::SetSnapshot(), RooArgSet::setStringValue(), snapshot(), RooArgSet::writeToFile(), RooArgList::writeToStream(), and RooArgSet::writeToStream().

Int_t RooAbsCollection::getSize ( ) const
inline

Definition at line 106 of file RooAbsCollection.h.

Referenced by RooCachedPdf::actualObservables(), RooCachedReal::actualObservables(), RooFFTConvPdf::actualObservables(), RooCachedPdf::actualParameters(), RooCachedReal::actualParameters(), add(), addClone(), RooFactoryWSTool::addfunc(), RooStats::PdfProposal::AddMapping(), addOwned(), ParamHistFunc::addParamSet(), RooStats::SPlot::AddSWeight(), RooFactoryWSTool::amplAdd(), RooBernstein::analyticalIntegral(), RooPolynomial::analyticalIntegral(), RooPolyVar::analyticalIntegral(), RooMultiVarGaussian::analyticalIntegral(), RooHistPdf::analyticalIntegral(), RooHistFunc::analyticalIntegral(), RooRealSumPdf::analyticalIntegralWN(), RooAddPdf::analyticalIntegralWN(), assignValueOnly(), RooAbsReal::asTF(), RooGenFitStudy::attach(), RooSimultaneous::autoGenContext(), RooAbsPdf::autoGenContext(), RooSimPdfBuilder::buildPdf(), RooTreeDataStore::cacheArgs(), RooAbsCachedReal::cacheNameSuffix(), RooAbsCachedPdf::cacheNameSuffix(), Roo1DMomentMorphFunction::calculateFractions(), RooDataHist::calculatePartialBinVolume(), RooListProxy::changePointer(), RooSetProxy::changePointer(), RooStats::SimpleInterval::CheckParameters(), RooStats::PointSetInterval::CheckParameters(), RooStats::LikelihoodInterval::CheckParameters(), RooStats::ConfidenceBelt::CheckParameters(), ClassImp(), RooAbsAnaConvPdf::coefVars(), RooFitResult::conditionalCovarianceMatrix(), RooAbsData::corrcovMatrix(), RooAbsPdf::createCdf(), RooStats::ProposalHelper::CreateCovMatrix(), RooFitResult::createHessePdf(), RooAbsRealLValue::createHistogram(), RooAbsReal::createHistogram(), RooRealIntegral::createIntegral(), RooAbsReal::createIntObj(), RooStats::LikelihoodInterval::CreateMinimizer(), RooAbsPdf::createNLL(), ParamHistFunc::createParamSet(), RooAbsPdf::createProjection(), RooAbsReal::createRunningIntegral(), RooNumGenFactory::createSampler(), RooMultiVarGaussian::decodeCode(), RooMCStudy::doFit(), RooStats::LikelihoodIntervalPlot::Draw(), equals(), RooChebychev::evalAnaInt(), RooMultiBinomial::evaluate(), RooBernstein::evaluate(), RooAddPdf::evaluate(), RooStepFunction::evaluate(), RooChebychev::evaluate(), RooFunctorBinding::evaluate(), RooPolynomial::evaluate(), RooPolyVar::evaluate(), RooFunctorPdfBinding::evaluate(), RooHistFunc::evaluate(), RooAbsAnaConvPdf::evaluate(), RooHistPdf::evaluate(), RooRealIntegral::evaluate(), RooMultiVarGaussian::evaluate(), RooStats::AsymptoticCalculator::EvaluateNLL(), RooStats::ProfileLikelihoodTestStat::EvaluateProfileLikelihood(), RooSimWSTool::executeBuild(), RooExtendPdf::expectedEvents(), RooAddPdf::expectedEvents(), RooRealSumPdf::extendMode(), RooProdPdf::factorizeProduct(), RooStats::AsymptoticCalculator::FillBins(), RooCachedPdf::fillCacheObject(), RooCachedReal::fillCacheObject(), RooFFTConvPdf::fillCacheObject(), RooFitResult::fillCorrMatrix(), RooAbsData::fillHistogram(), RooAbsReal::fillHistogram(), RooAbsArg::findNewServer(), RooStats::HistFactory::FitModelAndPlot(), RooAbsPdf::fitTo(), RooAbsReal::fixAddCoefNormalization(), RooAddPdf::fixCoefNormalization(), RooAddModel::fixCoefNormalization(), RooAbsCachedPdf::forceAnalyticalInt(), FourBinInstructional(), RooAbsReal::functor(), RooNumConvPdf::genContext(), RooAbsAnaConvPdf::genContext(), RooFFTConvPdf::genContext(), RooMultiVarGaussian::genData(), RooGenContext::generateEvent(), RooUniform::getAnalyticalIntegral(), RooMultiVarGaussian::getAnalyticalIntegral(), RooHistFunc::getAnalyticalIntegral(), RooParamHistFunc::getAnalyticalIntegralWN(), RooEffProd::getAnalyticalIntegralWN(), RooRealSumPdf::getAnalyticalIntegralWN(), RooProduct::getAnalyticalIntegralWN(), PiecewiseInterpolation::getAnalyticalIntegralWN(), RooAddPdf::getAnalyticalIntegralWN(), ParamHistFunc::getAnalyticalIntegralWN(), RooAbsAnaConvPdf::getAnalyticalIntegralWN(), RooAbsCachedPdf::getAnalyticalIntegralWN(), RooStats::MarkovChain::GetAsSparseHist(), RooMomentMorph::getCache(), RooAbsAnaConvPdf::getCoefNorm(), RooStats::HistFactory::HistFactoryNavigation::GetDataHist(), RooUniform::getGenerator(), RooMultiVarGaussian::getGenerator(), RooProdPdf::getGenerator(), RooStats::AsymptoticCalculator::GetHypoTest(), RooStats::HypoTestCalculatorGeneric::GetHypoTest(), RooStats::ProfileLikelihoodCalculator::GetHypoTest(), RooStats::ProfileLikelihoodCalculator::GetInterval(), RooStats::MCMCCalculator::GetInterval(), RooStats::BayesianCalculator::GetInterval(), RooStats::ProfileInspector::GetListOfProfilePlots(), RooHistFunc::getMaxVal(), RooHistPdf::getMaxVal(), ParamHistFunc::GetNumBins(), RooStats::SPlot::GetNumSWeightVars(), RooProdPdf::getParametersHook(), RooProdPdf::getPartIntList(), RooStats::BayesianCalculator::GetPosteriorFunction(), RooAddModel::getProjCache(), RooAddPdf::getProjCache(), RooAbsReal::getPropagatedError(), RooStats::ModelConfig::GetSnapshot(), RooProduct::groupProductTerms(), RooStats::ModelConfig::GuessObsAndNuisance(), RooStats::HistFactory::HistFactoryNavigation::HistFactoryNavigation(), Roo1DMomentMorphFunction::idxmax(), RooMomentMorph::idxmax(), Roo1DMomentMorphFunction::idxmin(), RooMomentMorph::idxmin(), RooAbsReal::iGenFunction(), Roo1DMomentMorphFunction::ij(), RooMomentMorph::ij(), RooWorkspace::import(), RooDataHist::importTH1Set(), RooGenContext::initGenerator(), Roo1DMomentMorphFunction::initialize(), RooMultiCatIter::initialize(), RooStats::AsymptoticCalculator::Initialize(), RooMomentMorph::initialize(), RooSimultaneous::initialize(), RooNDKeysPdf::initialize(), RooDataHist::initialize(), RooStats::HistFactory::RooBarlowBeestonLL::initializeBarlowCache(), RooRealIntegral::initNumIntegrator(), RooAbsOptTestStatistic::initSlave(), RooRealMPFE::initVars(), RooAbsReal::integralNameSuffix(), RooHistFunc::ioStreamerPass2(), RooFitResult::isIdentical(), RooStats::SimpleInterval::IsInInterval(), RooStats::LikelihoodInterval::IsInInterval(), RooRealIntegral::jacobianProduct(), RooFitResult::lastMinuitFit(), RooMinimizer::lastMinuitFit(), RooStats::LikelihoodIntervalPlot::LikelihoodIntervalPlot(), RooStats::AsymptoticCalculator::MakeAsimovData(), RooAbsAnaConvPdf::makeCoefVarList(), RooStats::HistFactory::HistFactoryNavigation::MakeHistFromRooFunction(), RooStats::MakeNuisancePdf(), RooAbsReal::matchArgsByName(), RooMinuit::minos(), RooMinimizer::minos(), MultivariateGaussianTest(), WrapperRooPdf::NDim(), WrapperRooPdf::NPar(), RooArgList::operator[](), RooAbsOptTestStatistic::optimizeConstantTerms(), RooAbsData::optimizeReadingWithCaching(), PiecewiseInterpolation::PiecewiseInterpolation(), RooAbsReal::plotAsymOn(), RooSimultaneous::plotOn(), RooAbsPdf::plotOn(), RooAbsReal::plotOn(), RooAbsReal::plotOnWithErrorBand(), RooWorkspace::Print(), printLatex(), RooStats::PrintListContent(), RooRealIntegral::printMetaArgs(), RooRealSumPdf::printMetaArgs(), RooProdPdf::printMetaArgs(), RooAddPdf::printMetaArgs(), RooGenContext::printMultiline(), RooFitResult::printMultiline(), RooAbsDataStore::printMultiline(), RooDataHist::printMultiline(), RooChi2MCSModule::processAfterFit(), RooProdPdf::processProductTerm(), RooStats::PdfProposal::Propose(), RooFitResult::randomizePars(), RooProdPdf::rearrangeProduct(), RooVectorDataStore::recalculateCache(), RooAbsArg::redirectServers(), RooProjectedPdf::redirectServersHook(), RooFitResult::reducedCovarianceMatrix(), RooNameSet::refill(), remove(), RooAcceptReject::RooAcceptReject(), RooAddGenContext::RooAddGenContext(), RooAddition::RooAddition(), RooAddModel::RooAddModel(), RooAddPdf::RooAddPdf(), RooBinnedGenContext::RooBinnedGenContext(), RooDataHist::RooDataHist(), RooDataHistSliceIter::RooDataHistSliceIter(), RooFirstMoment::RooFirstMoment(), RooFoamGenerator::RooFoamGenerator(), RooFormulaVar::RooFormulaVar(), RooFunctor::RooFunctor(), RooFunctorPdfBinding::RooFunctorPdfBinding(), RooGenContext::RooGenContext(), RooGenericPdf::RooGenericPdf(), RooHistFunc::RooHistFunc(), RooHistPdf::RooHistPdf(), RooJeffreysPrior::RooJeffreysPrior(), RooMCStudy::RooMCStudy(), RooMinimizerFcn::RooMinimizerFcn(), RooMomentMorph::RooMomentMorph(), RooMultiBinomial::RooMultiBinomial(), RooMultiVarGaussian::RooMultiVarGaussian(), RooNDKeysPdf::RooNDKeysPdf(), RooNLLVar::RooNLLVar(), RooProdGenContext::RooProdGenContext(), RooRealIntegral::RooRealIntegral(), RooRealSumPdf::RooRealSumPdf(), RooRecursiveFraction::RooRecursiveFraction(), RooSecondMoment::RooSecondMoment(), RooSimultaneous::RooSimultaneous(), RooStepFunction::RooStepFunction(), RooStats::HybridCalculatorOriginal::RunToys(), RooAddModel::selectNormalization(), RooAddPdf::selectNormalization(), RooRealIntegral::servesExclusively(), RooStats::HypoTestResult::SetAllTestStatisticsData(), PiecewiseInterpolation::setBinIntegrator(), RooProdPdf::setCacheAndTrackHints(), RooAbsOptTestStatistic::setDataSlave(), RooStats::ModelConfig::SetHasOnlyParameters(), RooStats::LikelihoodIntervalPlot::SetLikelihoodInterval(), RooStats::LikelihoodIntervalPlot::SetPlotParameters(), snapshot(), StandardBayesianMCMCDemo(), StandardHypoTestDemo(), StandardTestStatDistributionDemo(), RooRealIntegral::sum(), RooDataHist::sum(), RooMinimizerFcn::Synchronize(), RooMultiVarGaussian::syncMuVec(), RooAbsPdf::syncNormalization(), RooAddModel::updateCoefficients(), RooAddPdf::updateCoefficients(), RooMinimizerFcn::updateFloatVec(), RooProfileLL::validateAbsMin(), and RooDataHist::weight().

Bool_t RooAbsCollection::isOwning ( ) const
inline
RooLinkedListIter RooAbsCollection::iterator ( Bool_t  dir = kIterForward) const
void RooAbsCollection::makeStructureTag ( )
protected

Definition at line 1230 of file RooAbsCollection.cxx.

Referenced by structureTag().

void RooAbsCollection::makeTypedStructureTag ( )
protected

Definition at line 1237 of file RooAbsCollection.cxx.

Referenced by typedStructureTag().

RooAbsCollection & RooAbsCollection::operator= ( const RooAbsCollection other)

The assignment operator sets the value of any argument in our set that also appears in the other set.

Definition at line 309 of file RooAbsCollection.cxx.

Referenced by RooArgList::operator=(), and RooArgSet::operator=().

Bool_t RooAbsCollection::overlaps ( const RooAbsCollection otherColl) const

Check if this and other collection have common entries.

Definition at line 795 of file RooAbsCollection.cxx.

Referenced by RooProdPdf::factorizeProduct(), and RooAbsReal::findInnerMostIntegration().

virtual void RooAbsCollection::Print ( Option_t option = 0) const
inlinevirtual
void RooAbsCollection::printClassName ( std::ostream &  os) const
virtual

Return collection class name.

Reimplemented from RooPrintable.

Definition at line 877 of file RooAbsCollection.cxx.

void RooAbsCollection::printLatex ( const RooCmdArg arg1 = RooCmdArg(),
const RooCmdArg arg2 = RooCmdArg(),
const RooCmdArg arg3 = RooCmdArg(),
const RooCmdArg arg4 = RooCmdArg(),
const RooCmdArg arg5 = RooCmdArg(),
const RooCmdArg arg6 = RooCmdArg(),
const RooCmdArg arg7 = RooCmdArg(),
const RooCmdArg arg8 = RooCmdArg() 
) const

Output content of collection as LaTex table.

By default a table with two columns is created: the left column contains the name of each variable, the right column the value.

The following optional named arguments can be used to modify the default behavior

Columns(Int_t ncol) – Fold table into multiple columns, i.e. ncol=3 will result in 3 x 2 = 6 total columns Sibling(const RooAbsCollection& other) – Define sibling list. The sibling list is assumed to have objects with the same name in the same order. If this is not the case warnings will be printed. If a single sibling list is specified, 3 columns will be output: the (common) name, the value of this list and the value in the sibling list. Multiple sibling lists can be specified by repeating the Sibling() command. Format(const char* str) – Classic format string, provided for backward compatibility Format(...) – Formatting arguments, details are given below OutputFile(const char* fname) – Send output to file with given name rather than standard output

The Format(const char* what,...) has the following structure

const char* what – Controls what is shown. "N" adds name, "E" adds error, "A" shows asymmetric error, "U" shows unit, "H" hides the value FixedPrecision(int n) – Controls precision, set fixed number of digits AutoPrecision(int n) – Controls precision. Number of shown digits is calculated from error

  • n specified additional digits (1 is sensible default) VerbatimName(Bool_t flag) – Put variable name in a + + clause.

Example use: list.printLatex(Columns(2), Format("NEU",AutoPrecision(1),VerbatimName()) ) ;

Definition at line 1009 of file RooAbsCollection.cxx.

void RooAbsCollection::printLatex ( std::ostream &  ofs,
Int_t  ncol,
const char *  option = "NEYU",
Int_t  sigDigit = 1,
const RooLinkedList siblingLists = RooLinkedList(),
const RooCmdArg formatCmd = 0 
) const

Internal implementation function of printLatex.

Definition at line 1066 of file RooAbsCollection.cxx.

void RooAbsCollection::printMultiline ( std::ostream &  os,
Int_t  contents,
Bool_t  verbose = kFALSE,
TString  indent = "" 
) const
virtual

Implement multiline printin of collection, one line for each ontained object showing the requested content.

Reimplemented from RooPrintable.

Definition at line 933 of file RooAbsCollection.cxx.

Referenced by RooNumGenConfig::printMultiline(), and RooNumIntConfig::printMultiline().

void RooAbsCollection::printName ( std::ostream &  os) const
virtual

Return collection name.

Reimplemented from RooPrintable.

Definition at line 857 of file RooAbsCollection.cxx.

Referenced by RooStats::PrintListContent().

void RooAbsCollection::printTitle ( std::ostream &  os) const
virtual

Return collection title.

Reimplemented from RooPrintable.

Definition at line 867 of file RooAbsCollection.cxx.

void RooAbsCollection::printValue ( std::ostream &  os) const
virtual

Print value of collection, i.e.

a comma separated list of contained object names

Reimplemented from RooPrintable.

Definition at line 909 of file RooAbsCollection.cxx.

Referenced by RooStats::PrintListContent().

void RooAbsCollection::releaseOwnership ( )
inline
Bool_t RooAbsCollection::remove ( const RooAbsArg var,
Bool_t  silent = kFALSE,
Bool_t  matchByNameOnly = kFALSE 
)
virtual

Remove the specified argument from our list.

Return kFALSE if the specified argument is not found in our list. An exact pointer match is required, not just a match by name. A variable can be removed from a copied list and will be deleted at the same time.

Reimplemented in RooSetProxy, and RooListProxy.

Definition at line 602 of file RooAbsCollection.cxx.

Referenced by RooFFTConvPdf::actualObservables(), RooAbsSelfCachedPdf::actualParameters(), RooAbsSelfCachedReal::actualParameters(), RooNumRunningInt::actualParameters(), RooIntegralMorph::actualParameters(), RooFFTConvPdf::actualParameters(), RooStats::SPlot::AddSWeight(), RooAbsCachedPdf::analyticalIntegralWN(), RooConvGenContext::attach(), RooAbsNumGenerator::attachParameters(), RooSimPdfBuilder::buildPdf(), RooVectorDataStore::cacheArgs(), RooWorkspace::cancelTransaction(), ClassImp(), RooAbsArg::cloneTree(), RooAbsAnaConvPdf::coefVars(), RooAbsReal::createHistogram(), RooAbsReal::createIntObj(), RooAbsReal::createPlotProjection(), RooProdPdf::factorizeProduct(), RooFFTConvPdf::FFTCacheElem::FFTCacheElem(), RooFFTConvPdf::fillCacheObject(), RooAbsReal::findInnerMostIntegration(), RooNumConvPdf::genContext(), RooAbsAnaConvPdf::genContext(), RooFFTConvPdf::genContext(), RooMultiVarGaussian::getAnalyticalIntegral(), RooAddPdf::getAnalyticalIntegralWN(), RooProdPdf::getConstraints(), RooStats::HistFactory::RooBarlowBeestonLL::getParameters(), RooProdPdf::getParametersHook(), RooProdPdf::getPartIntList(), RooAddModel::getProjCache(), RooAddPdf::getProjCache(), RooStats::ModelConfig::GuessObsAndNuisance(), RooConvGenContext::initGenerator(), RooSimultaneous::initialize(), RooDataSet::initialize(), RooAbsOptTestStatistic::initSlave(), RooGenProdProj::makeIntegral(), RooAbsReal::makeProjectionSet(), RooAbsOptTestStatistic::optimizeConstantTerms(), RooAbsData::optimizeReadingWithCaching(), RooAbsCachedPdf::PdfCacheElem::PdfCacheElem(), RooAbsReal::plotAsymOn(), RooSimultaneous::plotOn(), RooAbsPdf::plotOn(), RooAbsReal::plotOn(), RooAbsReal::plotOnCompSelect(), RooAbsReal::plotSliceOn(), RooStats::FrequentistCalculator::PreAltHook(), RooIntegralMorph::preferredObservableScanOrder(), RooStats::FrequentistCalculator::PreNullHook(), RooDataSet::read(), RooVectorDataStore::recalculateCache(), RooProjectedPdf::redirectServersHook(), RooAbsData::reduce(), RooListProxy::remove(), RooSetProxy::remove(), RooStats::RemoveConstantParameters(), RooGenContext::RooGenContext(), RooMinimizerFcn::RooMinimizerFcn(), RooProdGenContext::RooProdGenContext(), RooRealIntegral::RooRealIntegral(), RooSimGenContext::RooSimGenContext(), RooSimSplitGenContext::RooSimSplitGenContext(), RooMinuit::save(), RooMinimizer::save(), RooAbsData::split(), RooDataHist::sum(), RooMinimizerFcn::Synchronize(), RooSimWSTool::validateConfig(), RooVectorDataStore::varsNoWeight(), and RooTreeDataStore::varsNoWeight().

Bool_t RooAbsCollection::remove ( const RooAbsCollection list,
Bool_t  silent = kFALSE,
Bool_t  matchByNameOnly = kFALSE 
)

Remove each argument in the input list from our list using remove(const RooAbsArg&).

Return kFALSE in case of problems.

Definition at line 630 of file RooAbsCollection.cxx.

void RooAbsCollection::removeAll ( )
virtual

Remove all arguments from our set, deleting them if we own them.

This effectively restores our object to the state it would have just after calling the RooAbsCollection(const char*) constructor.

Reimplemented in RooSetProxy, and RooListProxy.

Definition at line 649 of file RooAbsCollection.cxx.

Referenced by RooFormula::actualDependents(), RooTreeDataStore::attachBuffers(), RooTreeDataStore::attachCache(), RooWorkspace::cancelTransaction(), RooWorkspace::commitTransaction(), RooAbsReal::findInnerMostIntegration(), RooHistPdf::getAnalyticalIntegral(), RooStats::AsymptoticCalculator::GetHypoTest(), RooProdPdf::groupProductTerms(), RooWorkspace::import(), RooStats::AsymptoticCalculator::Initialize(), RooNumConvolution::initialize(), RooDataSet::initialize(), RooRealMPFE::initVars(), RooStats::AsymptoticCalculator::MakeAsimovData(), RooAbsReal::makeProjectionSet(), RooCmdArg::operator=(), RooObjCacheManager::optimizeCacheMode(), RooAbsOptTestStatistic::optimizeConstantTerms(), RooIntegralMorph::preferredObservableScanOrder(), RooAbsReal::preferredObservableScanOrder(), RooRealIntegral::redirectServersHook(), RooListProxy::removeAll(), RooSetProxy::removeAll(), RooStats::PdfProposal::Reset(), RooTreeDataStore::resetCache(), RooAbsData::resetCache(), RooGenContext::RooGenContext(), RooStats::CombinedCalculator::SetAlternateParameters(), RooStats::MetropolisHastings::SetChainParameters(), RooStats::MCMCCalculator::SetChainParameters(), RooStats::MCMCCalculator::SetConditionalObservables(), RooStats::BayesianCalculator::SetConditionalObservables(), RooStats::MaxLikelihoodEstimateTestStat::SetConditionalObservables(), RooStats::ProfileLikelihoodTestStat::SetConditionalObservables(), RooStats::CombinedCalculator::SetConditionalObservables(), RooStats::SimpleLikelihoodRatioTestStat::SetConditionalObservables(), RooStats::ToyMCImportanceSampler::SetConditionalObservables(), RooProdPdf::setDefNormSet(), RooStats::MCMCCalculator::SetModel(), RooStats::BayesianCalculator::SetModel(), RooStats::MCMCCalculator::SetNuisanceParameters(), RooStats::BayesianCalculator::SetNuisanceParameters(), RooStats::CombinedCalculator::SetNuisanceParameters(), RooStats::CombinedCalculator::SetNullParameters(), RooStats::MetropolisHastings::SetParameters(), RooStats::MCMCCalculator::SetParameters(), RooStats::BayesianCalculator::SetParameters(), RooStats::CombinedCalculator::SetParameters(), RooCmdArg::setSet(), and RooProfileLL::validateAbsMin().

Bool_t RooAbsCollection::replace ( const RooAbsArg var1,
const RooAbsArg var2 
)
virtual

Replace var1 with var2 and return kTRUE for success.

Fails if this list is a copy of another, if var1 is not already in this set, or if var2 is already in this set. var1 and var2 do not need to have the same name.

Reimplemented in RooSetProxy, and RooListProxy.

Definition at line 554 of file RooAbsCollection.cxx.

Referenced by RooListProxy::changePointer(), RooSetProxy::changePointer(), RooAbsReal::createPlotProjection(), RooConvGenContext::initGenerator(), RooListProxy::replace(), RooSetProxy::replace(), replace(), and RooAbsNumGenerator::RooAbsNumGenerator().

Bool_t RooAbsCollection::replace ( const RooAbsCollection other)

Replace any args in our set with args of the same name from the other set and return kTRUE for success.

Fails if this list is a copy of another.

Definition at line 526 of file RooAbsCollection.cxx.

void RooAbsCollection::safeDeleteList ( )
protected

Examine client server dependencies in list and delete contents in safe order: any client is deleted before a server is deleted.

Definition at line 142 of file RooAbsCollection.cxx.

Referenced by removeAll(), and ~RooAbsCollection().

RooAbsCollection * RooAbsCollection::selectByAttrib ( const char *  name,
Bool_t  value 
) const

Create a subset of the current collection, consisting only of those elements with the specified attribute set.

The caller is responsibe for deleting the returned collection

Definition at line 683 of file RooAbsCollection.cxx.

Referenced by RooTreeDataStore::cacheArgs(), RooAbsPdf::createNLL(), RooAbsArg::findNewServer(), RooAbsOptTestStatistic::optimizeConstantTerms(), RooChi2MCSModule::processAfterFit(), RooMinimizerFcn::RooMinimizerFcn(), RooMinuit::RooMinuit(), and RooProfileLL::validateAbsMin().

RooAbsCollection * RooAbsCollection::selectByName ( const char *  nameList,
Bool_t  verbose = kFALSE 
) const

Create a subset of the current collection, consisting only of those elements with names matching the wildcard expressions in nameList, supplied as a comma separated list.

Definition at line 733 of file RooAbsCollection.cxx.

Referenced by RooAbsReal::createHistogram(), and RooAbsPdf::plotOn().

RooAbsCollection * RooAbsCollection::selectCommon ( const RooAbsCollection refColl) const
void RooAbsCollection::setAttribAll ( const Text_t name,
Bool_t  value = kTRUE 
)

Set given attribute in each element of the collection by calling each elements setAttribute() function.

Definition at line 666 of file RooAbsCollection.cxx.

Referenced by RooAbsOptTestStatistic::initSlave(), RooAbsOptTestStatistic::optimizeConstantTerms(), RooDataSet::RooDataSet(), and RooMCStudy::RooMCStudy().

void RooAbsCollection::setHashTableSize ( Int_t  i)
inline
void RooAbsCollection::setName ( const char *  name)
inline
RooAbsCollection * RooAbsCollection::snapshot ( Bool_t  deepCopy = kTRUE) const

Take a snap shot of current collection contents: An owning collection is returned containing clones of.

  • Elements in this collection
  • External dependents of all elements and recursively any dependents of those dependents (if deepCopy flag is set)

If deepCopy is specified, the client-server links between the cloned list elements and the cloned external dependents are reconnected to each other, making the snapshot a completely self-contained entity.

Definition at line 197 of file RooAbsCollection.cxx.

Referenced by RooDataHist::add(), RooTreeDataStore::addColumns(), RooVectorDataStore::addColumns(), RooNumGenConfig::addConfigSection(), RooNumIntConfig::addConfigSection(), RooStats::ToyMCImportanceSampler::AddImportanceDensity(), RooStats::ToyMCImportanceSampler::AddNullDensity(), RooStats::SPlot::AddSWeight(), RooNormSetCache::autoCache(), RooSimPdfBuilder::buildPdf(), RooVectorDataStore::cacheArgs(), ClassImp(), RooMinuit::contour(), RooMinimizer::contour(), DoHypothesisTest(), RooProfileLL::evaluate(), RooStats::ProfileLikelihoodTestStat::EvaluateProfileLikelihood(), RooProdPdf::factorizeProduct(), RooSimultaneous::generateSimGlobal(), RooStats::AsymptoticCalculator::GetHypoTest(), RooStats::HypoTestCalculatorGeneric::GetHypoTest(), RooProdPdf::getPartIntList(), RooStats::ModelConfig::GetSnapshot(), RooWorkspace::import(), RooGenFitStudy::initialize(), RooStats::AsymptoticCalculator::Initialize(), RooStats::HistFactory::RooBarlowBeestonLL::initializeBarlowCache(), RooProdPdf::initializeFromCmdArgList(), RooAbsOptTestStatistic::initSlave(), RooTreeDataStore::loadValues(), OneSidedFrequentistUpperLimitWithBands(), RooNumIntConfig::operator=(), RooNumGenConfig::operator=(), RooFitResult::randomizePars(), RooStats::RatioOfProfiledLikelihoodsTestStat::RatioOfProfiledLikelihoodsTestStat(), RooStats::HypoTestInverter::RebuildDistributions(), RooVectorDataStore::recalculateCache(), RooRealIntegral::redirectServersHook(), RooDataHist::reduceEng(), RooAbsAnaConvPdf::RooAbsAnaConvPdf(), RooAbsGenContext::RooAbsGenContext(), RooAbsNumGenerator::RooAbsNumGenerator(), RooAbsOptTestStatistic::RooAbsOptTestStatistic(), RooAddGenContext::RooAddGenContext(), RooBinnedGenContext::RooBinnedGenContext(), RooConvGenContext::RooConvGenContext(), RooEffGenContext::RooEffGenContext(), RooFitResult::RooFitResult(), RooGenContext::RooGenContext(), RooGenProdProj::RooGenProdProj(), RooMCStudy::RooMCStudy(), RooMinimizerFcn::RooMinimizerFcn(), RooNumGenConfig::RooNumGenConfig(), RooNumIntConfig::RooNumIntConfig(), RooPlot::RooPlot(), RooProdPdf::RooProdPdf(), RooRealIntegral::RooRealIntegral(), RooWorkspace::RooWorkspace(), RooWorkspace::saveSnapshot(), RooStats::HypoTestResult::SetAllTestStatisticsData(), RooStats::SimpleLikelihoodRatioTestStat::SetAltParameters(), RooStats::FrequentistCalculator::SetConditionalMLEsAlt(), RooStats::FrequentistCalculator::SetConditionalMLEsNull(), RooFitResult::setConstParList(), RooFitResult::setFinalParList(), RooFitResult::setInitParList(), RooStats::SimpleLikelihoodRatioTestStat::SetNullParameters(), RooStats::ToyMCImportanceSampler::SetParametersForTestStat(), RooStats::ToyMCSampler::SetParametersForTestStat(), RooStats::SimpleLikelihoodRatioTestStat::SimpleLikelihoodRatioTestStat(), RooAbsData::split(), StandardFrequentistDiscovery(), RooAICRegistry::store(), RooAbsData::table(), TwoSidedFrequentistUpperLimitWithBands(), RooPlot::updateNormVars(), and RooProfileLL::validateAbsMin().

Bool_t RooAbsCollection::snapshot ( RooAbsCollection output,
Bool_t  deepCopy = kTRUE 
) const

Take a snap shot of current collection contents: An owning collection is returned containing clones of.

  • Elements in this collection
  • External dependents of all elements and recursively any dependents of those dependents (if deepCopy flag is set)

If deepCopy is specified, the client-server links between the cloned list elements and the cloned external dependents are reconnected to each other, making the snapshot a completely self-contained entity.

Definition at line 235 of file RooAbsCollection.cxx.

void RooAbsCollection::sort ( Bool_t  ascend = kTRUE)
inline
TNamed* RooAbsCollection::structureTag ( )
inlineprotected

Definition at line 175 of file RooAbsCollection.h.

void RooAbsCollection::takeOwnership ( )
inline

Definition at line 156 of file RooAbsCollection.h.

TNamed* RooAbsCollection::typedStructureTag ( )
inlineprotected

Definition at line 176 of file RooAbsCollection.h.

Friends And Related Function Documentation

friend class RooMultiCatIter
friend

Definition at line 162 of file RooAbsCollection.h.

Member Data Documentation

Bool_t RooAbsCollection::_allRRV
protected

Definition at line 168 of file RooAbsCollection.h.

Referenced by add(), addClone(), addOwned(), addServerClonesToList(), assignFast(), and replace().

RooLinkedList RooAbsCollection::_list
protected
TString RooAbsCollection::_name
protected

Definition at line 167 of file RooAbsCollection.h.

Referenced by GetName(), and setName().

Bool_t RooAbsCollection::_ownCont
protected
TNamed* RooAbsCollection::_structureTag
mutableprotected

Definition at line 178 of file RooAbsCollection.h.

Referenced by clearStructureTags(), and structureTag().

TNamed* RooAbsCollection::_typedStructureTag
mutableprotected

Structure tag.

Definition at line 179 of file RooAbsCollection.h.

Referenced by clearStructureTags(), and typedStructureTag().

Collaboration diagram for RooAbsCollection:
[legend]

The documentation for this class was generated from the following files: