Skip to content

Commit

Permalink
example: BoxOfStraws, simplify regex
Browse files Browse the repository at this point in the history
  • Loading branch information
andresailer committed Aug 9, 2024
1 parent e137f6d commit 3efee93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/ClientTests/scripts/BoxOfStraws.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 3efee93

Please sign in to comment.