@@ -1210,6 +1210,7 @@ def getDigiTaskName(det):
12101210 MCHRECOtask ['cmd' ] = ('' ,'ln -nfs ../bkg_Kine.root . ;' )[doembedding ]
12111211 MCHRECOtask ['cmd' ] += '${O2_ROOT}/bin/o2-mch-reco-workflow ' + getDPL_global_options () + putConfigValues ()
12121212 MCHRECOtask ['cmd' ] += ('' ,' --disable-mc' )[args .no_mc_labels ]
1213+ MCHRECOtask ['cmd' ] += ' --enable-clusters-root-output'
12131214 workflow ['stages' ].append (MCHRECOtask )
12141215
12151216 MIDRECOtask = createTask (name = 'midreco_' + str (tf ), needs = [getDigiTaskName ("MID" )], tf = tf , cwd = timeframeworkdir , lab = ["RECO" ], mem = '1500' )
@@ -1452,6 +1453,32 @@ def addQCPerTF(taskName, needs, readerCommand, configFilePath, objectsFile=''):
14521453 needs = [MIDRECOtask ['name' ]],
14531454 readerCommand = 'o2-mid-digits-reader-workflow | o2-mid-tracks-reader-workflow' ,
14541455 configFilePath = 'json://${O2DPG_ROOT}/MC/config/QC/json/mid-task.json' )
1456+
1457+ ### MCH
1458+ if isActive ('MCH' ):
1459+ addQCPerTF (taskName = 'MCHDigitsTaskQC' ,
1460+ needs = [MCHRECOtask ['name' ]],
1461+ readerCommand = 'o2-mch-digits-reader-workflow' ,
1462+ configFilePath = 'json://${O2DPG_ROOT}/MC/config/QC/json/mch-digits-task.json' )
1463+ addQCPerTF (taskName = 'MCHErrorsTaskQC' ,
1464+ needs = [MCHRECOtask ['name' ]],
1465+ readerCommand = 'o2-mch-errors-reader-workflow' ,
1466+ configFilePath = 'json://${O2DPG_ROOT}/MC/config/QC/json/mch-errors-task.json' )
1467+ addQCPerTF (taskName = 'MCHRecoTaskQC' ,
1468+ needs = [MCHRECOtask ['name' ]],
1469+ readerCommand = 'o2-mch-reco-workflow' ,
1470+ configFilePath = 'json://${O2DPG_ROOT}/MC/config/QC/json/mch-reco-task.json' )
1471+ addQCPerTF (taskName = 'MCHTracksTaskQC' ,
1472+ needs = [MCHRECOtask ['name' ]],
1473+ readerCommand = 'o2-global-track-cluster-reader --track-types MCH --cluster-types MCH' ,
1474+ configFilePath = 'json://${O2DPG_ROOT}/MC/config/QC/json/mch-tracks-task.json' )
1475+
1476+ ### MCH + MID
1477+ if isActive ('MCH' ) and isActive ('MID' ):
1478+ addQCPerTF (taskName = 'MCHMIDTracksTaskQC' ,
1479+ needs = [MCHMIDMATCHtask ['name' ]],
1480+ readerCommand = 'o2-global-track-cluster-reader --track-types "MCH,MID,MCH-MID" --cluster-types "MCH,MID"' ,
1481+ configFilePath = 'json://${O2DPG_ROOT}/MC/config/QC/json/mchmid-tracks-task.json' )
14551482
14561483 #secondary vertexer
14571484 svfinder_threads = ' --threads 1 '
0 commit comments