Skip to content

Commit d446202

Browse files
FIT: add MC aQC for FV0 and FDD (#1741)
Enable MC aQC for FV0 and FDD. NOTE!!! This needs AliceO2Group/AliceO2#13482 to work!
1 parent 8e6e7ab commit d446202

File tree

4 files changed

+106
-3
lines changed

4 files changed

+106
-3
lines changed

MC/bin/o2dpg_qc_finalization_workflow.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ def add_QC_postprocessing(taskName, qcConfigPath, needs, runSpecific, prodSpecif
117117
else:
118118
add_QC_finalization('tofPIDQC', 'json://${O2DPG_ROOT}/MC/config/QC/json/pidtofNoTRD.json')
119119
add_QC_finalization('RecPointsQC', 'json://${O2DPG_ROOT}/MC/config/QC/json/ft0-reconstruction-config.json')
120+
add_QC_finalization('FV0DigitsQC', 'json://${O2DPG_ROOT}/MC/config/QC/json/fv0-digits.json')
121+
add_QC_finalization('FDDRecPointsQC', 'json://${O2DPG_ROOT}/MC/config/QC/json/fdd-recpoints.json')
120122
add_QC_finalization('CPVDigitsQC', 'json://${O2DPG_ROOT}/MC/config/QC/json/cpv-digits-task.json')
121123
add_QC_finalization('CPVClustersQC', 'json://${O2DPG_ROOT}/MC/config/QC/json/cpv-clusters-task.json')
122124
add_QC_finalization('PHSCellsClustersQC', 'json://${O2DPG_ROOT}/MC/config/QC/json/phs-cells-clusters-task.json')

MC/bin/o2dpg_sim_workflow.py

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1432,9 +1432,21 @@ def addQCPerTF(taskName, needs, readerCommand, configFilePath, objectsFile=''):
14321432
configFilePath='json://${O2DPG_ROOT}/MC/config/QC/json/emc-bc-task.json')
14331433
### FT0
14341434
addQCPerTF(taskName='RecPointsQC',
1435-
needs=[FT0RECOtask['name']],
1436-
readerCommand='o2-ft0-recpoints-reader-workflow --infile o2reco_ft0.root',
1437-
configFilePath='json://${O2DPG_ROOT}/MC/config/QC/json/ft0-reconstruction-config.json')
1435+
needs=[FT0RECOtask['name']],
1436+
readerCommand='o2-ft0-recpoints-reader-workflow --infile o2reco_ft0.root',
1437+
configFilePath='json://${O2DPG_ROOT}/MC/config/QC/json/ft0-reconstruction-config.json')
1438+
1439+
### FV0
1440+
addQCPerTF(taskName='FV0DigitsQC',
1441+
needs=[getDigiTaskName("FV0")],
1442+
readerCommand='o2-fv0-digit-reader-workflow --fv0-digit-infile fv0digits.root',
1443+
configFilePath='json://${O2DPG_ROOT}/MC/config/QC/json/fv0-digits.json')
1444+
1445+
### FDD
1446+
addQCPerTF(taskName='FDDRecPointsQC',
1447+
needs=[FDDRECOtask['name']],
1448+
readerCommand='o2-fdd-recpoints-reader-workflow --fdd-recpoints-infile o2reco_fdd.root',
1449+
configFilePath='json://${O2DPG_ROOT}/MC/config/QC/json/fdd-recpoints.json')
14381450

14391451
### GLO + RECO
14401452
addQCPerTF(taskName='vertexQC',
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
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+
"provenance": "qc_mc",
13+
"passName": "passMC",
14+
"periodName": "SimChallenge"
15+
},
16+
"monitoring": {
17+
"url": "no-op://"
18+
},
19+
"conditionDB": {
20+
"url": "alice-ccdb.cern.ch"
21+
}
22+
},
23+
"tasks": {
24+
"RecPoints": {
25+
"active": "true",
26+
"className": "o2::quality_control_modules::fdd::RecPointsQcTask",
27+
"moduleName": "QcFDD",
28+
"detectorName": "FDD",
29+
"cycleDurationSeconds": "600",
30+
"maxNumberCycles": "-1",
31+
"dataSource": {
32+
"type": "direct",
33+
"query": "recpoints:FDD/RECPOINTS/0;channels:FDD/RECCHDATA/0"
34+
}
35+
}
36+
}
37+
}
38+
}

MC/config/QC/json/fv0-digits.json

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
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+
"provenance": "qc_mc",
13+
"passName": "passMC",
14+
"periodName": "SimChallenge"
15+
},
16+
"monitoring": {
17+
"url": "no-op://"
18+
},
19+
"conditionDB": {
20+
"url": "alice-ccdb.cern.ch"
21+
}
22+
},
23+
"tasks": {
24+
"Digits": {
25+
"active": "true",
26+
"className": "o2::quality_control_modules::fv0::DigitQcTask",
27+
"moduleName": "QcFV0",
28+
"detectorName": "FV0",
29+
"cycleDurationSeconds": "600",
30+
"maxNumberCycles": "-1",
31+
"dataSource": {
32+
"type": "direct",
33+
"query": "digits:FV0/DIGITSBC/0;channels:FV0/DIGITSCH/0"
34+
},
35+
"taskParameters": {
36+
"#ChannelIDs": "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48",
37+
"#ChannelIDsAmpVsTime": "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48",
38+
"trgModeInnerOuterThresholdVar": "Ampl",
39+
"trgThresholdNChannels": "2",
40+
"trgThresholdCharge": "8",
41+
"trgThresholdChargeInner": "4",
42+
"trgThresholdChargeOuter": "4",
43+
"trgChargeLevelLow": "6",
44+
"trgChargeLevelHigh": "4095",
45+
"minGateTimeForRatioHistogram": "-192",
46+
"maxGateTimeForRatioHistogram": "192"
47+
}
48+
}
49+
}
50+
}
51+
}

0 commit comments

Comments
 (0)