Docs | All | Real | Category | PDF | DataSet | Plot | Container | Misc | Aux | User

RooFit Toolkit for Data Modeling
#include "RooArgList.hh"

RooArgList


class description - source file - inheritance tree (.pdf)

class RooArgList : public RooAbsCollection

Inheritance Chart:
TObject
RooPrintable
<-
RooAbsCollection
<-
RooArgList
<-
RooListProxy

    public:
RooArgList() RooArgList(const RooArgSet& set) RooArgList(const TCollection& tcoll, const char* name = "") RooArgList(const char* name) RooArgList(const RooAbsArg& var1, const char* name = "") RooArgList(const RooAbsArg& var1, const RooAbsArg& var2, const char* name = "") RooArgList(const RooAbsArg& var1, const RooAbsArg& var2, const RooAbsArg& var3, const char* name = "") RooArgList(const RooAbsArg& var1, const RooAbsArg& var2, const RooAbsArg& var3, const RooAbsArg& var4, const char* name = "") RooArgList(const RooAbsArg& var1, const RooAbsArg& var2, const RooAbsArg& var3, const RooAbsArg& var4, const RooAbsArg& var5, const char* name = "") RooArgList(const RooAbsArg& var1, const RooAbsArg& var2, const RooAbsArg& var3, const RooAbsArg& var4, const RooAbsArg& var5, const RooAbsArg& var6, const char* name = "") RooArgList(const RooAbsArg& var1, const RooAbsArg& var2, const RooAbsArg& var3, const RooAbsArg& var4, const RooAbsArg& var5, const RooAbsArg& var6, const RooAbsArg& var7, const char* name = "") RooArgList(const RooAbsArg& var1, const RooAbsArg& var2, const RooAbsArg& var3, const RooAbsArg& var4, const RooAbsArg& var5, const RooAbsArg& var6, const RooAbsArg& var7, const RooAbsArg& var8, const char* name = "") RooArgList(const RooAbsArg& var1, const RooAbsArg& var2, const RooAbsArg& var3, const RooAbsArg& var4, const RooAbsArg& var5, const RooAbsArg& var6, const RooAbsArg& var7, const RooAbsArg& var8, const RooAbsArg& var9, const char* name = "") RooArgList(const RooArgList& other, const char* name = "") virtual ~RooArgList() RooAbsArg* at(Int_t idx) const static TClass* Class() virtual TObject* clone(const char* newname) const virtual TObject* create(const char* newname) const Int_t index(const RooAbsArg* arg) const virtual TClass* IsA() const RooArgList& operator=(const RooArgList& other) RooAbsArg& operator[](Int_t idx) const virtual Bool_t readFromStream(istream& is, Bool_t compact, Bool_t verbose = kFALSE) virtual void ShowMembers(TMemberInspector& insp, char* parent) void sort(Bool_t reverse = kFALSE) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) virtual void writeToStream(ostream& os, Bool_t compact)

Data Members




Class Description

 RooArgList is a container object that can hold multiple RooAbsArg objects.
 The container has list semantics which means that:

  - Contained objects are ordered, The iterator
    follows the object insertion order.

  - Objects can be retrieved by name and index

  - Multiple objects with the same name are allowed

 Ownership of contents.

 Unowned objects are inserted with the add() method. Owned objects
 are added with addOwned() or addClone(). A RooArgSet either owns all
 of it contents, or none, which is determined by the first <add>
 call. Once an ownership status is selected, inappropriate <add> calls
 will return error status. Clearing the list via removeAll() resets the
 ownership status. Arguments supplied in the constructor are always added
 as unowned elements.



RooArgList() : RooAbsCollection()
 Default constructor

RooArgList(const RooArgSet& set) : RooAbsCollection(set.GetName())
 Constructor from a RooArgSet.

RooArgList(const char *name) : RooAbsCollection(name)
 Empty list constructor

RooArgList(const RooAbsArg& var1, const char *name) : RooAbsCollection(name)
 Constructor for list containing 1 initial object

RooArgList(const RooAbsArg& var1, const RooAbsArg& var2, const char *name) : RooAbsCollection(name)
 Constructor for set containing 2 initial objects

RooArgList(const RooAbsArg& var1, const RooAbsArg& var2, const RooAbsArg& var3, const char *name) : RooAbsCollection(name)
 Constructor for set containing 3 initial objects

RooArgList(const RooAbsArg& var1, const RooAbsArg& var2, const RooAbsArg& var3, const RooAbsArg& var4, const char *name) : RooAbsCollection(name)
 Constructor for set containing 4 initial objects

RooArgList(const RooAbsArg& var1, const RooAbsArg& var2, const RooAbsArg& var3, const RooAbsArg& var4, const RooAbsArg& var5, const char *name) : RooAbsCollection(name)
 Constructor for set containing 5 initial objects

RooArgList(const RooAbsArg& var1, const RooAbsArg& var2, const RooAbsArg& var3, const RooAbsArg& var4, const RooAbsArg& var5, const RooAbsArg& var6, const char *name) : RooAbsCollection(name)
 Constructor for set containing 6 initial objects

RooArgList(const RooAbsArg& var1, const RooAbsArg& var2, const RooAbsArg& var3, const RooAbsArg& var4, const RooAbsArg& var5, const RooAbsArg& var6, const RooAbsArg& var7, const char *name) : RooAbsCollection(name)
 Constructor for set containing 7 initial objects

RooArgList(const RooAbsArg& var1, const RooAbsArg& var2, const RooAbsArg& var3, const RooAbsArg& var4, const RooAbsArg& var5, const RooAbsArg& var6, const RooAbsArg& var7, const RooAbsArg& var8, const char *name) : RooAbsCollection(name)
 Constructor for set containing 8 initial objects

RooArgList(const RooAbsArg& var1, const RooAbsArg& var2, const RooAbsArg& var3, const RooAbsArg& var4, const RooAbsArg& var5, const RooAbsArg& var6, const RooAbsArg& var7, const RooAbsArg& var8, const RooAbsArg& var9, const char *name) : RooAbsCollection(name)
 Constructor for set containing 9 initial objects

RooArgList(const TCollection& tcoll, const char* name) : RooAbsCollection(name)
 Constructor from a root TCollection. Elements in the collection that
 do not inherit from RooAbsArg will be skipped. A warning message
 will be printed for every skipped item.

RooArgList(const RooArgList& other, const char *name) : RooAbsCollection(other,name)
 Copy constructor. Note that a copy of a list is always non-owning,
 even the source list is owning. To create an owning copy of
 a list (owning or not), use the snaphot() method.

~RooArgList()
 Destructor

void writeToStream(ostream& os, Bool_t compact)
 Write the contents of the argset in ASCII form to given stream.

 All elements will be printed on a single line separated by a single
 white space. The contents of each element is written by the arguments'
 writeToStream() function

Bool_t readFromStream(istream& is, Bool_t compact, Bool_t verbose)
 Read the contents of the argset in ASCII form from given stream.

 A single line is read, and all elements are assumed to be separated
 by white space. The value of each argument is read by the arguments
 readFromStream function.



Inline Functions


           TObject* clone(const char* newname) const
           TObject* create(const char* newname) const
        RooArgList& operator=(const RooArgList& other)
               void sort(Bool_t reverse = kFALSE)
              Int_t index(const RooAbsArg* arg) const
         RooAbsArg* at(Int_t idx) const
         RooAbsArg& operator[](Int_t idx) const
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)
Last CVS Update: v 1.16 2005/06/20 15:44:48 wverkerke Top
Copyright © 2000-2005 University of California, Stanford University

Page maintained by Wouter Verkerke and David Kirkby

SourceForge.net Logo