32 bool valueServer,
bool shapeServer,
bool proxyOwnsArg=
false) ;
34 bool valueServer,
bool shapeServer,
bool proxyOwnsArg=
false) ;
51 const char*
name()
const override {
54 void print(std::ostream& os,
bool addContents=
false)
const override ;
73 bool changePointer(std::unordered_map<RooAbsArg*, RooAbsArg*>
const& replacements)
override;
#define ClassDefOverride(name, id)
Common abstract base class for objects that represent a value and a "shape" in RooFit.
Abstract container object that can hold multiple RooAbsArg objects.
Abstract interface for proxy classes.
Abstract interface for RooAbsArg proxy classes.
bool isShapeServer() const
Returns true if contents is shape server of owner.
void print(std::ostream &os, bool addContents=false) const override
Print the name of the proxy on ostream.
const char * name() const override
Return name of proxy.
RooAbsArg * _owner
Pointer to owner of proxy.
~RooArgProxy() override
Destructor.
bool _ownArg
If true proxy owns contents.
virtual void changeDataSet(const RooArgSet *newNormSet)
Change the normalization set that should be offered to the content objects getVal() when evaluated.
RooArgProxy()=default
Default constructor.
bool _isFund
If true proxy contains an lvalue.
bool _valueServer
If true contents is value server of owner.
RooAbsArg * absArg() const
Return pointer to contained argument.
RooAbsArg * owner() const
Returns the owner of this proxy.
RooArgProxy(RooArgProxy const &other)=delete
bool isValueServer() const
Returns true of contents is value server of owner.
RooAbsArg * _arg
Pointer to content of proxy.
bool _shapeServer
If true contents is shape server of owner.
RooArgProxy & operator=(RooArgProxy &&other)=delete
RooArgProxy & operator=(RooArgProxy const &other)=delete
RooArgProxy(RooArgProxy &&other)=delete
bool changePointer(const RooAbsCollection &newServerSet, bool nameChange=false, bool factoryInitMode=false) override
Change proxied object to object of same name in given list.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Performs hybrid numerical/analytical integrals of RooAbsReal objects.
The TNamed class is the base class for all named ROOT classes.
const char * GetName() const override
Returns name of object.