Skip to content

Commit 3c7abe0

Browse files
committed
Adjusting AOD creation
1 parent 84eaf39 commit 3c7abe0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

MC/bin/o2dpg_sim_workflow.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -439,10 +439,9 @@ def createRestDigiTask(name, det='ALLSMALLER'):
439439
if usebkgcache:
440440
aodneeds += [ BKG_KINEDOWNLOADER_TASK['name'] ]
441441

442-
AODtask = createTask(name='aod_'+str(tf), needs=aodneeds, tf=tf, cwd=timeframeworkdir, lab=["AOD"], mem='16000', cpu='1')
442+
AODtask = createTask(name='aod_'+str(tf), needs=aodneeds, tf=tf, cwd=timeframeworkdir, lab=["AOD"], mem='5000', cpu='1')
443443
AODtask['cmd'] = ('','ln -nfs ../bkg_Kine.root . ;')[doembedding]
444-
AODtask['cmd'] += 'o2-aod-producer-workflow --aod-writer-keep dangling --aod-writer-resfile \"AO2D\" --aod-writer-resmode UPDATE --aod-timeframe-id ' + str(tf) + ' ' + getDPL_global_options(bigshm=True)
445-
AODtask['cmd'] = 'echo \"hello\"' #-> skipping for moment since not optimized
444+
AODtask['cmd'] += 'o2-aod-producer-workflow --reco-mctracks-only 1 --aod-writer-keep dangling --aod-writer-resfile \"AO2D\" --aod-writer-resmode UPDATE --aod-timeframe-id ' + str(tf) + ' ' + getDPL_global_options(bigshm=True)
446445
workflow['stages'].append(AODtask)
447446

448447
def trimString(cmd):

0 commit comments

Comments
 (0)