@@ -1247,6 +1247,7 @@ def getDigiTaskName(det):
12471247 MCHRECOtask ['cmd' ] = ('' ,'ln -nfs ../bkg_Kine.root . ;' )[doembedding ]
12481248 MCHRECOtask ['cmd' ] += '${O2_ROOT}/bin/o2-mch-reco-workflow ' + getDPL_global_options () + putConfigValues ()
12491249 MCHRECOtask ['cmd' ] += ('' ,' --disable-mc' )[args .no_mc_labels ]
1250+ MCHRECOtask ['cmd' ] += ' --enable-clusters-root-output'
12501251 workflow ['stages' ].append (MCHRECOtask )
12511252
12521253 MIDRECOtask = createTask (name = 'midreco_' + str (tf ), needs = [getDigiTaskName ("MID" )], tf = tf , cwd = timeframeworkdir , lab = ["RECO" ], mem = '1500' )
@@ -1489,6 +1490,47 @@ def addQCPerTF(taskName, needs, readerCommand, configFilePath, objectsFile=''):
14891490 needs = [MIDRECOtask ['name' ]],
14901491 readerCommand = 'o2-mid-digits-reader-workflow | o2-mid-tracks-reader-workflow' ,
14911492 configFilePath = 'json://${O2DPG_ROOT}/MC/config/QC/json/mid-task.json' )
1493+
1494+ ### MCH
1495+ if isActive ('MCH' ):
1496+ addQCPerTF (taskName = 'MCHDigitsTaskQC' ,
1497+ needs = [MCHRECOtask ['name' ]],
1498+ readerCommand = 'o2-mch-digits-reader-workflow' ,
1499+ configFilePath = 'json://${O2DPG_ROOT}/MC/config/QC/json/mch-digits-task.json' )
1500+ addQCPerTF (taskName = 'MCHErrorsTaskQC' ,
1501+ needs = [MCHRECOtask ['name' ]],
1502+ readerCommand = 'o2-mch-errors-reader-workflow' ,
1503+ configFilePath = 'json://${O2DPG_ROOT}/MC/config/QC/json/mch-errors-task.json' )
1504+ addQCPerTF (taskName = 'MCHRecoTaskQC' ,
1505+ needs = [MCHRECOtask ['name' ]],
1506+ readerCommand = 'o2-mch-reco-workflow --disable-root-output' ,
1507+ configFilePath = 'json://${O2DPG_ROOT}/MC/config/QC/json/mch-reco-task.json' )
1508+ addQCPerTF (taskName = 'MCHTracksTaskQC' ,
1509+ needs = [MCHRECOtask ['name' ]],
1510+ readerCommand = 'o2-global-track-cluster-reader --track-types MCH --cluster-types MCH' ,
1511+ configFilePath = 'json://${O2DPG_ROOT}/MC/config/QC/json/mch-tracks-task.json' )
1512+
1513+ ### MCH + MID
1514+ if isActive ('MCH' ) and isActive ('MID' ):
1515+ addQCPerTF (taskName = 'MCHMIDTracksTaskQC' ,
1516+ needs = [MCHMIDMATCHtask ['name' ]],
1517+ readerCommand = 'o2-global-track-cluster-reader --track-types "MCH,MID,MCH-MID" --cluster-types "MCH,MID"' ,
1518+ configFilePath = 'json://${O2DPG_ROOT}/MC/config/QC/json/mchmid-tracks-task.json' )
1519+
1520+
1521+ ### MCH && MFT
1522+ if isActive ('MCH' ) and isActive ('MFT' ) :
1523+ addQCPerTF (taskName = 'MCHMFTTaskQC' ,
1524+ needs = [MFTMCHMATCHtask ['name' ]],
1525+ readerCommand = 'o2-global-track-cluster-reader --track-types "MCH,MFT,MFT-MCH" --cluster-types "MCH,MFT"' ,
1526+ configFilePath = 'json://${O2DPG_ROOT}/MC/config/QC/json/mftmch-tracks-task.json' )
1527+
1528+ ### MCH && MID && MFT
1529+ if isActive ('MCH' ) and isActive ('MID' ) and isActive ('MFT' ) :
1530+ addQCPerTF (taskName = 'MUONTracksMFTTaskQC' ,
1531+ needs = [MFTMCHMATCHtask ['name' ], MCHMIDMATCHtask ['name' ]],
1532+ readerCommand = 'o2-global-track-cluster-reader --track-types "MFT,MCH,MID,MCH-MID,MFT-MCH,MFT-MCH-MID" --cluster-types "MCH,MID,MFT"' ,
1533+ configFilePath = 'json://${O2DPG_ROOT}/MC/config/QC/json/mftmchmid-tracks-task.json' )
14921534
14931535 #secondary vertexer
14941536 svfinder_threads = ' --threads 1 '
0 commit comments