Skip to content

Commit 3b9b8ad

Browse files
committed
Add TPC Loopers collision system confKey
1 parent 8ac5992 commit 3b9b8ad

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

MC/bin/o2dpg_sim_workflow.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -941,8 +941,9 @@ def getDPL_global_options(bigshm=False, ccdbbackend=True, runcommand=True):
941941
SGNGENtask['cmd'] += ' ; RC=$? ; [[ ${RC} == 0 || ${RC} == 124 ]]'
942942
continue
943943

944-
# GeneratorFromO2Kine parameters are needed only before the transport
945-
CONFKEY = re.sub(r'GeneratorFromO2Kine.*?;', '', CONFKEY)
944+
# Adding TPC loopers collision system, while removing default extkinO2 config for sgnsim
945+
TPCLoopersConfig = ';GenTPCLoopers.colsys=' + COLTYPE
946+
CONFKEY = constructConfigKeyArg(create_geant_config(args, args.confKey + TPCLoopersConfig))
946947

947948
sgnmem = 6000 if COLTYPE == 'PbPb' else 4000
948949
SGNtask=createTask(name='sgnsim_'+str(tf), needs=signalneeds, tf=tf, cwd='tf'+str(tf), lab=["GEANT"],

0 commit comments

Comments
 (0)