Skip to content

Commit f07de84

Browse files
committed
Add secondary vertexer
1 parent 7262248 commit f07de84

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

MC/bin/o2dpg_sim_workflow.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,10 +501,15 @@ def createRestDigiTask(name, det='ALLSMALLER'):
501501
# PVFINDERtask['cmd'] += ' --vertexing-sources "ITS,ITS-TPC,ITS-TPC-TOF" --vetex-track-matching-sources "ITS,ITS-TPC,ITS-TPC-TOF"'
502502
workflow['stages'].append(PVFINDERtask)
503503

504+
#secondary vertexer
505+
SVFINDERtask = createTask(name='svfinder_'+str(tf), needs=[PVFINDERtask['name']], tf=tf, cwd=timeframeworkdir, lab=["RECO"], cpu=1, mem='2000')
506+
SVFINDERtask['cmd'] = 'o2-secondary-vertexing-workflow ' + getDPL_global_options(nosmallrate=False)
507+
workflow['stages'].append(SVFINDERtask)
508+
504509
# -----------
505510
# produce AOD
506511
# -----------
507-
aodneeds = [PVFINDERtask['name'], TOFRECOtask['name'], TRDTRACKINGtask['name']]
512+
aodneeds = [PVFINDERtask['name'], SVFINDERtask['name'], TOFRECOtask['name'], TRDTRACKINGtask['name']]
508513
if usebkgcache:
509514
aodneeds += [ BKG_KINEDOWNLOADER_TASK['name'] ]
510515

0 commit comments

Comments
 (0)