1#ifndef SIMG4COMPONENTS_G4GDMLDETECTOR_H
2#define SIMG4COMPONENTS_G4GDMLDETECTOR_H
5#include "GaudiKernel/AlgTool.h"
11#include "G4GDMLParser.hh"
23 explicit SimG4GdmlDetector(
const std::string& aType,
const std::string& aName,
const IInterface* aParent);
40 Gaudi::Property<std::string>
m_gdmlFile{
this,
"gdml",
"",
"name of the GDML file"};
42 Gaudi::Property<bool>
m_validate{
this,
"validateGDMLSchema",
false,
"try to validate the GDML schema"};
abstract interface to load G4VUserDetectorConstruction
Definition ISimG4DetectorConstruction.h:17
Detector construction tool using the GDML file.
Definition SimG4GdmlDetector.h:21
virtual G4VUserDetectorConstruction * detectorConstruction()
Get the initilization of the geometry.
Definition SimG4GdmlDetector.cpp:21
Gaudi::Property< bool > m_validate
Definition SimG4GdmlDetector.h:42
virtual ~SimG4GdmlDetector()
Definition SimG4GdmlDetector.cpp:16
Gaudi::Property< std::string > m_gdmlFile
name of the GDML file
Definition SimG4GdmlDetector.h:40
virtual StatusCode finalize()
Finalize.
Definition SimG4GdmlDetector.cpp:19
SimG4GdmlDetector(const std::string &aType, const std::string &aName, const IInterface *aParent)
Definition SimG4GdmlDetector.cpp:11
virtual StatusCode initialize()
Initialize.
Definition SimG4GdmlDetector.cpp:18