15 #ifndef DD4HEP_DDG4_GEANT4MAPPING_H
16 #define DD4HEP_DDG4_GEANT4MAPPING_H
28 namespace Simulation {
99 #endif // DD4HEP_DDG4_GEANT4MAPPING_H
Handle class to hold the information of a sensitive detector.
Geometry::SensitiveDetector SensitiveDetector
Handle class holding a placed volume (also called physical volume)
The Geant4VolumeManager to facilitate optimized lookups of cell IDs from touchables.
Handle class describing a material.
Handle class describing an element in the periodic table.
Defintion of the object types used by generic geometry handlers.
Geometry::VisAttr VisAttr
Geometry::LimitSet LimitSet
Geometry::DetElement DetElement
Geant4GeometryInfo & init()
Create and attach new data block. Delete old data block if present.
Geant4Mapping(LCDD &lcdd)
Initializing Constructor.
Handle class holding a placed volume (also called physical volume)
Geant4GeometryInfo * ptr() const
Access to the data pointer.
void checkValidity() const
When resolving pointers, we must check for the validity of the data block.
virtual ~Geant4Mapping()
Standard destructor.
LCDD & lcdd() const
Accesor to the LCDD instance.
Geometry::Material Material
void attach(Geant4GeometryInfo *data)
Set a new data block.
Handle class describing visualization attributes.
Handle class describing a detector element.
Handle class describing a set of limits as they are used for simulation.
Handle class describing a region as used in simulation.
The main interface to the DD4hep detector description package.
Concreate class holding the relation information between geant4 objects and dd4hep objects...
Geometry mapping from DD4hep to Geant 4.
PlacedVolume placement(const G4VPhysicalVolume *node) const
Accessor to resolve geometry placements.
Geant4VolumeManager volumeManager() const
Access the volume manager.
Geant4GeometryInfo * m_dataPtr
static Geant4Mapping & instance()
Possibility to define a singleton instance.
Geant4GeometryInfo & data() const
Access to the data pointer.
Geometry::PlacedVolume PlacedVolume
Geant4GeometryInfo * detach()
Release data and pass over the ownership.