Skip to content

Commit

Permalink
MFT: new MC track QC task (#1468)
Browse files Browse the repository at this point in the history
  • Loading branch information
diana0x0f authored and noferini committed Apr 18, 2024
1 parent 476befe commit b9a2b32
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 0 deletions.
1 change: 1 addition & 0 deletions MC/bin/o2dpg_qc_finalization_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ def add_QC_postprocessing(taskName, qcConfigPath, needs, runSpecific, prodSpecif
add_QC_finalization('mftDigitsQC', 'json://${O2DPG_ROOT}/MC/config/QC/json/mft-digits-0.json', MFTDigitsQCneeds)
add_QC_finalization('mftClustersQC', 'json://${O2DPG_ROOT}/MC/config/QC/json/mft-clusters.json')
add_QC_finalization('mftTracksQC', 'json://${O2DPG_ROOT}/MC/config/QC/json/mft-tracks.json')
add_QC_finalization('mftMCTracksQC', 'json://${O2DPG_ROOT}/MC/config/QC/json/mft-tracks-mc.json')
add_QC_finalization('emcRecoQC', 'json://${O2DPG_ROOT}/MC/config/QC/json/emc-reco-tasks.json')
add_QC_finalization('emcBCQC', 'json://${O2DPG_ROOT}/MC/config/QC/json/emc-reco-tasks.json')
#add_QC_finalization('tpcTrackingQC', 'json://${O2DPG_ROOT}/MC/config/QC/json/tpc-qc-tracking-direct.json')
Expand Down
4 changes: 4 additions & 0 deletions MC/bin/o2dpg_sim_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -1191,6 +1191,10 @@ def addQCPerTF(taskName, needs, readerCommand, configFilePath, objectsFile=''):
needs=[MFTRECOtask['name']],
readerCommand='o2-global-track-cluster-reader --track-types MFT --cluster-types MFT',
configFilePath='json://${O2DPG_ROOT}/MC/config/QC/json/mft-tracks.json')
addQCPerTF(taskName='mftMCTracksQC',
needs=[MFTRECOtask['name']],
readerCommand='o2-global-track-cluster-reader --track-types MFT --cluster-types MFT',
configFilePath='json://${O2DPG_ROOT}/MC/config/QC/json/mft-tracks-mc.json')

### TPC
# addQCPerTF(taskName='tpcTrackingQC',
Expand Down
49 changes: 49 additions & 0 deletions MC/config/QC/json/mft-tracks-mc.json
Original file line number Diff line number Diff line change
@@ -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" : "no-op://"
},
"consul" : {
"url" : ""
},
"conditionDB" : {
"url" : "alice-ccdb.cern.ch"
}
},
"tasks" : {
"TracksMC" : {
"active" : "true",
"className" : "o2::quality_control_modules::mft::QcMFTTrackMCTask",
"moduleName" : "QcMFT",
"detectorName" : "MFT",
"cycleDurationSeconds" : "30",
"maxNumberCycles" : "-1",
"dataSource_comment" : "The other type of dataSource is \"direct\", see basic-no-sampling.json.",
"dataSource" : {
"type" : "direct",
"query" : "tracks:MFT/TRACKS/0;mctruth:MFT/TRACKSMCTR/0"
},
"location" : "remote",
"taskParameters" : {
"collisionsContextPath": "./collisioncontext.root"
}
}
}
}
}

0 comments on commit b9a2b32

Please sign in to comment.