51 TNamed(inName,desc), _owner(owner), _arg(0),
52 _valueServer(valueServer), _shapeServer(shapeServer), _ownArg(proxyOwnsArg)
66 TNamed(inName,desc), _owner(owner), _arg(&arg),
67 _valueServer(valueServer), _shapeServer(shapeServer), _ownArg(proxyOwnsArg)
80 _valueServer(other._valueServer), _shapeServer(other._shapeServer),
81 _isFund(other._isFund), _ownArg(other._ownArg)
111 const bool initEmpty =
_arg ==
nullptr;
115 if (newArg==
_owner) newArg =
nullptr;
116 }
else if (factoryInitMode) {
117 newArg = newServerList.
first() ;
132 if (initEmpty && !factoryInitMode)
return true;
133 return newArg !=
nullptr;
157 if (
_arg && addContents) {
RooAbsArg is the common abstract base class for objects that represent a value (of arbitrary type) an...
void registerProxy(RooArgProxy &proxy)
Register an RooArgProxy in the proxy list.
virtual TObject * Clone(const char *newname=0) const
Make a clone of an object using the Streamer facility.
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.
virtual Bool_t isFundamental() const
Is this object a fundamental type that can be added to a dataset? Fundamental-type subclasses overrid...
void setProxyNormSet(const RooArgSet *nset)
Forward a change in the cached normalization argset to all the registered proxies.
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.
RooAbsArg * first() const
RooAbsProxy is the abstact interface for proxy classes.
virtual void changeNormSet(const RooArgSet *newNormSet)
Destructor.
RooArgProxy is the abstract interface for RooAbsArg proxy classes.
virtual void changeDataSet(const RooArgSet *newNormSet)
Change the normalization set that should be offered to the content objects getVal() when evaluated.
virtual void print(std::ostream &os, Bool_t addContents=kFALSE) const
Print the name of the proxy on ostream.
virtual const char * name() const
virtual Bool_t changePointer(const RooAbsCollection &newServerSet, Bool_t nameChange=kFALSE, Bool_t factoryInitMode=kFALSE)
Change proxied object to object of same name in given list.
virtual ~RooArgProxy()
Destructor.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
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,...
The TNamed class is the base class for all named ROOT classes.
virtual const char * GetName() const
Returns name of object.