Skip to content

Commit 74b028c

Browse files
authored
MFT: Sync QC json update (#551)
* MFT: Update the sync QC json file. * Modification for the latest PR in QC repository requiring cluster patterns. * Adding selection of json file based on MFT_RECO step. * Delete old line replaced by new selection.
1 parent 5021f06 commit 74b028c

File tree

3 files changed

+313
-25
lines changed

3 files changed

+313
-25
lines changed

DATA/production/qc-sync/mft.json

Lines changed: 78 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,20 @@
1010
},
1111
"Activity": {
1212
"number": "42",
13-
"type": "2"
13+
"type": "0"
1414
},
1515
"monitoring": {
1616
"url": "influxdb-unix:///tmp/telegraf.sock"
1717
},
1818
"consul": {
19-
"url": "alio2-cr1-hv-head01:8500"
19+
"url": "http://ali-consul.cern.ch:8500"
2020
},
2121
"conditionDB": {
2222
"url": "http://localhost:8084"
2323
}
2424
},
2525
"tasks": {
26-
"QcMFTReadoutTask": {
26+
"MFTReadoutTask": {
2727
"active": "true",
2828
"className": "o2::quality_control_modules::mft::QcMFTReadoutTask",
2929
"moduleName": "QcMFT",
@@ -41,20 +41,20 @@
4141
"remoteMachine": "any",
4242
"remotePort": "47798"
4343
},
44-
"QcMFTDigitTask": {
44+
"MFTDigitTask": {
4545
"active": "true",
4646
"className": "o2::quality_control_modules::mft::QcMFTDigitTask",
4747
"moduleName": "QcMFT",
4848
"detectorName": "MFT",
49-
"cycleDurationSeconds": "60",
49+
"cycleDurationSeconds": "300",
5050
"maxNumberCycles": "-1",
5151
"dataSource": {
5252
"type": "direct",
53-
"query": "randomdigit:MFT/DIGITS/0"
53+
"query": "randomdigit:MFT/DIGITS/0;digitsrof:MFT/DIGITSROF/0"
5454
},
5555
"taskParameters": {
5656
"FLP": "0",
57-
"TaskLevel": "1"
57+
"NoiseScan": "0"
5858
},
5959
"location": "local",
6060
"localMachines": [
@@ -63,12 +63,12 @@
6363
"remoteMachine": "any",
6464
"remotePort": "47799"
6565
},
66-
"QcMFTClusterTask": {
66+
"MFTClusterTask": {
6767
"active": "true",
6868
"className": "o2::quality_control_modules::mft::QcMFTClusterTask",
6969
"moduleName": "QcMFT",
7070
"detectorName": "MFT",
71-
"cycleDurationSeconds": "60",
71+
"cycleDurationSeconds": "300",
7272
"maxNumberCycles": "-1",
7373
"dataSource": {
7474
"type": "dataSamplingPolicy",
@@ -85,23 +85,29 @@
8585
}
8686
},
8787
"checks": {
88-
"QcMFTReadoutCheck": {
88+
"MFTReadoutCheck": {
8989
"active": "true",
9090
"className": "o2::quality_control_modules::mft::QcMFTReadoutCheck",
9191
"moduleName": "QcMFT",
9292
"detectorName": "MFT",
9393
"policy": "OnEachSeparately",
94+
"checkParameters" : {
95+
"WarningThresholdMedium" : "0",
96+
"WarningThresholdBad" : "10",
97+
"ErrorThresholdMedium" : "200",
98+
"ErrorThresholdBad" : "300",
99+
"FaultThresholdMedium" : "200",
100+
"FaultThresholdBad" : "300"
101+
},
94102
"dataSource": [
95103
{
96104
"type": "Task",
97-
"name": "QcMFTReadoutTask",
98-
"MOs": [
99-
"mMFTSummaryLaneStatus"
100-
]
105+
"name": "MFTReadoutTask",
106+
"MOs": ["mDDWSummary","mSummaryChipOk","mSummaryChipFault", "mSummaryChipError", "mSummaryChipWarning", "mRDHSummary"]
101107
}
102108
]
103109
},
104-
"QcMFTDigitCheck": {
110+
"MFTDigitCheck": {
105111
"active": "true",
106112
"className": "o2::quality_control_modules::mft::QcMFTDigitCheck",
107113
"moduleName": "QcMFT",
@@ -110,25 +116,73 @@
110116
"dataSource": [
111117
{
112118
"type": "Task",
113-
"name": "QcMFTDigitTask"
119+
"name": "MFTDigitTask",
120+
"MOs" : ["mDigitChipOccupancy","mDigitOccupancySummary","mDigitChipStdDev"]
114121
}
115122
]
116123
},
117-
"QcMFTClusterCheck": {
124+
"MFTClusterCheck": {
118125
"active": "true",
119126
"dataSource": [
120127
{
121128
"type": "Task",
122-
"name": "QcMFTClusterTask",
123-
"MOs": [
124-
"mMFTClusterSensorIndex"
125-
]
129+
"name": "MFTClusterTask",
130+
"MOs" : ["mClusterOccupancy","mClusterPatternIndex","mClusterOccupancySummary"]
126131
}
127132
],
128133
"className": "o2::quality_control_modules::mft::QcMFTClusterCheck",
129134
"moduleName": "QcMFT",
130135
"detectorName": "MFT",
131-
"policy": "OnAny"
136+
"policy": "OnEachSeparately"
137+
}
138+
},
139+
"postprocessing": {
140+
"MFTReadoutTrend": {
141+
"active": "true",
142+
"className": "o2::quality_control::postprocessing::TrendingTask",
143+
"moduleName": "QcMFT",
144+
"detectorName": "MFT",
145+
"dataSources": [
146+
{
147+
"type": "repository",
148+
"path": "MFT/MO/MFTReadoutTask",
149+
"names": [ "mSummaryChipError", "mSummaryChipWarning", "mSummaryChipFault" ],
150+
"reductorName": "o2::quality_control_modules::mft::QcMFTReadoutTrend",
151+
"moduleName": "QcMFT"
152+
}
153+
],
154+
"plots": [
155+
{
156+
"name": "mChipErrorTrend",
157+
"title": "Trend of total number of chips in error",
158+
"varexp": "mSummaryChipError.binContentOverflow:time",
159+
"selection": "",
160+
"option": "*L"
161+
},
162+
{
163+
"name": "mChipWarningTrend",
164+
"title": "Trend of total number of chips in warning",
165+
"varexp": "mSummaryChipWarning.binContentOverflow:time",
166+
"selection": "",
167+
"option": "*L"
168+
},
169+
{
170+
"name": "mChipFaultTrend",
171+
"title": "Trend of total number of chips in fault",
172+
"varexp": "mSummaryChipFault.binContentOverflow:time",
173+
"selection": "",
174+
"option": "*L"
175+
}
176+
],
177+
"initTrigger": [
178+
"userorcontrol"
179+
],
180+
"updateTrigger": [
181+
"newobject:qcdb:MFT/MO/MFTReadoutTask/mSummaryChipWarning"
182+
],
183+
"stopTrigger": [
184+
"userorcontrol"
185+
]
132186
}
133187
}
134188
},
@@ -145,10 +199,10 @@
145199
{
146200
"condition": "random",
147201
"fraction": "0.01",
148-
"seed": "1234"
202+
"seed": "0"
149203
}
150204
],
151205
"blocking": "false"
152206
}
153207
]
154-
}
208+
}

0 commit comments

Comments
 (0)