47#ifdef USEMEMPOOLFORARGSET
54void* RooSetProxy::operator
new (
size_t bytes)
64void RooSetProxy::operator
delete (
void* ptr)
80 _defValueServer(defValueServer),
81 _defShapeServer(defShapeServer)
94 _defValueServer(other._defValueServer),
95 _defShapeServer(other._defShapeServer)
215 result |=
remove(*arg,silent,matchByNameOnly) ;
267 if (factoryInitMode) {
268 for (
const auto arg : newServerList) {
279 for (
const auto arg :
_list) {
297 os <<
name() <<
"=(" ;
RooAbsArg is the common abstract base class for objects that represent a value and a "shape" in RooFi...
Bool_t isValueServer(const RooAbsArg &arg) const
Check if this is serving values to arg.
void registerProxy(RooArgProxy &proxy)
Register an RooArgProxy in the proxy list.
Bool_t isShapeServer(const RooAbsArg &arg) const
Check if this is serving shape to arg.
void unRegisterProxy(RooArgProxy &proxy)
Remove proxy from proxy list.
void addServer(RooAbsArg &server, Bool_t valueProp=kTRUE, Bool_t shapeProp=kFALSE, std::size_t refCount=1)
Register another RooAbsArg as a server to us, ie, declare that we depend on it.
void removeServer(RooAbsArg &server, Bool_t force=kFALSE)
Unregister another RooAbsArg as a server to us, ie, declare that we no longer depend on its value and...
RooAbsArg * findNewServer(const RooAbsCollection &newSet, Bool_t nameChange) const
Find the new server in the specified set that matches the old server.
RooAbsCollection is an abstract container object that can hold multiple RooAbsArg objects.
virtual void removeAll()
Remove all arguments from our set, deleting them if we own them.
virtual Bool_t replace(const RooAbsArg &var1, const RooAbsArg &var2)
Replace var1 with var2 and return kTRUE for success.
virtual RooAbsArg * addClone(const RooAbsArg &var, Bool_t silent=kFALSE)
Add a clone of the specified argument to list.
virtual Bool_t add(const RooAbsArg &var, Bool_t silent=kFALSE)
Add the specified argument to list.
virtual Bool_t addOwned(RooAbsArg &var, Bool_t silent=kFALSE)
Add an argument and transfer the ownership to the collection.
virtual Bool_t remove(const RooAbsArg &var, Bool_t silent=kFALSE, Bool_t matchByNameOnly=kFALSE)
Remove the specified argument from our list.
TIterator * createIterator(Bool_t dir=kIterForward) const
TIterator-style iteration over contained elements.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
RooArgSet & operator=(const RooArgSet &other)
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,...
RooSetProxy is the concrete proxy for RooArgSet objects.
virtual Bool_t remove(const RooAbsArg &var, Bool_t silent=kFALSE, Bool_t matchByNameOnly=kFALSE) override
Remove object 'var' from set and deregister 'var' as server to owner.
RooSetProxy & operator=(const RooArgSet &other)
Assign values of arguments on other set to arguments in this set.
virtual Bool_t add(const RooAbsArg &var, Bool_t silent=kFALSE) override
Overloaded RooArgSet::add() method inserts 'var' into set and registers 'var' as server to owner with...
virtual ~RooSetProxy()
Destructor.
virtual Bool_t addOwned(RooAbsArg &var, Bool_t silent=kFALSE) override
Overloaded RooArgSet::addOwned() method insert object into owning set and registers object as server ...
virtual RooAbsArg * addClone(const RooAbsArg &var, Bool_t silent=kFALSE) override
Overloaded RooArgSet::addClone() method insert clone of object into owning set and registers cloned o...
virtual const char * name() const override
virtual Bool_t replace(const RooAbsArg &var1, const RooAbsArg &var2) override
Replace object 'var1' in set with 'var2'.
virtual void removeAll() override
Remove all argument inset using remove(const RooAbsArg&).
virtual Bool_t changePointer(const RooAbsCollection &newServerSet, Bool_t nameChange=kFALSE, Bool_t factoryInitMode=kFALSE) override
Process server change operation on owner.
virtual void print(std::ostream &os, Bool_t addContents=kFALSE) const override
Printing name of proxy on ostream.
Iterator abstract base class.
virtual TObject * Next()=0
static const UInt_t kObjectAllocMemValue