Tool for the concrete implementation of a G4Atlas-based detector construction.
More...
#include "G4AtlasTools/G4AtlasDetectorConstructionTool.h"
|
| ToolHandle< IDetectorGeometryTool > | m_detTool {this, "World", "", "Tool handle of the top-of-the-tree detector geometry tool"} |
| ToolHandleArray< IRegionCreator > | m_regionCreators {this, "RegionCreators", {}, "Tools to define G4 physics regions"} |
| ToolHandleArray< IParallelWorldTool > | m_parallelWorlds {this, "ParallelWorlds", {} , "Tools to define G4 parallel worlds"} |
| ToolHandleArray< IG4GeometryConfigurationTool > | m_configurationTools {this, "GeometryConfigurationTools", {}, "Tools for geometry configuration"} |
| PublicToolHandle< ISensitiveDetectorMasterTool > | m_senDetTool {this, "SenDetMasterTool", "SensitiveDetectorMasterTool", ""} |
| PublicToolHandle< IFastSimulationMasterTool > | m_fastSimTool {this, "FastSimMasterTool", "FastSimulationMasterTool", ""} |
| ToolHandleArray< IFieldManagerTool > | m_fieldManagers {this, "FieldManagers", {}, "field managers used"} |
| PublicToolHandle< IG4CaloTransportTool > | m_G4CaloTransportTool {this, "G4CaloTransportTool", "", "Tool handle of the Geant4 transport tool for the FastCaloSim in Geant4 implementation"} |
| Gaudi::Property< bool > | m_activateParallelWorlds {this, "ActivateParallelWorlds", false, "Toggle on/off the G4 parallel geometry system"} |
| std::vector< std::string > | m_parallelWorldNames {} |
Tool for the concrete implementation of a G4Atlas-based detector construction.
- Author
- Andrea Dell'Acqua
- Date
- 2015-03-06
Definition at line 35 of file G4AtlasDetectorConstructionTool.h.
◆ G4AtlasDetectorConstructionTool()
| G4AtlasDetectorConstructionTool::G4AtlasDetectorConstructionTool |
( |
const std::string & | type, |
|
|
const std::string & | name, |
|
|
const IInterface * | parent ) |
◆ ~G4AtlasDetectorConstructionTool()
| G4AtlasDetectorConstructionTool::~G4AtlasDetectorConstructionTool |
( |
| ) |
|
|
default |
◆ GetDetectorConstruction()
| auto G4AtlasDetectorConstructionTool::GetDetectorConstruction |
( |
| ) |
|
|
finaloverridevirtual |
implements the following IDetectorConstructionTool methods
Definition at line 80 of file G4AtlasDetectorConstructionTool.cxx.
81 {
82 static_assert(std::has_virtual_destructor_v<G4VUserDetectorConstruction>,
83 "G4VUserDetectorConstruction must have a virtual destructor");
84 return {
86 [](G4VUserDetectorConstruction*
ptr) {
delete ptr; }};
87}
◆ GetParallelWorldNames()
| std::vector< std::string > & G4AtlasDetectorConstructionTool::GetParallelWorldNames |
( |
| ) |
|
|
finaloverridevirtual |
◆ initialize()
| StatusCode G4AtlasDetectorConstructionTool::initialize |
( |
| ) |
|
|
finaloverridevirtual |
Initialize method.
Definition at line 34 of file G4AtlasDetectorConstructionTool.cxx.
35{
36 ATH_MSG_DEBUG(
"Initializing Geometry configuration tools " );
38 {
41 }
42
45
48
51
54 {
56 }
57
59 {
62 {
64 }
65 }
66
69
71
72 return StatusCode::SUCCESS;
73}
#define ATH_CHECK
Evaluate an expression and check for errors.
◆ m_activateParallelWorlds
| Gaudi::Property<bool> G4AtlasDetectorConstructionTool::m_activateParallelWorlds {this, "ActivateParallelWorlds", false, "Toggle on/off the G4 parallel geometry system"} |
|
private |
◆ m_configurationTools
| ToolHandleArray<IG4GeometryConfigurationTool> G4AtlasDetectorConstructionTool::m_configurationTools {this, "GeometryConfigurationTools", {}, "Tools for geometry configuration"} |
|
private |
◆ m_detTool
| ToolHandle<IDetectorGeometryTool> G4AtlasDetectorConstructionTool::m_detTool {this, "World", "", "Tool handle of the top-of-the-tree detector geometry tool"} |
|
private |
◆ m_fastSimTool
| PublicToolHandle<IFastSimulationMasterTool> G4AtlasDetectorConstructionTool::m_fastSimTool {this, "FastSimMasterTool", "FastSimulationMasterTool", ""} |
|
private |
◆ m_fieldManagers
| ToolHandleArray<IFieldManagerTool> G4AtlasDetectorConstructionTool::m_fieldManagers {this, "FieldManagers", {}, "field managers used"} |
|
private |
◆ m_G4CaloTransportTool
| PublicToolHandle<IG4CaloTransportTool> G4AtlasDetectorConstructionTool::m_G4CaloTransportTool {this, "G4CaloTransportTool", "", "Tool handle of the Geant4 transport tool for the FastCaloSim in Geant4 implementation"} |
|
private |
Definition at line 78 of file G4AtlasDetectorConstructionTool.h.
78{this, "G4CaloTransportTool", "", "Tool handle of the Geant4 transport tool for the FastCaloSim in Geant4 implementation"};
◆ m_parallelWorldNames
| std::vector<std::string> G4AtlasDetectorConstructionTool::m_parallelWorldNames {} |
|
private |
◆ m_parallelWorlds
| ToolHandleArray<IParallelWorldTool> G4AtlasDetectorConstructionTool::m_parallelWorlds {this, "ParallelWorlds", {} , "Tools to define G4 parallel worlds"} |
|
private |
◆ m_regionCreators
| ToolHandleArray<IRegionCreator> G4AtlasDetectorConstructionTool::m_regionCreators {this, "RegionCreators", {}, "Tools to define G4 physics regions"} |
|
private |
◆ m_senDetTool
| PublicToolHandle<ISensitiveDetectorMasterTool> G4AtlasDetectorConstructionTool::m_senDetTool {this, "SenDetMasterTool", "SensitiveDetectorMasterTool", ""} |
|
private |
The documentation for this class was generated from the following files: