5#ifndef ISF_GEANT4TOOLS_G4LEGACYTRANSPORTTOOL_H
6#define ISF_GEANT4TOOLS_G4LEGACYTRANSPORTTOOL_H
11#include "GaudiKernel/ToolHandle.h"
12#include "GaudiKernel/ServiceHandle.h"
37#include <unordered_map>
72 virtual StatusCode
initialize() override final;
79 virtual StatusCode
finalize() override final;
91 ISF::ISFParticleContainer& secondaries,
96 const EventContext& ctx,
const ISF::ISFParticleVector& particles,
97 ISF::ISFParticleContainer& secondaries,
114 void commandLog(
int returnCode,
const std::string& commandString)
const;
122 Gaudi::Property<bool>
m_doTiming{
this,
"PrintTimingInfo",
true,
""};
133 std::unordered_map<ISF::ISFParticle const*, ISF::ISFParticleContainer>
141 this,
"McEventCollection",
"TruthEvent",
""};
144 this,
"G4RunManagerHelper",
145 "iGeant4::G4RunManagerHelper/G4RunManagerHelper",
""};
148 Gaudi::Property<std::string>
m_libList{
this,
"Dll",
"",
""};
149 Gaudi::Property<std::string>
m_physList{
this,
"Physics",
"",
""};
150 Gaudi::Property<std::string>
m_fieldMap{
this,
"FieldMap",
"",
""};
156 this,
"G4Commands", {},
"Commands to send to the G4UI"};
158 Gaudi::Property<bool>
m_useMT{
this,
"MultiThreading",
false,
159 "Multi-threading specific settings"};
161 this,
"ActivateParallelWorlds",
false,
162 "Toggle on/off the G4 parallel geometry system"};
171 "UserLimitsSvc",
""};
175 PublicToolHandle<IDetectorConstructionTool>
m_detConstruction{
this,
"DetectorConstruction",
"",
"Tool handle of the DetectorConstruction"};
178 this,
"InputConverter",
"ISF_InputConverter",
""};
181 "PhysicsListSvc",
""};
184 this,
"SenDetMasterTool",
"SensitiveDetectorMasterTool",
""};
187 this,
"FastSimMasterTool",
"FastSimulationMasterTool",
""};
188 PublicToolHandleArray<IPhysicsInitializationTool>
m_physicsInitializationTools{
this,
"PhysicsInitializationTools", {},
"Physics initialization happening after Geant4 initialization"};
Maintain a set of objects, one per slot.
Define macros for attributes used to control the static checker.
ATLAS custom singleton run manager.
Small wrapper around hit collection map to facilitate accessing the hit collection.
The generic ISF particle definition,.
This defines the McEventCollection, which is really just an ObjectVector of McEvent objectsFile: Gene...
Maintain a set of objects, one per slot.