Skip to content

Commit c2400b4

Browse files
FT0 Rec Points QC added (#288)
* ft0 qc * solve conflict * change URL to test CCDB
1 parent 15ce985 commit c2400b4

File tree

3 files changed

+50
-0
lines changed

3 files changed

+50
-0
lines changed

MC/bin/o2dpg_qc_finalization_workflow.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ def add_QC_finalization(taskName, qcConfigPath, needs=None):
6161
add_QC_finalization('TOFMatchQC', 'json://${O2DPG_ROOT}/MC/config/QC/json/tofMatchedTracks_ITSTPCTOF_TPCTOF_direct_MC.json')
6262
add_QC_finalization('tofDigitsQC', 'json://${O2DPG_ROOT}/MC/config/QC/json/tofdigits.json')
6363
add_QC_finalization('TOFMatchWithTRDQC', 'json://${O2DPG_ROOT}/MC/config/QC/json/tofMatchedTracks_AllTypes_direct_MC.json')
64+
add_QC_finalization('RecPointsQC', 'json://${O2DPG_ROOT}/MC/config/QC/json/ft0-reconstruction-config.json')
6465

6566
return stages
6667

MC/bin/o2dpg_sim_workflow.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -908,6 +908,11 @@ def addQCPerTF(taskName, needs, readerCommand, configFilePath, objectsFile=''):
908908
needs=[EMCRECOtask['name']],
909909
readerCommand='o2-emcal-cell-reader-workflow --infile emccells.root',
910910
configFilePath='json://${O2DPG_ROOT}/MC/config/QC/json/emc-digits-task.json')
911+
### FT0
912+
addQCPerTF(taskName='RecPointsQC',
913+
needs=[FT0RECOtask['name']],
914+
readerCommand='o2-ft0-recpoints-reader-workflow --infile o2reco_ft0.root',
915+
configFilePath='json://${O2DPG_ROOT}/MC/config/QC/json/ft0-reconstruction-config.json')
911916

912917
### GLO + RECO
913918
addQCPerTF(taskName='vertexQC',
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"qc": {
3+
"config": {
4+
"database": {
5+
"implementation": "CCDB",
6+
"host": "ccdb-test.cern.ch:8080",
7+
"username": "not_applicable",
8+
"password": "not_applicable",
9+
"name": "not_applicable"
10+
},
11+
"Activity": {
12+
"number": "42",
13+
"type": "2",
14+
"provenance": "qc_mc",
15+
"passName": "passMC",
16+
"periodName": "SimChallenge"
17+
},
18+
"monitoring": {
19+
"url": "infologger:///debug?qc"
20+
},
21+
"consul": {
22+
"url": "ccdb-test.cern.ch:8080"
23+
},
24+
"conditionDB": {
25+
"url": "ccdb-test.cern.ch:8080"
26+
}
27+
},
28+
"tasks": {
29+
"RecPointsQcTask": {
30+
"active": "true",
31+
"className": "o2::quality_control_modules::ft0::RecPointsQcTask",
32+
"moduleName": "QcFT0",
33+
"detectorName": "FT0",
34+
"cycleDurationSeconds": "600",
35+
"maxNumberCycles": "-1",
36+
"dataSource": {
37+
"type": "direct",
38+
"query": "recpoints:FT0/RECPOINTS/0;channels:FT0/RECCHDATA/0"
39+
}
40+
}
41+
42+
}
43+
}
44+
}

0 commit comments

Comments
 (0)