You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WIP: Allow to generate events before timeframe start (#1768)
Introducing --orbits-early <N> option in MC workflow generation.
This, together with --pregenCollContext, will simulate events in the <N> orbits
before each timeframe start, so that (in particular TPC) readout sees
digits from the previous timeframe.
For now, this just accepts multiple orbits. Finer granularity will come.
Copy file name to clipboardExpand all lines: MC/bin/o2dpg_sim_workflow.py
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -118,6 +118,8 @@
118
118
parser.add_argument('--combine-tpc-clusterization', action='store_true', help=argparse.SUPPRESS) #<--- useful for small productions (pp, low interaction rate, small number of events)
119
119
parser.add_argument('--first-orbit', default=0, type=int, help=argparse.SUPPRESS) # to set the first orbit number of the run for HBFUtils (only used when anchoring)
120
120
# (consider doing this rather in O2 digitization code directly)
121
+
parser.add_argument('--orbits-early', default=0, type=int, help=argparse.SUPPRESS) # number of orbits to start simulating earlier
122
+
# to reduce start of timeframe effects in MC --> affects collision context
121
123
parser.add_argument('--sor', default=-1, type=int, help=argparse.SUPPRESS) # may pass start of run with this (otherwise it is autodetermined from run number)
parser.add_argument('--alternative-reco-software', default="", help=argparse.SUPPRESS) # power feature to set CVFMS alienv software version for reco steps (different from default)
0 commit comments