Skip to content

Commit 863977c

Browse files
bazinskisawenzel
authored andcommitted
add trd qc
1 parent 922e219 commit 863977c

File tree

3 files changed

+312
-0
lines changed

3 files changed

+312
-0
lines changed

DATA/production/qc-async/trd.json

Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
{
2+
"qc": {
3+
"config": {
4+
"database": {
5+
"implementation": "CCDB",
6+
"host": "alio2-cr1-hv-qcdb1.cern.ch:8083",
7+
"username": "not_applicable",
8+
"password": "not_applicable",
9+
"name": "not_applicable"
10+
},
11+
"Activity": {
12+
"type": "2",
13+
"number": "42"
14+
},
15+
"monitoring": {
16+
"url": "influxdb-unix:///tmp/telegraf.sock"
17+
},
18+
"consul": {
19+
"url": "alio2-cr1-hv-aliecs:8500"
20+
},
21+
"conditionDB": {
22+
"url": "alio2-cr1-hv-qcdb1.cern.ch:8083"
23+
}
24+
},
25+
"tasks": {
26+
"DigitTask": {
27+
"active": "true",
28+
"className": "o2::quality_control_modules::trd::DigitsTask",
29+
"moduleName": "QcTRD",
30+
"detectorName": "TRD",
31+
"cycleDurationSeconds": "60",
32+
"maxNumberCycles": "-1",
33+
"dataSource_comment": "no comment",
34+
"dataSource": {
35+
"type": "direct",
36+
"query": "digits:TRD/DIGITS;tracklets:TRD/TRACKLETS;triggers:TRD/TRKTRGRD"
37+
},
38+
"taskParameters": {
39+
"peakregionstart": "7.0",
40+
"peakregionend": "20.0",
41+
"pulseheightpeaklower": "1.0",
42+
"pulseheightpeakupper": "5.0"
43+
}
44+
},
45+
"TrackletsTask": {
46+
"active": "true",
47+
"className": "o2::quality_control_modules::trd::TrackletsTask",
48+
"moduleName": "QcTRD",
49+
"detectorName": "TRD",
50+
"cycleDurationSeconds": "60",
51+
"maxNumberCycles": "-1",
52+
"dataSource_comment": "no comment",
53+
"dataSource": {
54+
"type": "direct",
55+
"query": "digits:TRD/DIGITS;tracklets:TRD/TRACKLETS;triggers:TRD/TRKTRGRD"
56+
},
57+
"taskParameters": {
58+
"peakregionstart": "7.0",
59+
"peakregionend": "20.0",
60+
"pulseheightpeaklower": "1.0",
61+
"pulseheightpeakupper": "5.0"
62+
}
63+
},
64+
"PulseHeight": {
65+
"active": "true",
66+
"className": "o2::quality_control_modules::trd::PulseHeight",
67+
"moduleName": "QcTRD",
68+
"detectorName": "TRD",
69+
"cycleDurationSeconds": "60",
70+
"maxNumberCycles": "-1",
71+
"dataSource_comment": "no comment",
72+
"dataSource": {
73+
"type": "direct",
74+
"query": "digits:TRD/DIGITS;tracklets:TRD/TRACKLETS;triggers:TRD/TRKTRGRD"
75+
},
76+
"taskParameters": {
77+
"peakregionstart": "7.0",
78+
"peakregionend": "20.0",
79+
"pulseheightpeaklower": "1.0",
80+
"pulseheightpeakupper": "5.0"
81+
}
82+
}
83+
},
84+
"checks": {
85+
"QcCheck": {
86+
"active": "false",
87+
"className": "o2::quality_control_modules::trd::RawDataCheck",
88+
"moduleName": "QcTRD",
89+
"policy": "OnAny",
90+
"detectorName": "TRD",
91+
"dataSource": [
92+
{
93+
"type": "Task",
94+
"name": "RawDataTask",
95+
"MOs": ["trackletsperevent"]
96+
}
97+
]
98+
},
99+
"PulseHeightCheck": {
100+
"active": "false",
101+
"className": "o2::quality_control_modules::trd::PulseHeightCheck",
102+
"moduleName": "QcTRD",
103+
"policy": "OnAny",
104+
"detectorName": "TRD",
105+
"dataSource": [
106+
{
107+
"type": "Task",
108+
"name": "PulseHeightTask",
109+
"MOs": ["trackletsperevent"]
110+
}
111+
]
112+
}
113+
}
114+
},
115+
"dataSamplingPolicies": [
116+
]
117+
}
118+

DATA/production/qc-sync/trd.json

Lines changed: 191 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,191 @@
1+
{
2+
"qc": {
3+
"config": {
4+
"database": {
5+
"implementation": "CCDB",
6+
"host": "alio2-cr1-hv-qcdb1.cern.ch:8083",
7+
"username": "not_applicable",
8+
"password": "not_applicable",
9+
"name": "not_applicable"
10+
},
11+
"Activity": {
12+
"type": "2",
13+
"number": "42"
14+
},
15+
"monitoring": {
16+
"url": "influxdb-unix:///tmp/telegraf.sock"
17+
},
18+
"consul": {
19+
"url": "alio2-cr1-hv-aliecs:8500"
20+
},
21+
"conditionDB": {
22+
"url": "alio2-cr1-hv-qcdb1.cern.ch:8083"
23+
}
24+
},
25+
"tasks": {
26+
"RawDataTask": {
27+
"active": "false",
28+
"className": "o2::quality_control_modules::trd::RawData",
29+
"moduleName": "QcTRD",
30+
"detectorName": "TRD",
31+
"cycleDurationSeconds": "60",
32+
"maxNumberCycles": "-1",
33+
"dataSource_comment": "no comment",
34+
"dataSource": {
35+
"type": "dataSamplingPolicy",
36+
"name": "trdall"
37+
},
38+
"taskParameters": {
39+
"peakregionstart": "7.0",
40+
"peakregionend": "20.0",
41+
"pulseheightpeaklower": "1.0",
42+
"pulseheightpeakupper": "5.0"
43+
},
44+
"location": "local",
45+
"localMachines": [
46+
"epn",
47+
"localhost"
48+
],
49+
"remoteMachine": "alio2-cr1-qc05.cern.ch",
50+
"remotePort": "47742",
51+
"mergingMode": "delta",
52+
"mergerCycleMultiplier": "2",
53+
"localControl": "odc"
54+
},
55+
"DigitTask": {
56+
"active": "true",
57+
"className": "o2::quality_control_modules::trd::DigitsTask",
58+
"moduleName": "QcTRD",
59+
"detectorName": "TRD",
60+
"cycleDurationSeconds": "60",
61+
"maxNumberCycles": "-1",
62+
"dataSource_comment": "no comment",
63+
"dataSource": {
64+
"type": "dataSamplingPolicy",
65+
"name": "trdall"
66+
},
67+
"taskParameters": {
68+
"peakregionstart": "7.0",
69+
"peakregionend": "20.0",
70+
"pulseheightpeaklower": "1.0",
71+
"pulseheightpeakupper": "5.0"
72+
},
73+
"location": "local",
74+
"localMachines": [
75+
"epn",
76+
"localhost"
77+
],
78+
"remoteMachine": "alio2-cr1-qc05.cern.ch",
79+
"remotePort": "47743",
80+
"mergingMode": "delta",
81+
"mergerCycleMultiplier": "2",
82+
"localControl": "odc"
83+
},
84+
"TrackletsTask": {
85+
"active": "true",
86+
"className": "o2::quality_control_modules::trd::TrackletsTask",
87+
"moduleName": "QcTRD",
88+
"detectorName": "TRD",
89+
"cycleDurationSeconds": "60",
90+
"maxNumberCycles": "-1",
91+
"dataSource_comment": "no comment",
92+
"dataSource": {
93+
"type": "dataSamplingPolicy",
94+
"name": "trdall"
95+
},
96+
"taskParameters": {
97+
"peakregionstart": "7.0",
98+
"peakregionend": "20.0",
99+
"pulseheightpeaklower": "1.0",
100+
"pulseheightpeakupper": "5.0"
101+
},
102+
"location": "local",
103+
"localMachines": [
104+
"epn",
105+
"localhost"
106+
],
107+
"remoteMachine": "alio2-cr1-qc05.cern.ch",
108+
"remotePort": "47744",
109+
"mergingMode": "delta",
110+
"mergerCycleMultiplier": "2",
111+
"localControl": "odc"
112+
},
113+
"PulseHeight": {
114+
"active": "true",
115+
"className": "o2::quality_control_modules::trd::PulseHeight",
116+
"moduleName": "QcTRD",
117+
"detectorName": "TRD",
118+
"cycleDurationSeconds": "60",
119+
"maxNumberCycles": "-1",
120+
"dataSource_comment": "no comment",
121+
"dataSource": {
122+
"type": "dataSamplingPolicy",
123+
"name": "trdall"
124+
},
125+
"taskParameters": {
126+
"peakregionstart": "7.0",
127+
"peakregionend": "20.0",
128+
"pulseheightpeaklower": "1.0",
129+
"pulseheightpeakupper": "5.0"
130+
},
131+
"location": "local",
132+
"localMachines": [
133+
"epn",
134+
"localhost"
135+
],
136+
"remoteMachine": "alio2-cr1-qc05.cern.ch",
137+
"remotePort": "47745",
138+
"mergingMode": "delta",
139+
"mergerCycleMultiplier": "2",
140+
"localControl": "odc"
141+
}
142+
},
143+
"checks": {
144+
"QcCheck": {
145+
"active": "false",
146+
"className": "o2::quality_control_modules::trd::RawDataCheck",
147+
"moduleName": "QcTRD",
148+
"policy": "OnAny",
149+
"detectorName": "TRD",
150+
"dataSource": [
151+
{
152+
"type": "Task",
153+
"name": "RawDataTask",
154+
"MOs": ["trackletsperevent"]
155+
}
156+
]
157+
},
158+
"PulseHeightCheck": {
159+
"active": "false",
160+
"className": "o2::quality_control_modules::trd::PulseHeightCheck",
161+
"moduleName": "QcTRD",
162+
"policy": "OnAny",
163+
"detectorName": "TRD",
164+
"dataSource": [
165+
{
166+
"type": "Task",
167+
"name": "PulseHeightTask",
168+
"MOs": ["trackletsperevent"]
169+
}
170+
]
171+
}
172+
}
173+
},
174+
"dataSamplingPolicies": [
175+
{
176+
"id": "trdall",
177+
"active": "true",
178+
"machines": [],
179+
"query" : "digits:TRD/DIGITS/0;tracklets:TRD/TRACKLETS/0;triggers:TRD/TRKTRGRD/0;rawstats:TRD/RAWSTATS/0",
180+
"samplingConditions":[
181+
{
182+
"condition": "random",
183+
"fraction": "0.9",
184+
"seed": "1234"
185+
}
186+
],
187+
"blocking": "false"
188+
}
189+
]
190+
}
191+

DATA/production/qc-workflow.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ if [[ -z $QC_JSON_FROM_OUTSIDE ]]; then
1919
[[ -z "$QC_JSON_MID" ]] && QC_JSON_MID=/home/dstocco/config/mid-qcmn-epn-digits.json
2020
[[ -z "$QC_JSON_CPV" ]] && QC_JSON_CPV=consul://o2/components/qc/ANY/any/cpv-physics-qcmn-epn
2121
#[[ -z "$QC_JSON_PHS" ]] && QC_JSON_PHS=/home/sevdokim/O2DPG/DATA/production/qc-sync/phs.json
22+
[[ -z "$QC_JSON_TRD" ]] && QC_JSON_TRD=consul://o2/components/qc/ANY/any/trd-full-qcmn-norawdatastats-epn
2223
[[ -z "$QC_JSON_PRIMVTX" ]] && QC_JSON_PRIMVTX=/home/shahoian/jsons/vertexing-qc.json
2324
[[ -z "$QC_JSON_GLOBAL" ]] && QC_JSON_GLOBAL=$O2DPG_ROOT/DATA/production/qc-sync/qc-global.json
2425
elif [[ $SYNCMODE == 1 ]]; then
@@ -34,6 +35,7 @@ if [[ -z $QC_JSON_FROM_OUTSIDE ]]; then
3435
[[ -z "$QC_JSON_MID" ]] && QC_JSON_MID=$O2DPG_ROOT/DATA/production/qc-sync/mid.json
3536
[[ -z "$QC_JSON_CPV" ]] && QC_JSON_CPV=$O2DPG_ROOT/DATA/production/qc-sync/cpv.json
3637
#[[ -z "$QC_JSON_PHS" ]] && QC_JSON_PHS=$O2DPG_ROOT/DATA/production/qc-sync/phs.json
38+
[[ -z "$QC_JSON_TRD" ]] && QC_JSON_TRD=$O2DPG_ROOT/DATA/production/qc-sync/trd.json
3739
[[ -z "$QC_JSON_PRIMVTX" ]] && QC_JSON_PRIMVTX=$O2DPG_ROOT/DATA/production/qc-sync/pvtx.json
3840
[[ -z "$QC_JSON_GLOBAL" ]] && QC_JSON_GLOBAL=$O2DPG_ROOT/DATA/production/qc-sync/qc-global.json
3941
else
@@ -47,6 +49,7 @@ if [[ -z $QC_JSON_FROM_OUTSIDE ]]; then
4749
[[ -z "$QC_JSON_MID" ]] && QC_JSON_MID=$O2DPG_ROOT/DATA/production/qc-async/mid.json
4850
[[ -z "$QC_JSON_CPV" ]] && QC_JSON_CPV=$O2DPG_ROOT/DATA/production/qc-async/cpv.json
4951
#[[ -z "$QC_JSON_PHS" ]] && QC_JSON_PHS=$O2DPG_ROOT/DATA/production/qc-async/phs.json
52+
[[ -z "$QC_JSON_TRD" ]] && QC_JSON_TRD=$O2DPG_ROOT/DATA/production/qc-async/trd.json
5053
[[ -z "$QC_JSON_PRIMVTX" ]] && QC_JSON_PRIMVTX=$O2DPG_ROOT/DATA/production/qc-async/primvtx.json
5154
[[ -z "$QC_JSON_ITSTPC" ]] && QC_JSON_ITSTPC=$O2DPG_ROOT/DATA/production/qc-async/itstpc.json
5255
[[ -z "$QC_JSON_ITSTPCTOF" ]] && QC_JSON_ITSTPCTOF=$O2DPG_ROOT/DATA/production/qc-async/itstpctof.json

0 commit comments

Comments
 (0)