52 TNamed(inName,desc), _owner(owner), _arg(0),
53 _valueServer(valueServer), _shapeServer(shapeServer), _ownArg(proxyOwnsArg)
115 if (newArg==
_owner) newArg = 0 ;
116 }
else if (factoryInitMode) {
117 newArg = newServerList.
first() ;
126 if (initEmpty && !factoryInitMode)
return kTRUE ;
151 if (
_arg && addContents) {
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 const char * GetName() const
Returns name of object.
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, which is interpreted as an OR of 'enum ContentsOptions' values and in the style given by 'enum StyleOption'.
void unRegisterProxy(RooArgProxy &proxy)
Remove proxy from proxy list.
void registerProxy(RooArgProxy &proxy)
Register an RooArgProxy in the proxy list.
virtual void changeDataSet(const RooArgSet *newNormSet)
Change the normalization set that should be offered to the content objects getVal() when evaluated...
virtual TObject * Clone(const char *newname=0) const
Make a clone of an object using the Streamer facility.
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.
The TNamed class is the base class for all named ROOT classes.
virtual Bool_t isFundamental() const
virtual const char * name() const
RooAbsArg * first() const
RooAbsProxy is the abstact interface for proxy classes.
virtual void changeNormSet(const RooArgSet *newNormSet)
Destructor.
virtual void print(std::ostream &os, Bool_t addContents=kFALSE) const
Print the name of the proxy on ostream.
RooAbsCollection is an abstract container object that can hold multiple RooAbsArg objects...
RooArgProxy is the abstact interface for RooAbsArg proxy classes.
RooAbsArg is the common abstract base class for objects that represent a value (of arbitrary type) an...
void addServer(RooAbsArg &server, Bool_t valueProp=kTRUE, Bool_t shapeProp=kFALSE)
Register another RooAbsArg as a server to us, ie, declare that we depend on it.
virtual ~RooArgProxy()
Destructor.