From c56ecb3e64be9e91f917ce79f8c6e790b9f50f67 Mon Sep 17 00:00:00 2001 From: John Chapman <jchapman@cern.ch> Date: Mon, 15 Mar 2021 17:40:35 +0100 Subject: [PATCH] Add QuasiStableParticleRadius SimFlag. Particles decayed by the generator beyond this radius (mm) are considered to be quasi-stable particles and will be passed to Geant4 if quasi-stable particle simulation is activated. Default value 30.19 mm. This is the largest radius before the IBL, where there is a region with no material for most phi values. --- Simulation/G4Atlas/G4AtlasApps/python/atlas_flags.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Simulation/G4Atlas/G4AtlasApps/python/atlas_flags.py b/Simulation/G4Atlas/G4AtlasApps/python/atlas_flags.py index 642e4e9913e0..dbaa912fa879 100644 --- a/Simulation/G4Atlas/G4AtlasApps/python/atlas_flags.py +++ b/Simulation/G4Atlas/G4AtlasApps/python/atlas_flags.py @@ -419,3 +419,13 @@ class IsEventOverlayInputSim(JobProperty): allowedTypes = ['bool'] StoredValue = False +class QuasiStableParticleRadius(JobProperty): + """ + Particles decayed by the generator beyond this radius (mm) are + considered to be quasi-stable particles and will be passed to + Geant4 if quasi-stable particle simulation is activated. + """ + statusOn = True + allowedTypes = ['float'] + StoredValue = 30.19 # mm + -- GitLab