From 35c67f3ef656b7c82d479383f6944266059af5cb Mon Sep 17 00:00:00 2001 From: Sandro Wenzel Date: Fri, 3 Oct 2025 12:51:09 +0200 Subject: [PATCH] O2DPG: Fix vertex inconsistency between background and signal MC events Fixes https://its.cern.ch/jira/browse/O2-6368. The background events still sampled the vertex position from CCDB while it should have taken it from the pregenerated collision context. This commit rectifies this. --- MC/bin/o2dpg_sim_workflow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MC/bin/o2dpg_sim_workflow.py b/MC/bin/o2dpg_sim_workflow.py index 3972c577a..d54fce527 100755 --- a/MC/bin/o2dpg_sim_workflow.py +++ b/MC/bin/o2dpg_sim_workflow.py @@ -714,7 +714,7 @@ def getDPL_global_options(bigshm=False, ccdbbackend=True): + ' -g ' + str(GENBKG) + ' ' + str(MODULES) + ' -o bkg ' + str(INIBKG) \ + ' --field ccdb ' + str(CONFKEYBKG) \ + ('',' --timestamp ' + str(args.timestamp))[args.timestamp!=-1] + ' --run ' + str(args.run) \ - + ' --vertexMode kCCDB' \ + + ' --vertexMode ' + vtxmode_sgngen \ + ' --fromCollContext collisioncontext.root:bkg ' \ + ' --detectorList ' + args.detectorList