From 61e364863587812a5f5a56f8b2fcaaca6c9375e9 Mon Sep 17 00:00:00 2001 From: lars Date: Mon, 9 Oct 2023 12:33:55 +0200 Subject: [PATCH] take sensors in layers --- bind/G4Calo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bind/G4Calo.py b/bind/G4Calo.py index d978d44..2959f39 100644 --- a/bind/G4Calo.py +++ b/bind/G4Calo.py @@ -82,7 +82,6 @@ class __G4System(_G4System): **ijk_cube, **material_dict[layer_material] )) - z0 += layer_z # @@ -113,7 +112,8 @@ class __G4System(_G4System): showlegend=False, )) - z0 += z + + z0 += layer_z