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

Class to read Geant4 geometry from GDML file. More...

#include <Geant4GDMLDetector.h>

Inheritance diagram for dd4hep::sim::Geant4GDMLDetector:
G4VUserDetectorConstruction

Public Member Functions

 Geant4GDMLDetector (const std::string &gdmlFile)
 Constructor to open gdml file. More...
 
virtual ~Geant4GDMLDetector ()
 Default destructor. More...
 
G4VPhysicalVolume * Construct () override
 

Private Attributes

std::string m_fileName
 
G4VPhysicalVolume * m_world { nullptr }
 

Detailed Description

Class to read Geant4 geometry from GDML file.

Author
M.Frank
Version
1.0

Definition at line 32 of file Geant4GDMLDetector.h.

Constructor & Destructor Documentation

◆ Geant4GDMLDetector()

dd4hep::sim::Geant4GDMLDetector::Geant4GDMLDetector ( const std::string &  gdmlFile)

Constructor to open gdml file.

Definition at line 26 of file Geant4GDMLDetector.cpp.

◆ ~Geant4GDMLDetector()

virtual dd4hep::sim::Geant4GDMLDetector::~Geant4GDMLDetector ( )
inlinevirtual

Default destructor.

Definition at line 38 of file Geant4GDMLDetector.h.

Member Function Documentation

◆ Construct()

G4VPhysicalVolume * dd4hep::sim::Geant4GDMLDetector::Construct ( )
override

Definition at line 30 of file Geant4GDMLDetector.cpp.

Member Data Documentation

◆ m_fileName

std::string dd4hep::sim::Geant4GDMLDetector::m_fileName
private

Definition at line 42 of file Geant4GDMLDetector.h.

◆ m_world

G4VPhysicalVolume* dd4hep::sim::Geant4GDMLDetector::m_world { nullptr }
private

Definition at line 43 of file Geant4GDMLDetector.h.


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