|
DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Go to the documentation of this file.
13 #ifndef DDG4_GEANT4MAPPING_H
14 #define DDG4_GEANT4MAPPING_H
85 #endif // DDG4_GEANT4MAPPING_H
PlacedVolume placement(const G4VPhysicalVolume *node) const
Accessor to resolve geometry placements.
Geant4GeometryInfo & init()
Create and attach new data block. Delete old data block if present.
const Detector & detectorDescription() const
Accesor to the Detector instance.
Geant4GeometryInfo & data() const
Access to the data pointer.
Handle class holding a placed volume (also called physical volume)
virtual ~Geant4Mapping()
Standard destructor.
static Geant4Mapping & instance()
Possibility to define a singleton instance.
Geant4Mapping(const Detector &description)
Initializing Constructor.
Geometry mapping from dd4hep to Geant 4.
Geant4GeometryInfo * ptr() const
Access to the data pointer.
The Geant4VolumeManager to facilitate optimized lookups of cell IDs from touchables.
Geant4VolumeManager volumeManager() const
Access the volume manager.
const Detector & m_detDesc
Concreate class holding the relation information between geant4 objects and dd4hep objects.
void attach(Geant4GeometryInfo *data)
Set a new data block.
Geant4GeometryInfo * m_dataPtr
Namespace for the AIDA detector description toolkit.
The main interface to the dd4hep detector description package.
void checkValidity() const
When resolving pointers, we must check for the validity of the data block.
Geant4GeometryInfo * detach()
Release data and pass over the ownership.
Defintion of the object types used by generic geometry handlers.