LDMX Software
|
Interface for a parser used to load a geometry into Geant4. More...
#include <Parser.h>
Public Member Functions | |
virtual G4VPhysicalVolume * | GetWorldVolume ()=0 |
Pure virtual method used to retrieve the G4VPhysicalVolume associated with the most top-level (world) volume. | |
virtual std::string | getDetectorName ()=0 |
Get the name of the parsed detector. | |
virtual void | read ()=0 |
Parse the detector geometry and read it into memory. | |
Interface for a parser used to load a geometry into Geant4.
This will be used by a parser factory class to spawn an instance of the desired parser.
|
pure virtual |
Get the name of the parsed detector.
This name is typically extracted from the file containing the detector description.
Implemented in simcore::geo::GDMLParser.
Referenced by simcore::DetectorConstruction::getDetectorName().
|
pure virtual |
Pure virtual method used to retrieve the G4VPhysicalVolume associated with the most top-level (world) volume.
Implemented in simcore::geo::GDMLParser.
Referenced by simcore::DetectorConstruction::Construct().
|
pure virtual |
Parse the detector geometry and read it into memory.
Implemented in simcore::geo::GDMLParser.