@@ -664,12 +664,20 @@ def createRestDigiTask(name, det='ALLSMALLER'):
664664 workflow ['stages' ].append (TRDDigitsQCtask )
665665
666666 ### RECO
667+ ### Primary vertex
667668 vertexQCneeds = [PVFINDERtask ['name' ]]
668669 vertexQCtask = createTask (name = 'vertexQC_local' + str (tf ), needs = vertexQCneeds , tf = tf , cwd = timeframeworkdir , lab = ["QC" ], cpu = 1 , mem = '2000' )
669670 vertexQCtask ['cmd' ] = 'o2-primary-vertex-reader-workflow | o2-qc --config json://${O2DPG_ROOT}/MC/config/QC/json/vertexing-qc-direct-mc.json --local-batch ../' + qcdir + '/vertexQC.root ' + getDPL_global_options ()
670671 vertexQCtask ['semaphore' ] = 'vertexQC'
671672 workflow ['stages' ].append (vertexQCtask )
672-
673+
674+ ### TOF matching
675+ TOFMatchQCneeds = [TOFTPCMATCHERtask ['name' ]]
676+ TOFMatchQCtask = createTask (name = 'TOFMatchQC_local' + str (tf ), needs = TOFMatchQCneeds , tf = tf , cwd = timeframeworkdir , lab = ["QC" ], cpu = 1 , mem = '2000' )
677+ TOFMatchQCtask ['cmd' ] = 'o2-global-track-cluster-reader --track-types "ITS-TPC-TOF,TPC-TOF,TPC" --cluster-types none | o2-qc --config json://${O2DPG_ROOT}/MC/config/QC/json/tofMatchedTracks_ITSTPCTOF_TPCTOF.json --local-batch ../' + qcdir + '/TOFMatchQC.root ' + getDPL_global_options ()
678+ TOFMatchQCtask ['semaphore' ] = 'TOFMatchQC'
679+ workflow ['stages' ].append (TOFMatchQCtask )
680+
673681
674682 #secondary vertexer
675683 SVFINDERtask = createTask (name = 'svfinder_' + str (tf ), needs = [PVFINDERtask ['name' ]], tf = tf , cwd = timeframeworkdir , lab = ["RECO" ], cpu = 1 , mem = '5000' )
@@ -749,6 +757,11 @@ def createRestDigiTask(name, det='ALLSMALLER'):
749757 vertexQCtask ['cmd' ] = 'o2-qc --config json://${O2DPG_ROOT}/MC/config/QC/json/vertexing-qc-direct-mc.json --remote-batch vertexQC.root ' + getDPL_global_options ()
750758 workflow ['stages' ].append (vertexQCtask )
751759
760+ TOFMatchQCneeds = ['TOFMatchQC_local' + str (tf ) for tf in range (1 , NTIMEFRAMES + 1 )]
761+ TOFMatchQCtask = createTask (name = 'TOFMatchQC_finalize' , needs = TOFMatchQCneeds , cwd = qcdir , lab = ["QC" ], cpu = 1 , mem = '2000' )
762+ TOFMatchQCtask ['cmd' ] = 'o2-qc --config json://${O2DPG_ROOT}/MC/config/QC/json/tofMatchedTracks_ITSTPCTOF_TPCTOF.json --remote-batch TOFMatchQC.root ' + getDPL_global_options ()
763+ workflow ['stages' ].append (TOFMatchQCtask )
764+
752765
753766dump_workflow (workflow ["stages" ], args .o )
754767
0 commit comments