42 _owner->registerCache(*
this) ;
64 _owner->unRegisterCache(*
this) ;
74 _owner->unRegisterCache(*
this) ;
Common abstract base class for objects that represent a value and a "shape" in RooFit.
void registerCache(RooAbsCache &cache)
Register RooAbsCache with this object.
Abstract base class for data members of RooAbsArgs that cache other (composite) RooAbsArg expressions...
void setOwner(RooAbsArg *owner)
Reset the owner, triggering the owner to register this cache in its list of caches.
RooAbsArg * _owner
Pointer to owning RooAbsArg.
RooAbsCache(RooAbsArg *owner=nullptr)
Constructor. Takes owner as argument and register cache with owner.
virtual ~RooAbsCache()
Destructor. Unregisters cache with owner.