41 _owner->registerCache(*
this) ;
63 _owner->unRegisterCache(*
this) ;
73 _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.
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.