From 37d7bac572c40beab537189f34b107fa3134f269 Mon Sep 17 00:00:00 2001 From: Andre Sailer Date: Fri, 9 Aug 2024 09:51:32 +0200 Subject: [PATCH] example: BoxOfStraws, simplify regex --- examples/ClientTests/scripts/BoxOfStraws.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/ClientTests/scripts/BoxOfStraws.py b/examples/ClientTests/scripts/BoxOfStraws.py index f4f5d4a67..00cc33d03 100644 --- a/examples/ClientTests/scripts/BoxOfStraws.py +++ b/examples/ClientTests/scripts/BoxOfStraws.py @@ -73,7 +73,7 @@ def run(): seq, act = geant4.addDetectorConstruction('Geant4RegexSensitivesConstruction/ConstructSDRegEx') act.Detector = 'BoxOfStrawsDet' act.OutputLevel = Output.ALWAYS - act.Match = ['/world_volume_(.*)/BoxOfStrawsDet_(.*)/layer_(.*)/straw_(.*)/gas_(.*)'] + act.Match = ['gas_'] # seq, act = geant4.addDetectorConstruction('Geant4DetectorConstructionResources/ResourcesAfterConstruction') act.When = "sensitives"