|
120 | 120 | parser.add_argument('--combine-tpc-clusterization', action='store_true', help=argparse.SUPPRESS) #<--- useful for small productions (pp, low interaction rate, small number of events) |
121 | 121 | parser.add_argument('--first-orbit', default=256, type=int, help=argparse.SUPPRESS) # to set the first orbit number of the run for HBFUtils (only used when anchoring); default 256 for convenience to allow for some orbits-early |
122 | 122 | # (consider doing this rather in O2 digitization code directly) |
123 | | -parser.add_argument('--orbits-early', default=0, type=float, help=argparse.SUPPRESS) # number of orbits to start simulating earlier |
| 123 | +parser.add_argument('--orbits-early', default=1, type=float, help=argparse.SUPPRESS) # number of orbits to start simulating earlier |
124 | 124 | # to reduce start of timeframe effects in MC --> affects collision context |
125 | 125 | 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) |
126 | 126 | parser.add_argument('--run-anchored', action='store_true', help=argparse.SUPPRESS) |
@@ -494,16 +494,17 @@ def getDPL_global_options(bigshm=False, ccdbbackend=True): |
494 | 494 | if doembedding: |
495 | 495 | interactionspecification = 'bkg,' + str(INTRATE) + ',' + str(NTIMEFRAMES*args.ns) + ':' + str(args.nb) + ' ' + signalprefix + ',' + args.embeddPattern |
496 | 496 |
|
497 | | -PreCollContextTask['cmd']='${O2_ROOT}/bin/o2-steer-colcontexttool -i ' + interactionspecification \ |
498 | | - + ' --show-context ' \ |
499 | | - + ' --timeframeID ' + str(int(args.production_offset)*NTIMEFRAMES) \ |
500 | | - + ' --orbitsPerTF ' + str(orbitsPerTF) \ |
501 | | - + ' --orbits ' + str(NTIMEFRAMES * (orbitsPerTF + math.ceil(args.orbits_early))) \ |
502 | | - + ' --seed ' + str(RNDSEED) \ |
503 | | - + ' --noEmptyTF --first-orbit ' + str(args.first_orbit - args.orbits_early) \ |
504 | | - + ' --extract-per-timeframe tf:sgn' \ |
505 | | - + ' --with-vertices ' + vtxmode \ |
506 | | - + ' --maxCollsPerTF ' + str(args.ns) |
| 497 | +PreCollContextTask['cmd']='${O2_ROOT}/bin/o2-steer-colcontexttool -i ' + interactionspecification \ |
| 498 | + + ' --show-context ' \ |
| 499 | + + ' --timeframeID ' + str(int(args.production_offset)*NTIMEFRAMES) \ |
| 500 | + + ' --orbitsPerTF ' + str(orbitsPerTF) \ |
| 501 | + + ' --orbits ' + str(NTIMEFRAMES * (orbitsPerTF)) \ |
| 502 | + + ' --seed ' + str(RNDSEED) \ |
| 503 | + + ' --noEmptyTF --first-orbit ' + str(args.first_orbit) \ |
| 504 | + + ' --extract-per-timeframe tf:sgn' \ |
| 505 | + + ' --with-vertices ' + vtxmode \ |
| 506 | + + ' --maxCollsPerTF ' + str(args.ns) \ |
| 507 | + + ' --orbitsEarly ' + str(args.orbits_early) |
507 | 508 |
|
508 | 509 | PreCollContextTask['cmd'] += ' --bcPatternFile ccdb' # <--- the object should have been set in (local) CCDB |
509 | 510 | if includeQED: |
|
0 commit comments