Skip to content

Commit 35c67f3

Browse files
committed
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.
1 parent f1a5935 commit 35c67f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MC/bin/o2dpg_sim_workflow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,7 @@ def getDPL_global_options(bigshm=False, ccdbbackend=True):
714714
+ ' -g ' + str(GENBKG) + ' ' + str(MODULES) + ' -o bkg ' + str(INIBKG) \
715715
+ ' --field ccdb ' + str(CONFKEYBKG) \
716716
+ ('',' --timestamp ' + str(args.timestamp))[args.timestamp!=-1] + ' --run ' + str(args.run) \
717-
+ ' --vertexMode kCCDB' \
717+
+ ' --vertexMode ' + vtxmode_sgngen \
718718
+ ' --fromCollContext collisioncontext.root:bkg ' \
719719
+ ' --detectorList ' + args.detectorList
720720

0 commit comments

Comments
 (0)