@@ -912,19 +912,16 @@ def addQCPerTF(taskName, needs, readerCommand, configFilePath, objectsFile=''):
912912 configFilePath = 'json://${O2DPG_ROOT}/MC/config/QC/json/tofdigits.json' ,
913913 objectsFile = 'tofDigitsQC.root' )
914914
915- if isActive ('TOF' ):
916- if isActive ('FT0' ):
917- addQCPerTF (taskName = 'tofft0PIDQC' ,
918- needs = [ITSTPCMATCHtask ['name' ]],
919- readerCommand = 'o2-global-track-cluster-reader --track-types "ITS-TPC,TPC,ITS-TPC-TOF,TPC-TOF" --cluster-types FT0' ,
920- configFilePath = 'json://${O2DPG_ROOT}/MC/config/QC/json/pidft0tof.json' ,
921- objectsFile = 'tofft0PIDQC.root' )
922- else :
923- addQCPerTF (taskName = 'tofPIDQC' ,
924- needs = [ITSTPCMATCHtask ['name' ]],
925- readerCommand = 'o2-global-track-cluster-reader --track-types "ITS-TPC,TPC,ITS-TPC-TOF,TPC-TOF" --cluster-types none' ,
926- configFilePath = 'json://${O2DPG_ROOT}/MC/config/QC/json/pidtof.json' ,
927- objectsFile = 'tofPIDQC.root' )
915+ addQCPerTF (taskName = 'tofft0PIDQC' ,
916+ needs = [ITSTPCMATCHtask ['name' ], TOFRECOtask ['name' ], FT0RECOtask ['name' ]],
917+ readerCommand = 'o2-global-track-cluster-reader --track-types "ITS-TPC,TPC,ITS-TPC-TOF,TPC-TOF" --cluster-types FT0' ,
918+ configFilePath = 'json://${O2DPG_ROOT}/MC/config/QC/json/pidft0tof.json' ,
919+ objectsFile = 'tofft0PIDQC.root' )
920+ addQCPerTF (taskName = 'tofPIDQC' ,
921+ needs = [ITSTPCMATCHtask ['name' ], TOFRECOtask ['name' ]],
922+ readerCommand = 'o2-global-track-cluster-reader --track-types "ITS-TPC,TPC,ITS-TPC-TOF,TPC-TOF" --cluster-types none' ,
923+ configFilePath = 'json://${O2DPG_ROOT}/MC/config/QC/json/pidtof.json' ,
924+ objectsFile = 'tofPIDQC.root' )
928925
929926 ### EMCAL
930927 if isActive ('EMC' ):
0 commit comments