class RooSetProxy: public RooArgSet, public RooAbsProxy



RooSetProxy is the concrete proxy for RooArgSet objects. A RooSetProxy is the general mechanism to store a RooArgSet with RooAbsArgs in a RooAbsArg. Creating a RooSetProxy adds all members of the proxied RooArgSet to the proxy owners server list (thus receiving value/shape dirty flags from it) and registers itself with the owning class. The latter allows the owning class to update the pointers of RooArgSet contents to reflect the serverRedirect changes.

Function Members (Methods)

public:
RooSetProxy()
RooSetProxy(const RooSetProxy&)
RooSetProxy(const char* name, RooAbsArg* owner, const RooSetProxy& other)
RooSetProxy(const char* name, const char* desc, RooAbsArg* owner, Bool_t defValueServer = kTRUE, Bool_t defShapeServer = kFALSE)
virtual~RooSetProxy()
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*addClone(const RooAbsArg& var, Bool_t silent = kFALSE)
virtual voidaddClone(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 = "")
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
static voidRooArgSet::cleanup()
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*RooArgSet::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
stringRooAbsCollection::contentsString() const
virtual voidTObject::Copy(TObject& object) const
virtual TObject*RooArgSet::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
Int_tRooArgSet::getCatIndex(const char* name, Int_t defVal = 0, Bool_t verbose = kFALSE) const
const char*RooArgSet::getCatLabel(const char* name, const char* defVal = "", Bool_t verbose = kFALSE) 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
Double_tRooArgSet::getRealValue(const char* name, Double_t defVal = 0, Bool_t verbose = kFALSE) const
Int_tRooAbsCollection::getSize() const
const char*RooArgSet::getStringValue(const char* name, const char* defVal = "", Bool_t verbose = kFALSE) const
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() 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
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
static voidoperator delete(void* ptr)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*operator new(size_t bytes)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
RooSetProxy&operator=(const RooArgSet& other)
RooSetProxy&operator=(const RooSetProxy&)
RooAbsArg&RooArgSet::operator[](const char* name) 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::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)
Bool_tRooArgSet::readFromFile(const char* fileName, const char* flagReadAtt = 0, const char* section = 0, Bool_t verbose = kFALSE)
virtual Bool_tRooArgSet::readFromStream(istream& is, Bool_t compact, Bool_t verbose = kFALSE)
Bool_tRooArgSet::readFromStream(istream& is, Bool_t compact, const char* flagReadAtt, const char* section, Bool_t verbose = kFALSE)
virtual voidTObject::RecursiveRemove(TObject* obj)
virtual Bool_tremove(const RooAbsArg& var, Bool_t silent = kFALSE, Bool_t matchByNameOnly = kFALSE)
Bool_tremove(const RooAbsCollection& list, 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(basic_ostream<char,char_traits<char> >& 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)
Bool_tRooArgSet::setCatIndex(const char* name, Int_t newVal = 0, Bool_t verbose = kFALSE)
Bool_tRooArgSet::setCatLabel(const char* name, const char* newVal = "", Bool_t verbose = kFALSE)
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)
Bool_tRooArgSet::setRealValue(const char* name, Double_t newVal = 0, Bool_t verbose = kFALSE)
Bool_tRooArgSet::setStringValue(const char* name, const char* newVal = "", Bool_t verbose = kFALSE)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
RooAbsCollection*RooAbsCollection::snapshot(Bool_t deepCopy = kTRUE) const
Bool_tRooAbsCollection::snapshot(RooAbsCollection& output, Bool_t deepCopy = kTRUE) const
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
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
voidRooArgSet::writeToFile(const char* fileName) const
virtual voidRooArgSet::writeToStream(ostream& os, Bool_t compact, const char* section = 0) const
protected:
Bool_tRooAbsCollection::addServerClonesToList(const RooAbsArg& var)
virtual voidRooAbsProxy::changeNormSet(const RooArgSet* newNormSet)
virtual Bool_tchangePointer(const RooAbsCollection& newServerSet, Bool_t nameChange = kFALSE)
Bool_tRooArgSet::checkForDup(const RooAbsArg& arg, Bool_t silent) const
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()
voidRooAbsCollection::safeDeleteList()

Data Members

public:
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
enum RooPrintable::ContentsOption { kName
kClassName
kValue
kArgs
kExtras
kAddress
kTitle
};
enum RooPrintable::StyleOption { kInline
kSingleLine
kStandard
kVerbose
kTreeStructure
};
protected:
Bool_t_defShapeServer
Bool_t_defValueServer
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*_owner
static char*RooArgSet::_poolBegin! Start of memory pool
static char*RooArgSet::_poolCur! Next free slot in memory pool
static char*RooArgSet::_poolEnd! End of memory pool

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

void* operator new(size_t bytes)
 Overload new operator must be implemented because it is overloaded
 in the RooArgSet base class. Perform standard memory allocation
 here instead of memory pool management performed in RooArgSet
void operator delete(void* ptr)
RooSetProxy(const char* name, const char* desc, RooAbsArg* owner, Bool_t defValueServer = kTRUE, Bool_t defShapeServer = kFALSE)
 Construct proxy with given name and description, with given owner
 The default value and shape dirty propagation of the set contents
 to the set owner is controlled by flags defValueServer and defShapeServer
RooSetProxy(const char* name, RooAbsArg* owner, const RooSetProxy& other)
 Copy constructor
~RooSetProxy()
 Destructor
Bool_t add(const RooAbsArg& var, Bool_t valueServer, Bool_t shapeServer, Bool_t silent)
 Overloaded RooArgSet::add() method insert object into set
 and registers object as server to owner with given value
 and shape dirty flag propagation requests
Bool_t addOwned(RooAbsArg& var, Bool_t silent)
 Overloaded RooArgSet::addOwned() method insert object into owning set
 and registers object as server to owner with default value
 and shape dirty flag propagation
RooAbsArg* addClone(const RooAbsArg& var, Bool_t silent)
 Overloaded RooArgSet::addClone() method insert clone of object into owning set
 and registers cloned object as server to owner with default value
 and shape dirty flag propagation
Bool_t add(const RooAbsArg& var, Bool_t silent)
 Overloaded RooArgSet::add() method inserts 'var' into set
 and registers 'var' as server to owner with default value
 and shape dirty flag propagation
Bool_t replace(const RooAbsArg& var1, const RooAbsArg& var2)
 Replace object 'var1' in set with 'var2'. Deregister var1 as
 server from owner and register var2 as server to owner with
 default value and shape dirty propagation flags
Bool_t remove(const RooAbsArg& var, Bool_t silent, Bool_t matchByNameOnly)
 Remove object 'var' from set and deregister 'var' as server to owner.
Bool_t remove(const RooAbsCollection& list, Bool_t silent, Bool_t matchByNameOnly)
 Remove each argument in the input list from our list using remove(const RooAbsArg&).
 and remove each argument as server to owner
void removeAll()
 Remove all argument inset using remove(const RooAbsArg&).
 and remove each argument as server to owner
RooSetProxy& operator=(const RooArgSet& other)
 Assign values of arguments on other set to arguments in this set
Bool_t changePointer(const RooAbsCollection& newServerSet, Bool_t nameChange = kFALSE)
 Process server change operation on owner. Replace elements in set with equally
 named objects in 'newServerList'
void print(ostream& os, Bool_t addContents = kFALSE) const
 Printing name of proxy on ostream. If addContents is true
 also print names of objects in set
RooSetProxy(const RooSetProxy& )
 Constructors, assignment etc.
{ _iter = createIterator() ; _owner = 0 ; }
RooSetProxy(const char* name, const char* desc, RooAbsArg* owner, Bool_t defValueServer = kTRUE, Bool_t defShapeServer = kFALSE)
const char* name()
{ 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)
RooAbsArg * addClone(const RooAbsArg& var, Bool_t silent=kFALSE)
RooSetProxy& operator=(const RooArgSet& other)

Last change: Wed Jun 25 08:34:11 2008
Last generated: 2008-06-25 08:34
Copyright (c) 2000-2005, Regents of the University of California *

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.