16 const std::string& name,
17 const IInterface* parent)
20 declareProperty(
"ParticleBroker",
m_config.particleBroker,
"ISF Particle Broker Svc");
21 declareProperty(
"GeoIDSvc" ,
m_config.geoIDSvc ,
"ISF GeoID Svc" );
23 declareProperty(
"PassBackEkinThreshold",
25 "Ekin cut-off for particles returned to ISF");
26 declareProperty(
"KillBoundaryParticlesBelowThreshold",
27 m_config.killBoundaryParticlesBelowThreshold=
false,
28 "Kill particles at boundary which are below Ekin cut-off rather than continue their simulation in G4");
31 std::unique_ptr<TrackProcessorUserActionPassBack>
35 ATH_MSG_DEBUG(
"Constructing a TrackProcessorUserActionPassBack");
36 if(msgLvl(MSG::VERBOSE)) {
m_config.verboseLevel = 10; }
37 else if(msgLvl(MSG::DEBUG)) {
m_config.verboseLevel = 5; }
38 auto action = std::make_unique<TrackProcessorUserActionPassBack>(
m_config);
Struct for passing around user actions.
std::vector< G4UserTrackingAction * > trackingActions
std::vector< G4UserSteppingAction * > steppingActions
std::vector< G4UserEventAction * > eventActions