Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion MC/bin/o2dpg_sim_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@
# power features (for playing) --> does not appear in help message
# help='Treat smaller sensors in a single digitization')
parser.add_argument('--pregenCollContext', action='store_true', help=argparse.SUPPRESS) # Now the default, giving this option or not makes not difference. We keep it for backward compatibility
parser.add_argument('--data-anchoring', type=str, default='', help="Take collision contexts (from data) stored in this path")
parser.add_argument('--no-combine-smaller-digi', action='store_true', help=argparse.SUPPRESS)
parser.add_argument('--no-combine-dpl-devices', action='store_true', help=argparse.SUPPRESS)
parser.add_argument('--no-mc-labels', action='store_true', default=False, help=argparse.SUPPRESS)
Expand Down Expand Up @@ -620,7 +621,8 @@ def getDPL_global_options(bigshm=False, ccdbbackend=True):
+ ' --extract-per-timeframe tf:sgn' \
+ ' --with-vertices ' + vtxmode_precoll \
+ ' --maxCollsPerTF ' + str(args.ns) \
+ ' --orbitsEarly ' + str(args.orbits_early)
+ ' --orbitsEarly ' + str(args.orbits_early) \
+ ('',f" --import-external {args.data_anchoring}")[len(args.data_anchoring) > 0]

PreCollContextTask['cmd'] += ' --bcPatternFile ccdb' # <--- the object should have been set in (local) CCDB
if includeQED:
Expand Down