ROOT logo
ROOT » ROOFIT » ROOFITCORE » RooListProxy

class RooListProxy: public RooArgList, public RooAbsProxy



RooListProxy is the concrete proxy for RooArgList objects. A RooListProxy is the only safe mechanism to store a RooArgList with RooAbsArg contents in another RooAbsArg.

The list proxy has the semantic of a RooArgList but also takes care of all bookkeeping required when composite objects are clone and client-server links need to be redirected.


Function Members (Methods)

public:
RooListProxy()
RooListProxy(const RooListProxy&)
RooListProxy(const char* name, RooAbsArg* owner, const RooListProxy& other)
RooListProxy(const char* name, const char* desc, RooAbsArg* owner, Bool_t defValueServer = kTRUE, Bool_t defShapeServer = kFALSE)
virtual~RooListProxy()
voidTObject::AbstractMethod(const char* method) const
virtual Bool_tadd(const RooAbsArg& var, Bool_t silent = kFALSE)
virtual Bool_tadd(const RooAbsCollection& list, Bool_t silent = kFALSE)
virtual Bool_tadd(const RooAbsArg& var, Bool_t valueServer, Bool_t shapeServer, Bool_t silent)
virtual RooAbsArg*RooAbsCollection::addClone(const RooAbsArg& var, Bool_t silent = kFALSE)
virtual voidRooAbsCollection::addClone(const RooAbsCollection& list, Bool_t silent = kFALSE)
virtual Bool_taddOwned(RooAbsArg& var, Bool_t silent = kFALSE)
virtual Bool_taddOwned(const RooAbsCollection& list, Bool_t silent = kFALSE)
Bool_tRooAbsCollection::allInRange(const char* rangeSpec) const
virtual voidTObject::AppendPad(Option_t* option = "")
RooAbsCollection&RooAbsCollection::assignFast(const RooAbsCollection& other)
RooAbsCollection&RooAbsCollection::assignValueOnly(const RooAbsCollection& other, Bool_t oneSafe = kFALSE)
RooAbsArg*RooArgList::at(Int_t idx) const
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*RooArgList::clone(const char* newname) const
virtual TObject*RooAbsCollection::Clone(const char* newname = 0) const
virtual Int_tTObject::Compare(const TObject* obj) const
Bool_tRooAbsCollection::contains(const RooAbsArg& var) const
Bool_tRooAbsCollection::containsInstance(const RooAbsArg& var) const
stringRooAbsCollection::contentsString() const
virtual voidTObject::Copy(TObject& object) const
virtual TObject*RooArgList::create(const char* newname) const
TIterator*RooAbsCollection::createIterator(Bool_t dir = kIterForward) const
virtual Int_tRooAbsCollection::defaultPrintContents(Option_t* opt) const
static ostream&RooPrintable::defaultPrintStream(ostream* os = 0)
virtual RooPrintable::StyleOptionRooPrintable::defaultPrintStyle(Option_t* opt) const
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
voidRooAbsCollection::dump() const
virtual voidTObject::Dump() constMENU
Bool_tRooAbsCollection::equals(const RooAbsCollection& otherColl) const
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
RooAbsArg*RooAbsCollection::find(const char* name) const
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
RooAbsArg*RooAbsCollection::first() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
Int_tRooAbsCollection::getHashTableSize() const
virtual const char*TObject::GetIconName() const
virtual const char*RooAbsCollection::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
Int_tRooAbsCollection::getSize() const
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
Int_tRooArgList::index(const RooAbsArg* arg) const
Int_tRooArgList::index(const char* name) const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
Bool_tRooAbsCollection::isOwning() const
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
RooLinkedListIterRooAbsCollection::iterator(Bool_t dir = kIterForward) const
virtual voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual const char*name() const
static voidRooPrintable::nameFieldLength(Int_t newLen)
virtual Bool_tTObject::Notify()
const RooArgSet*RooAbsProxy::nset() const
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
RooListProxy&operator=(const RooArgList& other)
RooListProxy&operator=(const RooListProxy&)
RooAbsArg&RooArgList::operator[](Int_t idx) const
Bool_tRooAbsCollection::overlaps(const RooAbsCollection& otherColl) const
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidRooAbsCollection::Print(Option_t* options = 0) const
virtual voidprint(ostream& os, Bool_t addContents = kFALSE) const
virtual voidRooPrintable::printAddress(ostream& os) const
virtual voidRooPrintable::printArgs(ostream& os) const
virtual voidRooAbsCollection::printClassName(ostream& os) const
virtual voidRooPrintable::printExtras(ostream& os) const
voidRooAbsCollection::printLatex(ostream& ofs, Int_t ncol, const char* option = "NEYU", Int_t sigDigit = 1, const RooLinkedList& siblingLists = RooLinkedList(), const RooCmdArg* formatCmd = 0) const
voidRooAbsCollection::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
virtual voidRooAbsCollection::printMultiline(ostream& os, Int_t contents, Bool_t verbose = kFALSE, TString indent = "") const
virtual voidRooAbsCollection::printName(ostream& os) const
virtual voidRooPrintable::printStream(ostream& os, Int_t contents, RooPrintable::StyleOption style, TString indent = "") const
virtual voidRooAbsCollection::printTitle(ostream& os) const
virtual voidRooPrintable::printTree(ostream& os, TString indent = "") const
virtual voidRooAbsCollection::printValue(ostream& os) const
virtual Int_tTObject::Read(const char* name)
virtual Bool_tRooArgList::readFromStream(istream& is, Bool_t compact, Bool_t verbose = kFALSE)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidRooAbsCollection::releaseOwnership()
virtual Bool_tremove(const RooAbsArg& var, Bool_t silent = kFALSE, Bool_t matchByNameOnly = kFALSE)
virtual voidremoveAll()
virtual Bool_treplace(const RooAbsArg& var1, const RooAbsArg& var2)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
RooAbsCollection*RooAbsCollection::selectByAttrib(const char* name, Bool_t value) const
RooAbsCollection*RooAbsCollection::selectByName(const char* nameList, Bool_t verbose = kFALSE) const
RooAbsCollection*RooAbsCollection::selectCommon(const RooAbsCollection& refColl) const
voidRooAbsCollection::setAttribAll(const Text_t* name, Bool_t value = kTRUE)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidRooAbsCollection::setHashTableSize(Int_t i)
voidRooAbsCollection::setName(const char* name)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp)
RooAbsCollection*RooAbsCollection::snapshot(Bool_t deepCopy = kTRUE) const
Bool_tRooAbsCollection::snapshot(RooAbsCollection& output, Bool_t deepCopy = kTRUE) const
voidRooArgList::sort(Bool_t reverse = kFALSE)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
voidRooAbsCollection::takeOwnership()
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
virtual voidRooArgList::writeToStream(ostream& os, Bool_t compact)
protected:
Bool_tRooAbsCollection::addServerClonesToList(const RooAbsArg& var)
virtual voidRooAbsProxy::changeNormSet(const RooArgSet* newNormSet)
virtual Bool_tchangePointer(const RooAbsCollection& newServerSet, Bool_t nameChange = kFALSE, Bool_t factoryInitMode = kFALSE)
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()
voidRooAbsCollection::safeDeleteList()

Data Members

protected:
Bool_t_defShapeServerPropagate shape dirty flags?
Bool_t_defValueServerPropagate value dirty flags?
TIterator*_iter! do not persist
RooLinkedListRooAbsCollection::_listActual object store
TStringRooAbsCollection::_nameOur name.
static Int_tRooPrintable::_nameLength
RooArgSet*RooAbsProxy::_nset! Normalization set to be used for evaluation of RooAbsPdf contents
Bool_tRooAbsCollection::_ownContFlag to identify a list that owns its contents.
RooAbsArg*_ownerPointer to owner

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

RooListProxy(const char* name, const char* desc, RooAbsArg* owner, Bool_t defValueServer = kTRUE, Bool_t defShapeServer = kFALSE)
 Constructor with proxy name, description and pointer to ownder of
 the RooListProxy. The default strategy for value/shape dirty flag
 propagation of the list contents to the list owner is controlled
 by the defValueServer and defShapeServer flags.
RooListProxy(const char* name, RooAbsArg* owner, const RooListProxy& other)
 Copy constructor with name of proxy, pointer to owner of this proxy and
 reference to list proxy to be copied
~RooListProxy()
 Destructor
Bool_t add(const RooAbsArg& var, Bool_t valueServer, Bool_t shapeServer, Bool_t silent)
 Add object to list with explicitl directives on value and shape dirty flag propagation
 of inserted object to list owner
Bool_t add(const RooAbsArg& var, Bool_t silent = kFALSE)
 Reimplementation of standard RooArgList::add()
Bool_t addOwned(RooAbsArg& var, Bool_t silent = kFALSE)
 Reimplementation of standard RooArgList::addOwned()
Bool_t replace(const RooAbsArg& var1, const RooAbsArg& var2)
 Reimplementation of standard RooArgList::replace()
Bool_t remove(const RooAbsArg& var, Bool_t silent = kFALSE, Bool_t matchByNameOnly = kFALSE)
 Reimplementation of standard RooArgList::remove()
void removeAll()
 Reimplementation of standard RooArgList::removeAll()
RooListProxy& operator=(const RooArgList& other)
 Reimplementation of standard RooArgList assignment operator
Bool_t changePointer(const RooAbsCollection& newServerSet, Bool_t nameChange = kFALSE, Bool_t factoryInitMode = kFALSE)
 Internal function that implements consequences of a server redirect on the
 owner. If the list contains any element with names identical to those in newServerList
 replace them with the instance in newServerList
void print(ostream& os, Bool_t addContents = kFALSE) const
 Print the name of the proxy, and if requested a summary of
 the contained elements as well
RooListProxy()
 Constructors, assignment etc.
{ _iter = createIterator() ; _owner=0 ; }
RooListProxy(const char* name, const char* desc, RooAbsArg* owner, Bool_t defValueServer = kTRUE, Bool_t defShapeServer = kFALSE)
const char* name() const
{ return GetName() ; }
Bool_t add(const RooAbsArg& var, Bool_t silent = kFALSE)
 List content management (modified for server hooks)
Bool_t addOwned(RooAbsArg& var, Bool_t silent = kFALSE)
RooListProxy& operator=(const RooArgList& other)