52 TNamed(inName,desc), _owner(owner), _arg(0),
53 _valueServer(valueServer), _shapeServer(shapeServer), _ownArg(proxyOwnsArg)
67 TNamed(inName,desc), _owner(owner), _arg(&arg),
68 _valueServer(valueServer), _shapeServer(shapeServer), _ownArg(proxyOwnsArg)
81 _valueServer(other._valueServer), _shapeServer(other._shapeServer),
82 _isFund(other._isFund), _ownArg(other._ownArg)
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.
void unRegisterProxy(RooArgProxy &proxy)
Remove proxy from proxy list.
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 registerProxy(RooArgProxy &proxy)
Register an RooArgProxy in the proxy list.
virtual Bool_t isFundamental() const
virtual const char * name() const
virtual void changeDataSet(const RooArgSet *newNormSet)
Change the normalization set that should be offered to the content objects getVal() when evaluated...
void setProxyNormSet(const RooArgSet *nset)
Forward a change in the cached normalization argset to all the registered proxies.
RooAbsArg * first() const
The TNamed class is the base class for all named ROOT classes.
RooAbsProxy is the abstact interface for proxy classes.
virtual void changeNormSet(const RooArgSet *newNormSet)
Destructor.
virtual const char * GetName() const
Returns name of object.
virtual TObject * Clone(const char *newname=0) const
Make a clone of an object using the Streamer facility.
RooAbsCollection is an abstract container object that can hold multiple RooAbsArg objects...
RooArgProxy is the abstact interface for RooAbsArg proxy classes.
RooAbsArg * findNewServer(const RooAbsCollection &newSet, Bool_t nameChange) const
Find the new server in the specified set that matches the old server.
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 void print(std::ostream &os, Bool_t addContents=kFALSE) const
Print the name of the proxy on ostream.
virtual ~RooArgProxy()
Destructor.