@@ -1378,13 +1378,13 @@ def getDigiTaskName(det):
13781378 if not isActive ('CTP' ):
13791379 # CTP digits won't be produced for this timeframe (CTP not in the readout detector list)
13801380 tpc_corr_scaling_options += ' --disable-ctp-lumi-request'
1381-
1381+
13821382 # why not simply?
13831383 # tpc_corr_scaling_options = ('--lumi-type 1', '')[tpcDistortionType != 0]
13841384
13851385 # at the moment MC is not ready for the sector edge fluctuations (RS: and does not use IDC but --disable-IDC-scalers can be added only once it is added by the CorrectionMapsOptions::addGlobalOptions)
13861386 tpc_corr_scaling_options += option_if_available ('o2-tpc-reco-workflow' , '--disable-sec-edge-fluc-correction' , envfile = async_envfile )
1387-
1387+
13881388 #<--------- TPC reco task
13891389 if includeTPCSyncMode :
13901390 tpcSyncreconeeds = tpcreconeeds .copy ()
@@ -1745,6 +1745,10 @@ def getDigiTaskName(det):
17451745 pvfinder_matching_sources = cleanDetectorInputList (pvfinder_matching_sources )
17461746
17471747 pvfinderneeds = [TRDTRACKINGtask2 ['name' ] if isActive ("TRD" ) else None ,
1748+ ITSRECOtask ['name' ] if isActive ("ITS" ) else None ,
1749+ TPCRECOtask ['name' ] if isActive ("TPC" ) else None ,
1750+ MFTRECOtask ['name' ] if isActive ("MFT" ) else None ,
1751+ MCHRECOtask ['name' ] if isActive ("MCH" ) else None ,
17481752 FT0RECOtask ['name' ] if isActive ("FT0" ) else None ,
17491753 FV0RECOtask ['name' ] if isActive ("FV0" ) else None ,
17501754 EMCRECOtask ['name' ] if isActive ("EMC" ) else None ,
@@ -1757,7 +1761,7 @@ def getDigiTaskName(det):
17571761 TOFTPCMATCHERtask ['name' ] if isActive ("TPC" ) and isActive ("TOF" ) else None ,
17581762 MFTMCHMATCHtask ['name' ] if isActive ("MFT" ) and isActive ("MCH" ) else None ,
17591763 MCHMIDMATCHtask ['name' ] if isActive ("MCH" ) and isActive ("MID" ) else None ]
1760- pvfinderneeds = [ p for p in pvfinderneeds if p != None ]
1764+ pvfinderneeds = [p for p in pvfinderneeds if p != None ]
17611765
17621766 PVFINDERtask = createTask (name = 'pvfinder_' + str (tf ), needs = pvfinderneeds , tf = tf , cwd = timeframeworkdir , lab = ["RECO" ], cpu = NWORKERS_TF , mem = '4000' )
17631767 PVFINDERtask ['cmd' ] = task_finalizer (
@@ -1810,7 +1814,8 @@ def getDigiTaskName(det):
18101814 aod_info_souces_default = 'ITS-TPC,TPC-TRD,ITS-TPC-TRD,TPC-TOF,ITS-TPC-TOF,TPC-TRD-TOF,ITS-TPC-TRD-TOF,MFT-MCH,MCH-MID,ITS,MFT,TPC,TOF,FT0,MID,EMC,PHS,CPV,ZDC,FDD,HMP,FV0,TRD,MCH,CTP'
18111815 aodinfosources = dpl_option_from_config (anchorConfig , 'o2-aod-producer-workflow' , '--info-sources' , default_value = aod_info_souces_default )
18121816 aodinfosources = cleanDetectorInputList (aodinfosources )
1813- aodneeds = [PVFINDERtask ['name' ], SVFINDERtask ['name' ]]
1817+ aodneeds = [PVFINDERtask ['name' ], SVFINDERtask ['name' ],
1818+ MIDRECOtask ['name' ] if isActive ("MID" ) else None ]
18141819
18151820 if usebkgcache :
18161821 aodneeds += [ BKG_KINEDOWNLOADER_TASK ['name' ] ]
0 commit comments