diff --git a/MC/bin/o2dpg_qc_finalization_workflow.py b/MC/bin/o2dpg_qc_finalization_workflow.py index 4b55e81a8..5023d2680 100755 --- a/MC/bin/o2dpg_qc_finalization_workflow.py +++ b/MC/bin/o2dpg_qc_finalization_workflow.py @@ -61,6 +61,7 @@ def add_QC_finalization(taskName, qcConfigPath, needs=None): add_QC_finalization('TOFMatchQC', 'json://${O2DPG_ROOT}/MC/config/QC/json/tofMatchedTracks_ITSTPCTOF_TPCTOF_direct_MC.json') add_QC_finalization('tofDigitsQC', 'json://${O2DPG_ROOT}/MC/config/QC/json/tofdigits.json') add_QC_finalization('TOFMatchWithTRDQC', 'json://${O2DPG_ROOT}/MC/config/QC/json/tofMatchedTracks_AllTypes_direct_MC.json') + add_QC_finalization('ITSTrackSimTask', 'json://${O2DPG_ROOT}/MC/config/QC/json/its-mc-tracks-qc.json') add_QC_finalization('RecPointsQC', 'json://${O2DPG_ROOT}/MC/config/QC/json/ft0-reconstruction-config.json') return stages diff --git a/MC/bin/o2dpg_sim_workflow.py b/MC/bin/o2dpg_sim_workflow.py index 16245ea24..af8dad79c 100755 --- a/MC/bin/o2dpg_sim_workflow.py +++ b/MC/bin/o2dpg_sim_workflow.py @@ -933,6 +933,11 @@ def addQCPerTF(taskName, needs, readerCommand, configFilePath, objectsFile=''): needs=[TOFTPCMATCHERtask['name']], readerCommand='o2-global-track-cluster-reader --track-types "ITS-TPC-TOF,TPC-TOF,TPC,ITS-TPC-TRD,ITS-TPC-TRD-TOF,TPC-TRD,TPC-TRD-TOF" --cluster-types none', configFilePath='json://${O2DPG_ROOT}/MC/config/QC/json/tofMatchedTracks_AllTypes_direct_MC.json') + ### ITS + addQCPerTF(taskName='ITSTrackSimTask', + needs=[ITSRECOtask['name']], + readerCommand='o2-global-track-cluster-reader --track-types "ITS" --cluster-types "ITS"', + configFilePath='json://${O2DPG_ROOT}/MC/config/QC/json/its-mc-tracks-qc.json') #secondary vertexer svfinder_threads = ' --threads 1 ' diff --git a/MC/config/QC/json/its-mc-tracks-qc.json b/MC/config/QC/json/its-mc-tracks-qc.json new file mode 100644 index 000000000..f05ca422e --- /dev/null +++ b/MC/config/QC/json/its-mc-tracks-qc.json @@ -0,0 +1,49 @@ +{ + "qc" : { + "config" : { + "database" : { + "implementation" : "CCDB", + "host" : "ccdb-test.cern.ch:8080", + "username" : "not_applicable", + "password" : "not_applicable", + "name" : "not_applicable" + }, + "Activity" : { + "number" : "42", + "type" : "2", + "provenance": "qc_mc", + "passName": "passMC", + "periodName": "SimChallenge" + }, + "monitoring" : { + "url" : "infologger:///debug?qc" + }, + "consul" : { + "url" : "" + }, + "conditionDB" : { + "url" : "ccdb-test.cern.ch:8080" + } + }, + "tasks" : { + "ITSTrackSimTask" : { + "active" : "true", + "className" : "o2::quality_control_modules::its::ITSTrackSimTask", + "moduleName" : "QcITS", + "detectorName" : "ITS", + "cycleDurationSeconds" : "30", + "maxNumberCycles" : "-1", + "dataSource_comment" : "The other type of dataSource is \"direct\", see basic-no-sampling.json.", + "dataSource" : { + "type" : "direct", + "query" : "tracks:ITS/TRACKS/0;mstruth:ITS/TRACKSMCTR/0;compclus:ITS/COMPCLUSTERS/0;mcclustruth:ITS/CLUSTERSMCTR/0" + }, + "taskParameters" : { + "O2GrpPath" : "./o2sim_grp.root", + "collisionsContextPath": "./collisioncontext.root" + } + + } + } + } +}