@@ -749,7 +749,7 @@ def getDigiTaskName(det):
749749 # -----------
750750 tpcreconeeds = []
751751 if not args .combine_tpc_clusterization :
752- # We treat TPC clusterization in multiple (sector) steps in order to
752+ # We treat TPC clusterization in multiple (sector) steps in order to
753753 # stay within the memory limit or to parallelize over sector from outside (not yet supported within cluster algo)
754754 tpcclustertasks = []
755755 sectorpertask = 18
@@ -893,9 +893,36 @@ def getDigiTaskName(det):
893893 MFTMCHMATCHTraintask ['cmd' ]+= getDPL_global_options ()
894894 workflow ['stages' ].append (MFTMCHMATCHTraintask )
895895
896+ # Take None as default, we only add more if nothing from anchorConfig
897+ pvfinder_sources = anchorConfig .get ("o2-primary-vertexing-workflow-options" ,{}).get ("vertexing-sources" , None )
898+ pvfinder_matching_sources = anchorConfig .get ("o2-primary-vertexing-workflow-options" ,{}).get ("vertex-track-matching-sources" , None )
896899 pvfinderneeds = [ITSTPCMATCHtask ['name' ]]
900+ if not pvfinder_sources :
901+ pvfinder_sources = "ITS,ITS-TPC,ITS-TPC-TRD,ITS-TPC-TOF,ITS-TPC-TRD-TOF"
902+ if not pvfinder_matching_sources :
903+ pvfinder_matching_sources = "ITS,MFT,TPC,ITS-TPC,MCH,MFT-MCH,TPC-TOF,TPC-TRD,ITS-TPC-TRD,ITS-TPC-TOF,ITS-TPC-TRD-TOF"
904+ if isActive ("MID" ):
905+ pvfinder_matching_sources += ",MID"
906+ pvfinderneeds += [MIDRECOtask ['name' ]]
907+
897908 if isActive ('FT0' ):
898909 pvfinderneeds += [FT0RECOtask ['name' ]]
910+ pvfinder_matching_sources += ",FT0"
911+ if isActive ('FV0' ):
912+ pvfinderneeds += [FV0RECOtask ['name' ]]
913+ pvfinder_matching_sources += ",FV0"
914+ if isActive ('FDD' ):
915+ pvfinderneeds += [FT0RECOtask ['name' ]]
916+ pvfinder_matching_sources += ",FDD"
917+ if isActive ('EMC' ):
918+ pvfinderneeds += [EMCRECOtask ['name' ]]
919+ pvfinder_matching_sources += ",EMC"
920+ if isActive ('PHS' ):
921+ pvfinderneeds += [PHSRECOtask ['name' ]]
922+ pvfinder_matching_sources += ",PHS"
923+ if isActive ('CPV' ):
924+ pvfinderneeds += [CPVRECOtask ['name' ]]
925+ pvfinder_matching_sources += ",CPV"
899926 if isActive ('TOF' ):
900927 pvfinderneeds += [TOFTPCMATCHERtask ['name' ]]
901928 if isActive ('MFT' ):
@@ -909,19 +936,6 @@ def getDigiTaskName(det):
909936 if isActive ('MFT' ) and isActive ('MCH' ):
910937 pvfinderneeds += [MFTMCHMATCHtask ['name' ]]
911938
912- # Take None as default, we only add more if nothing from anchorConfig
913- pvfinder_sources = anchorConfig .get ("o2-primary-vertexing-workflow-options" ,{}).get ("vertexing-sources" , None )
914- pvfinder_matching_sources = anchorConfig .get ("o2-primary-vertexing-workflow-options" ,{}).get ("vertex-track-matching-sources" , None )
915- if not pvfinder_sources :
916- pvfinder_sources = "ITS,ITS-TPC,ITS-TPC-TRD,ITS-TPC-TOF"
917- if isActive ("MID" ):
918- pvfinder_sources += ",MID"
919- pvfinderneeds += [MIDRECOtask ['name' ]]
920- if not pvfinder_matching_sources :
921- pvfinder_matching_sources = "ITS,MFT,TPC,ITS-TPC,MCH,MFT-MCH,TPC-TOF,TPC-TRD,ITS-TPC-TRD,ITS-TPC-TOF"
922- if isActive ("MID" ):
923- pvfinder_matching_sources += ",MID"
924- pvfinderneeds += [MIDRECOtask ['name' ]]
925939
926940 PVFINDERtask = createTask (name = 'pvfinder_' + str (tf ), needs = pvfinderneeds , tf = tf , cwd = timeframeworkdir , lab = ["RECO" ], cpu = NWORKERS , mem = '4000' )
927941 PVFINDERtask ['cmd' ] = '${O2_ROOT}/bin/o2-primary-vertexing-workflow ' \
@@ -1043,7 +1057,7 @@ def addQCPerTF(taskName, needs, readerCommand, configFilePath, objectsFile=''):
10431057 # Take None as default, we only add more if nothing from anchorConfig
10441058 svfinder_sources = anchorConfig .get ("o2-secondary-vertexing-workflow-options" ,{}).get ("vertexing-sources" , None )
10451059 if not svfinder_sources :
1046- svfinder_sources = "ITS,ITS-TPC,TPC-TRD,TPC-TOF,ITS-TPC-TRD,ITS-TPC-TOF"
1060+ svfinder_sources = "ITS,ITS-TPC,TPC-TRD,TPC-TOF,ITS-TPC-TRD,ITS-TPC-TOF,ITS-TPC-TRD-TOF "
10471061 if isActive ("MID" ):
10481062 svfinder_sources += ",MID"
10491063 SVFINDERtask ['cmd' ] += ' --vertexing-sources ' + svfinder_sources + (' --combine-source-devices' ,'' )[args .no_combine_dpl_devices ]
@@ -1053,7 +1067,7 @@ def addQCPerTF(taskName, needs, readerCommand, configFilePath, objectsFile=''):
10531067 # produce AOD
10541068 # -----------
10551069 # TODO This needs further refinement, sources and dependencies should be constructed dynamically
1056- aodinfosources = 'ITS,MFT,MCH,TPC,ITS-TPC,MFT-MCH,ITS-TPC-TOF,TPC-TOF,FT0,FDD,CTP,TPC-TRD,ITS-TPC-TRD,EMC'
1070+ aodinfosources = 'ITS,MFT,MCH,TPC,ITS-TPC,MFT-MCH,ITS-TPC-TOF,TPC-TOF,FT0,FDD,CTP,TPC-TRD,ITS-TPC-TRD,ITS-TPC-TRD-TOF, EMC'
10571071 aodneeds = [PVFINDERtask ['name' ], SVFINDERtask ['name' ]]
10581072 if isActive ('FV0' ):
10591073 aodneeds += [ FV0RECOtask ['name' ] ]
0 commit comments