@@ -822,8 +822,14 @@ def getDigiTaskName(det):
822822 + " --track-sources " + anchorConfig .get ("o2-tof-matcher-workflow-options" ,{}).get ("track-sources" ,toftracksrcdefault ) + (' --combine-devices' ,'' )[args .no_combine_dpl_devices ]
823823 workflow ['stages' ].append (TOFTPCMATCHERtask )
824824
825- MFTRECOtask = createTask (name = 'mftreco_' + str (tf ), needs = [getDigiTaskName ("MFT" )], tf = tf , cwd = timeframeworkdir , lab = ["RECO" ], mem = '1500' )
826- MFTRECOtask ['cmd' ] = '${O2_ROOT}/bin/o2-mft-reco-workflow ' + getDPL_global_options () + putConfigValuesNew (['MFTTracking' , 'MFTAlpideParam' , 'ITSClustererParam' ,'MFTClustererParam' ])
825+ # MFT reco: needing access to kinematics (when assessment enabled)
826+ mftreconeeds = [getDigiTaskName ("MFT" )]
827+ if usebkgcache :
828+ mftreconeeds += [ BKG_KINEDOWNLOADER_TASK ['name' ] ]
829+
830+ MFTRECOtask = createTask (name = 'mftreco_' + str (tf ), needs = mftreconeeds , tf = tf , cwd = timeframeworkdir , lab = ["RECO" ], mem = '1500' )
831+ MFTRECOtask ['cmd' ] = ('' ,'ln -nfs ../bkg_Kine.root . ;' )[doembedding ]
832+ MFTRECOtask ['cmd' ] += '${O2_ROOT}/bin/o2-mft-reco-workflow ' + getDPL_global_options () + putConfigValuesNew (['MFTTracking' , 'MFTAlpideParam' , 'ITSClustererParam' ,'MFTClustererParam' ])
827833 if args .mft_assessment_full == True :
828834 MFTRECOtask ['cmd' ]+= ' --run-assessment '
829835 workflow ['stages' ].append (MFTRECOtask )
@@ -833,7 +839,7 @@ def getDigiTaskName(det):
833839 if usebkgcache :
834840 mchreconeeds += [ BKG_KINEDOWNLOADER_TASK ['name' ] ]
835841
836- MCHRECOtask = createTask (name = 'mchreco_' + str (tf ), needs = [ getDigiTaskName ( "MCH" )] , tf = tf , cwd = timeframeworkdir , lab = ["RECO" ], mem = '1500' )
842+ MCHRECOtask = createTask (name = 'mchreco_' + str (tf ), needs = mchreconeeds , tf = tf , cwd = timeframeworkdir , lab = ["RECO" ], mem = '1500' )
837843 MCHRECOtask ['cmd' ] = ('' ,'ln -nfs ../bkg_Kine.root . ;' )[doembedding ]
838844 MCHRECOtask ['cmd' ] += '${O2_ROOT}/bin/o2-mch-reco-workflow ' + getDPL_global_options () + putConfigValues ()
839845 workflow ['stages' ].append (MCHRECOtask )
0 commit comments