Skip to content

Commit 8768162

Browse files
committed
Add collision system overwriting option
1 parent 92074d3 commit 8768162

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

MC/bin/o2dpg_sim_workflow_anchored.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -650,8 +650,10 @@ def main():
650650
# needs to be handled as further below:
651651
energyarg = (" -eCM " + str(eCM)) if A1 == A2 else (" -eA " + str(eA) + " -eB " + str(eB))
652652
forwardargs += " -tf " + str(args.tf) + " --sor " + str(effective_run_start) + " --timestamp " + str(timestamp) + " --production-offset " + str(prod_offset) + " -run " + str(args.run_number) + " --run-anchored --first-orbit " \
653-
+ str(GLOparams["FirstOrbit"]) + " --orbitsPerTF " + str(GLOparams["OrbitsPerTF"]) + " -col " + str(ColSystem) + str(energyarg)
654-
# the following options can be overwritten/influence from the outside
653+
+ str(GLOparams["FirstOrbit"]) + " --orbitsPerTF " + str(GLOparams["OrbitsPerTF"]) + str(energyarg)
654+
# the following options can be overwritten/influenced from the outside
655+
if not '-col' in forwardargs:
656+
forwardargs += ' -col ' + ColSystem
655657
if not '--readoutDets' in forwardargs:
656658
forwardargs += ' --readoutDets ' + GLOparams['detList']
657659
if not '-field' in forwardargs:

0 commit comments

Comments
 (0)