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

Implementation class extending the ROOT placed volume. More...

#include <Volumes.h>

Inheritance diagram for dd4hep::PlacedVolumeExtension:
TGeoExtension dd4hep::PlacedVolumeFeatureExtension

Classes

class  Parameterisation
 Optional parameters to implement special features such as parametrization. More...
 
class  VolIDs
 Volume ID container. More...
 

Public Types

typedef std::pair< std::string, int > VolID
 

Public Member Functions

 PlacedVolumeExtension ()
 Default constructor. More...
 
 PlacedVolumeExtension (PlacedVolumeExtension &&copy)
 Default move. More...
 
 PlacedVolumeExtension (const PlacedVolumeExtension &c)
 Copy constructor. More...
 
virtual ~PlacedVolumeExtension ()
 Default destructor. More...
 
PlacedVolumeExtensionoperator= (PlacedVolumeExtension &&copy)
 Move assignment. More...
 
PlacedVolumeExtensionoperator= (const PlacedVolumeExtension &copy)
 Assignment operator. 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 (PlacedVolumeExtension, 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...
 
Parameterisationparams { nullptr }
 Reference to the parameterised transformation. More...
 
VolIDs volIDs
 ID container. More...
 

Detailed Description

Implementation class extending the ROOT placed volume.

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 79 of file Volumes.h.

Member Typedef Documentation

◆ VolID

typedef std::pair<std::string, int> dd4hep::PlacedVolumeExtension::VolID

Definition at line 81 of file Volumes.h.

Constructor & Destructor Documentation

◆ PlacedVolumeExtension() [1/3]

PlacedVolumeExtension::PlacedVolumeExtension ( )

Default constructor.

Definition at line 354 of file Volumes.cpp.

◆ PlacedVolumeExtension() [2/3]

PlacedVolumeExtension::PlacedVolumeExtension ( PlacedVolumeExtension &&  copy)

Default move.

Definition at line 362 of file Volumes.cpp.

◆ PlacedVolumeExtension() [3/3]

PlacedVolumeExtension::PlacedVolumeExtension ( const PlacedVolumeExtension c)

Copy constructor.

Definition at line 368 of file Volumes.cpp.

◆ ~PlacedVolumeExtension()

PlacedVolumeExtension::~PlacedVolumeExtension ( )
virtual

Default destructor.

Definition at line 375 of file Volumes.cpp.

Member Function Documentation

◆ ClassDefOverride()

dd4hep::PlacedVolumeExtension::ClassDefOverride ( PlacedVolumeExtension  ,
200   
)

Enable ROOT persistency.

◆ Grab()

TGeoExtension * PlacedVolumeExtension::Grab ( )
overridevirtual

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

Definition at line 396 of file Volumes.cpp.

◆ operator=() [1/2]

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

Assignment operator.

Definition at line 388 of file Volumes.cpp.

◆ operator=() [2/2]

PlacedVolumeExtension & PlacedVolumeExtension::operator= ( PlacedVolumeExtension &&  copy)

Move assignment.

Definition at line 381 of file Volumes.cpp.

◆ Release()

void PlacedVolumeExtension::Release ( ) const
overridevirtual

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

Definition at line 405 of file Volumes.cpp.

Member Data Documentation

◆ magic

unsigned long dd4hep::PlacedVolumeExtension::magic { 0 }

Magic word to detect memory corruptions.

Definition at line 121 of file Volumes.h.

◆ params

Parameterisation* dd4hep::PlacedVolumeExtension::params { nullptr }

Reference to the parameterised transformation.

Definition at line 125 of file Volumes.h.

◆ refCount

long dd4hep::PlacedVolumeExtension::refCount { 0 }

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

Definition at line 123 of file Volumes.h.

◆ volIDs

VolIDs dd4hep::PlacedVolumeExtension::volIDs

ID container.

Definition at line 127 of file Volumes.h.


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