Skip to content

Commit

Permalink
Adjusting AOD creation
Browse files Browse the repository at this point in the history
  • Loading branch information
sawenzel committed Mar 31, 2021
1 parent 84eaf39 commit 3c7abe0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions MC/bin/o2dpg_sim_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,10 +439,9 @@ def createRestDigiTask(name, det='ALLSMALLER'):
if usebkgcache:
aodneeds += [ BKG_KINEDOWNLOADER_TASK['name'] ]

AODtask = createTask(name='aod_'+str(tf), needs=aodneeds, tf=tf, cwd=timeframeworkdir, lab=["AOD"], mem='16000', cpu='1')
AODtask = createTask(name='aod_'+str(tf), needs=aodneeds, tf=tf, cwd=timeframeworkdir, lab=["AOD"], mem='5000', cpu='1')
AODtask['cmd'] = ('','ln -nfs ../bkg_Kine.root . ;')[doembedding]
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)
AODtask['cmd'] = 'echo \"hello\"' #-> skipping for moment since not optimized
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)
workflow['stages'].append(AODtask)

def trimString(cmd):
Expand Down

0 comments on commit 3c7abe0

Please sign in to comment.