11 const std::string& name,
12 const IInterface* parent)
15 declareProperty(
"OutputPath",
m_config.path);
16 declareProperty(
"TargetVolume",
m_config.targetVolume);
17 declareProperty(
"Resolution",
m_config.res);
18 declareProperty(
"Tolerance",
m_config.tol);
19 declareProperty(
"Verbose",
m_config.verbose);
20 declareProperty(
"RunGeoTest",
m_config.volumeCheck);
21 declareProperty(
"MaxCopiesToCheck",
m_config.targetMaxCopiesToCheck);
22 declareProperty(
"DumpGDML",
m_config.dumpGDML);
23 declareProperty(
"DumpPhysicsRegions",
m_config.dumpPhysicsRegions);
24 declareProperty(
"PrintGeometry",
m_config.printGeo);
27 std::unique_ptr<VolumeDebugger>
31 auto action = std::make_unique<VolumeDebugger>(
m_config);
32 actionList.
runActions.push_back( action.get() );
a user action to debug G4 geometries
Struct for passing around user actions.
std::vector< G4UserRunAction * > runActions