@@ -631,6 +631,7 @@ def putConfigValuesNew(listOfMainKeys=[], localCF = {}):
631631 workflow ['stages' ].append (TRDDigitask )
632632
633633 # these are digitizers which are single threaded
634+ # TOF (TO BE DONE once ccdb fetcher ready) -> "--use-ccdb-tof" (alternatively with CCCDBManager "--ccdb-tof-sa")
634635 def createRestDigiTask (name , det = 'ALLSMALLER' ):
635636 tneeds = needs = [ContextTask ['name' ]]
636637 if det == 'ALLSMALLER' :
@@ -738,6 +739,7 @@ def createRestDigiTask(name, det='ALLSMALLER'):
738739 TOFRECOtask = createTask (name = 'tofmatch_' + str (tf ), needs = [ITSTPCMATCHtask ['name' ], det_to_digitask ["TOF" ]['name' ]], tf = tf , cwd = timeframeworkdir , lab = ["RECO" ], mem = '1500' )
739740 TOFRECOtask ['cmd' ] = '${O2_ROOT}/bin/o2-tof-reco-workflow ' + getDPL_global_options () + putConfigValuesNew ()
740741 workflow ['stages' ].append (TOFRECOtask )
742+ # option to be added once ccdb fetcher ready "--use-ccdb" (TO BE DONE)
741743
742744 TOFTPCMATCHERtask = createTask (name = 'toftpcmatch_' + str (tf ), needs = [TOFRECOtask ['name' ], TPCRECOtask ['name' ], TRDTRACKINGtask ['name' ]], tf = tf , cwd = timeframeworkdir , lab = ["RECO" ], mem = '1000' )
743745 TOFTPCMATCHERtask ['cmd' ] = '${O2_ROOT}/bin/o2-tof-matcher-workflow ' + getDPL_global_options () \
@@ -884,6 +886,13 @@ def addQCPerTF(taskName, needs, readerCommand, configFilePath, objectsFile=''):
884886 readerCommand = 'o2-trd-trap-sim' ,
885887 configFilePath = 'json://${O2DPG_ROOT}/MC/config/QC/json/trd-digits-task.json' )
886888
889+ ### TOF
890+ addQCPerTF (taskName = 'tofDigitsQC' ,
891+ needs = [det_to_digitask ["TOF" ]['name' ]],
892+ readerCommand = '${O2_ROOT}/bin/o2-tof-reco-workflow --input-type digits --output-type none' ,
893+ configFilePath = 'json://${O2DPG_ROOT}/MC/config/QC/json/tofdigits.json' ,
894+ objectsFile = 'TOFDigitsQC.root' )
895+
887896 ### EMCAL
888897 if isActive ('EMC' ):
889898 addQCPerTF (taskName = 'emcDigitsQC' ,
@@ -904,7 +913,7 @@ def addQCPerTF(taskName, needs, readerCommand, configFilePath, objectsFile=''):
904913 needs = [TOFTPCMATCHERtask ['name' ]],
905914 readerCommand = 'o2-global-track-cluster-reader --track-types "ITS-TPC-TOF,TPC-TOF,TPC" --cluster-types none' ,
906915 configFilePath = 'json://${O2DPG_ROOT}/MC/config/QC/json/tofMatchedTracks_ITSTPCTOF_TPCTOF_direct_MC.json' )
907-
916+
908917 #secondary vertexer
909918 svfinder_threads = ' --threads 1 '
910919 svfinder_cpu = 1
0 commit comments