DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Public Member Functions | Public Attributes | List of all members
dd4hep::VolumeExtension Class Reference

Implementation class extending the ROOT volume (TGeoVolume) More...

#include <Volumes.h>

Inheritance diagram for dd4hep::VolumeExtension:
TGeoExtension

Public Member Functions

virtual ~VolumeExtension ()
 Default destructor. More...
 
 VolumeExtension ()
 Default constructor. More...
 
 VolumeExtension (VolumeExtension &&copy)=delete
 No move. More...
 
 VolumeExtension (const VolumeExtension &copy)
 Copy constructor. More...
 
VolumeExtensionoperator= (VolumeExtension &&copy)=delete
 No move assignment. More...
 
VolumeExtensionoperator= (const VolumeExtension &copy)
 Copy assignment. More...
 
void copy (const VolumeExtension &c)
 Copy the object. More...
 
virtual TGeoExtensionGrab () override
 TGeoExtension overload: Method called whenever requiring a pointer to the extension. More...
 
virtual void Release () const override
 TGeoExtension overload: Method called always when the pointer to the extension is not needed anymore. More...
 
 ClassDefOverride (VolumeExtension, 200)
 Enable ROOT persistency. More...
 

Public Attributes

unsigned long magic = 0
 Magic word to detect memory corruptions. More...
 
long refCount = 0
 Reference count on object (used to implement Grab/Release) More...
 
int referenced = 0
 
int flags = 0
 Bit field to determine the usage. Bit 0...15 reserverd for system usage. 16...31 user space. More...
 
Region region
 Region reference. More...
 
LimitSet limits
 Limit sets used for simulation. More...
 
VisAttr vis
 Reference to visualization attributes. More...
 
Handle< NamedObjectsens_det
 Reference to the sensitive detector. More...
 
Handle< TGeoVolume > reflected
 Reference to the reflected volume (or to the original volume for reflections) More...
 
TList * properties { nullptr }
 Reference to properties. More...
 
unsigned char smartLess = 0xFF
 Geant4 optimization flag: Smartless. More...
 

Detailed Description

Implementation class extending the ROOT volume (TGeoVolume)

Internal data structure optional to TGeo data.

For any further documentation please see the following ROOT documentation:

See also
http://root.cern.ch/root/html/TGeoExtension.html
Author
M.Frank
Version
1.0

Definition at line 300 of file Volumes.h.

Constructor & Destructor Documentation

◆ ~VolumeExtension()

VolumeExtension::~VolumeExtension ( )
virtual

Default destructor.

Definition at line 559 of file Volumes.cpp.

◆ VolumeExtension() [1/3]

VolumeExtension::VolumeExtension ( )

Default constructor.

Definition at line 553 of file Volumes.cpp.

◆ VolumeExtension() [2/3]

dd4hep::VolumeExtension::VolumeExtension ( VolumeExtension &&  copy)
delete

No move.

◆ VolumeExtension() [3/3]

VolumeExtension::VolumeExtension ( const VolumeExtension copy)

Copy constructor.

Definition at line 569 of file Volumes.cpp.

Member Function Documentation

◆ ClassDefOverride()

dd4hep::VolumeExtension::ClassDefOverride ( VolumeExtension  ,
200   
)

Enable ROOT persistency.

◆ copy()

void VolumeExtension::copy ( const VolumeExtension c)

Copy the object.

Definition at line 580 of file Volumes.cpp.

◆ Grab()

TGeoExtension * VolumeExtension::Grab ( )
overridevirtual

TGeoExtension overload: Method called whenever requiring a pointer to the extension.

Definition at line 600 of file Volumes.cpp.

◆ operator=() [1/2]

VolumeExtension & VolumeExtension::operator= ( const VolumeExtension copy)

Copy assignment.

Definition at line 574 of file Volumes.cpp.

◆ operator=() [2/2]

VolumeExtension& dd4hep::VolumeExtension::operator= ( VolumeExtension &&  copy)
delete

No move assignment.

◆ Release()

void VolumeExtension::Release ( ) const
overridevirtual

TGeoExtension overload: Method called always when the pointer to the extension is not needed anymore.

Definition at line 613 of file Volumes.cpp.

Member Data Documentation

◆ flags

int dd4hep::VolumeExtension::flags = 0

Bit field to determine the usage. Bit 0...15 reserverd for system usage. 16...31 user space.

Definition at line 309 of file Volumes.h.

◆ limits

LimitSet dd4hep::VolumeExtension::limits

Limit sets used for simulation.

Definition at line 313 of file Volumes.h.

◆ magic

unsigned long dd4hep::VolumeExtension::magic = 0

Magic word to detect memory corruptions.

Definition at line 303 of file Volumes.h.

◆ properties

TList* dd4hep::VolumeExtension::properties { nullptr }

Reference to properties.

Definition at line 321 of file Volumes.h.

◆ refCount

long dd4hep::VolumeExtension::refCount = 0

Reference count on object (used to implement Grab/Release)

Definition at line 305 of file Volumes.h.

◆ referenced

int dd4hep::VolumeExtension::referenced = 0

Definition at line 307 of file Volumes.h.

◆ reflected

Handle<TGeoVolume> dd4hep::VolumeExtension::reflected

Reference to the reflected volume (or to the original volume for reflections)

Definition at line 319 of file Volumes.h.

◆ region

Region dd4hep::VolumeExtension::region

Region reference.

Definition at line 311 of file Volumes.h.

◆ sens_det

Handle<NamedObject> dd4hep::VolumeExtension::sens_det

Reference to the sensitive detector.

Definition at line 317 of file Volumes.h.

◆ smartLess

unsigned char dd4hep::VolumeExtension::smartLess = 0xFF

Geant4 optimization flag: Smartless.

Definition at line 323 of file Volumes.h.

◆ vis

VisAttr dd4hep::VolumeExtension::vis

Reference to visualization attributes.

Definition at line 315 of file Volumes.h.


The documentation for this class was generated from the following files: