12#ifndef ROOT_TGeoExtension
13#define ROOT_TGeoExtension
#define ClassDef(name, id)
#define ClassDefOverride(name, id)
ABC for user objects attached to TGeoVolume or TGeoNode.
virtual TGeoExtension * Grab()=0
virtual void Release() const =0
Reference counted extension which has a pointer to and owns a user defined TObject.
TGeoRCExtension(const TGeoRCExtension &)=delete
TGeoRCExtension & operator=(const TGeoRCExtension &)=delete
TObject * GetUserObject() const
virtual ~TGeoRCExtension()
void Release() const override
TGeoExtension * Grab() override
TGeoRCExtension(TObject *obj)
void SetUserObject(TObject *obj)
Mother of all ROOT objects.