From 3a45e184e6b7f0b64b1f5901ed41b55dc375921c Mon Sep 17 00:00:00 2001 From: Andre Sailer <andre.philippe.sailer@cern.ch> Date: Wed, 5 May 2021 13:36:42 +0200 Subject: [PATCH] DDSim: clarify some message/docstring --- DDG4/python/DDSim/DD4hepSimulation.py | 2 +- DDG4/python/DDSim/Helper/Action.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DDG4/python/DDSim/DD4hepSimulation.py b/DDG4/python/DDSim/DD4hepSimulation.py index 1ccfa0cf4..81b064ad4 100644 --- a/DDG4/python/DDSim/DD4hepSimulation.py +++ b/DDG4/python/DDSim/DD4hepSimulation.py @@ -592,7 +592,7 @@ class DD4hepSimulation(object): logger.info(' replace default action with : %s', action) break if abortForMissingAction and action is None: - logger.error('Cannot find Action for detector %s. Extend "action.mapAction"', det) + logger.error('Cannot find Action for detector %s. You have to extend "action.mapAction"', det) raise RuntimeError("Cannot find Action") seq, act = setupFuction(det, type=action) self.filter.applyFilters(seq, det, defaultFilter) diff --git a/DDG4/python/DDSim/Helper/Action.py b/DDG4/python/DDSim/Helper/Action.py index e77265483..b046d3c3e 100644 --- a/DDG4/python/DDSim/Helper/Action.py +++ b/DDG4/python/DDSim/Helper/Action.py @@ -65,7 +65,7 @@ class Action(ConfigHelper): def mapActions(self): """Create a map of patterns and actions to be applied to sensitive detectors. - Example: if the name of the detector matches tpc the TPCSDAction is used. + Example: if the name of the detector matches 'tpc' the TPCSDAction is used. SIM.action.mapActions['tpc'] = "TPCSDAction" """ -- GitLab