From 4d2127f334a012d3487f089da5b60869aee57b9e Mon Sep 17 00:00:00 2001 From: Markus FRANK <Markus.Frank@cern.ch> Date: Mon, 23 Aug 2021 21:50:57 +0200 Subject: [PATCH] Allow for sensitive actions with multiple readout segmentation in the Geant4Sensitive action sequence --- .../scripts/CLIC_ECAL_Parallel_Readout.py | 20 +++++++++---------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/examples/CLICSiD/scripts/CLIC_ECAL_Parallel_Readout.py b/examples/CLICSiD/scripts/CLIC_ECAL_Parallel_Readout.py index 3a3e9d2ad..bc8180567 100644 --- a/examples/CLICSiD/scripts/CLIC_ECAL_Parallel_Readout.py +++ b/examples/CLICSiD/scripts/CLIC_ECAL_Parallel_Readout.py @@ -9,17 +9,16 @@ # # ========================================================================== # -""" - - Subtest using CLICSid showing the usage of the G4Particle gun using - the Geant4GeneratorWrapper object. - - @author M.Frank - @version 1.0 - -""" +# +# +# Subtest using CLICSid showing the usage of the G4Particle gun using +# the Geant4GeneratorWrapper object. +# +# @author M.Frank +# @version 1.0 +# +# ========================================================================== from __future__ import absolute_import, unicode_literals - import DDG4 import CLICSid from DDG4 import OutputLevel as Output @@ -60,7 +59,6 @@ def run(): # First use the default definition for the basic setup (and the first sensitive action) det = str('EcalBarrel') typ = sid.geant4.sensitive_types['calorimeter'] - print(sid.geant4.sensitive_types['calorimeter']) seq = DDG4.SensitiveSequence(sid.kernel, str('Geant4SensDetActionSequence/')+det) seq.enableUI() act = DDG4.SensitiveAction(sid.kernel, str(typ+'/EcalBarrelHandler'), det) -- GitLab