#include <SimG4Common/include/SimG4Common/GdmlDetectorConstruction.h>
|
ServiceHandle< IMessageSvc > | m_msgSvc |
| Message Service.
|
|
MsgStream | m_log |
| Message Stream.
|
|
G4GDMLParser | m_parser |
| Parser of the GDML file.
|
|
std::string | m_fileName |
| name of the GDML file
|
|
◆ GdmlDetectorConstruction()
GdmlDetectorConstruction::GdmlDetectorConstruction |
( |
const std::string & | aFileName, |
|
|
bool | validate = false ) |
|
explicit |
Constructor.
- Parameters
-
[in] | aFileName | Name of the GDML file with the detector description. |
◆ ~GdmlDetectorConstruction()
GdmlDetectorConstruction::~GdmlDetectorConstruction |
( |
| ) |
|
|
virtual |
◆ Construct()
G4VPhysicalVolume * GdmlDetectorConstruction::Construct |
( |
| ) |
|
|
overridevirtual |
Create volumes using the GDML parser.
- Returns
- World wolume.
◆ ConstructSDandField()
void GdmlDetectorConstruction::ConstructSDandField |
( |
| ) |
|
|
overridevirtual |
Create sensitive detectors.
User needs to provide own implementation and attach appropriate information to the GDML file (that will connect volume with a sensitive detector type). See Geant examples/extended/persistency/gdml/G04 for further details.
◆ m_fileName
std::string sim::GdmlDetectorConstruction::m_fileName |
|
private |
◆ m_log
MsgStream sim::GdmlDetectorConstruction::m_log |
|
private |
◆ m_msgSvc
ServiceHandle<IMessageSvc> sim::GdmlDetectorConstruction::m_msgSvc |
|
private |
◆ m_parser
G4GDMLParser sim::GdmlDetectorConstruction::m_parser |
|
private |
The documentation for this class was generated from the following files: