Skip to content

ReDecay: modified post config action fixes

Dominik Muller requested to merge dmuller/redecay-config-fixes into master

Added Gauss/ReDecay-FullGenEventCutTool-fix.py to correctly configure FullGenEventCutTool for the instance of Generation used in the ReDecay part. Removed Gauss/ReDecay-SignalRepeatedHadronization-fix.py as the fix is included in Gauss since v49r8. Still applying it might eventually be harmful.

Question: While this new fix does absolutely nothing for probably 99% of all use-cases, accidentally missing it in cases where it is needed (i.e. when a FullGenEventCutTool is used) are difficult to detect as Gauss won't crash and happily produce incorrect events. I am wondering whether it might be easier for the user or the person creating the steps for production if all potential fixes are included via

from Gaudi.Configuration import importOptions
importOptions('$APPCONFIGOPTS/Gauss/ReDecay-FullGenEventCutTool-fix.py')

within the files activating ReDecay: $APPCONFIGOPTS/Gauss/ReDecay-100times.py, $APPCONFIGOPTS/Gauss/ReDecay-50times.py, and $APPCONFIGOPTS/Gauss/ReDecay-25times.py as the fix can eventually be removed once integrated into Gauss.

Merge request reports