@@ -1239,6 +1239,7 @@ def getDigiTaskName(det):
12391239 MCHRECOtask ['cmd' ] = ('' ,'ln -nfs ../bkg_Kine.root . ;' )[doembedding ]
12401240 MCHRECOtask ['cmd' ] += '${O2_ROOT}/bin/o2-mch-reco-workflow ' + getDPL_global_options () + putConfigValues ()
12411241 MCHRECOtask ['cmd' ] += ('' ,' --disable-mc' )[args .no_mc_labels ]
1242+ MCHRECOtask ['cmd' ] += ' --enable-clusters-root-output'
12421243 workflow ['stages' ].append (MCHRECOtask )
12431244
12441245 MIDRECOtask = createTask (name = 'midreco_' + str (tf ), needs = [getDigiTaskName ("MID" )], tf = tf , cwd = timeframeworkdir , lab = ["RECO" ], mem = '1500' )
@@ -1481,6 +1482,47 @@ def addQCPerTF(taskName, needs, readerCommand, configFilePath, objectsFile=''):
14811482 needs = [MIDRECOtask ['name' ]],
14821483 readerCommand = 'o2-mid-digits-reader-workflow | o2-mid-tracks-reader-workflow' ,
14831484 configFilePath = 'json://${O2DPG_ROOT}/MC/config/QC/json/mid-task.json' )
1485+
1486+ ### MCH
1487+ if isActive ('MCH' ):
1488+ addQCPerTF (taskName = 'MCHDigitsTaskQC' ,
1489+ needs = [MCHRECOtask ['name' ]],
1490+ readerCommand = 'o2-mch-digits-reader-workflow' ,
1491+ configFilePath = 'json://${O2DPG_ROOT}/MC/config/QC/json/mch-digits-task.json' )
1492+ addQCPerTF (taskName = 'MCHErrorsTaskQC' ,
1493+ needs = [MCHRECOtask ['name' ]],
1494+ readerCommand = 'o2-mch-errors-reader-workflow' ,
1495+ configFilePath = 'json://${O2DPG_ROOT}/MC/config/QC/json/mch-errors-task.json' )
1496+ addQCPerTF (taskName = 'MCHRecoTaskQC' ,
1497+ needs = [MCHRECOtask ['name' ]],
1498+ readerCommand = 'o2-mch-reco-workflow --disable-root-output' ,
1499+ configFilePath = 'json://${O2DPG_ROOT}/MC/config/QC/json/mch-reco-task.json' )
1500+ addQCPerTF (taskName = 'MCHTracksTaskQC' ,
1501+ needs = [MCHRECOtask ['name' ]],
1502+ readerCommand = 'o2-global-track-cluster-reader --track-types MCH --cluster-types MCH' ,
1503+ configFilePath = 'json://${O2DPG_ROOT}/MC/config/QC/json/mch-tracks-task.json' )
1504+
1505+ ### MCH + MID
1506+ if isActive ('MCH' ) and isActive ('MID' ):
1507+ addQCPerTF (taskName = 'MCHMIDTracksTaskQC' ,
1508+ needs = [MCHMIDMATCHtask ['name' ]],
1509+ readerCommand = 'o2-global-track-cluster-reader --track-types "MCH,MID,MCH-MID" --cluster-types "MCH,MID"' ,
1510+ configFilePath = 'json://${O2DPG_ROOT}/MC/config/QC/json/mchmid-tracks-task.json' )
1511+
1512+
1513+ ### MCH && MFT
1514+ if isActive ('MCH' ) and isActive ('MFT' ) :
1515+ addQCPerTF (taskName = 'MCHMFTTaskQC' ,
1516+ needs = [MFTMCHMATCHtask ['name' ]],
1517+ readerCommand = 'o2-global-track-cluster-reader --track-types "MCH,MFT,MFT-MCH" --cluster-types "MCH,MFT"' ,
1518+ configFilePath = 'json://${O2DPG_ROOT}/MC/config/QC/json/mftmch-tracks-task.json' )
1519+
1520+ ### MCH && MID && MFT
1521+ if isActive ('MCH' ) and isActive ('MID' ) and isActive ('MFT' ) :
1522+ addQCPerTF (taskName = 'MUONTracksMFTTaskQC' ,
1523+ needs = [MFTMCHMATCHtask ['name' ], MCHMIDMATCHtask ['name' ]],
1524+ readerCommand = 'o2-global-track-cluster-reader --track-types "MFT,MCH,MID,MCH-MID,MFT-MCH,MFT-MCH-MID" --cluster-types "MCH,MID,MFT"' ,
1525+ configFilePath = 'json://${O2DPG_ROOT}/MC/config/QC/json/mftmchmid-tracks-task.json' )
14841526
14851527 #secondary vertexer
14861528 svfinder_threads = ' --threads 1 '
0 commit comments