Skip to content

Commit eb09d8d

Browse files
committed
Revert "Fix: fix json formatting"
This reverts commit 744240a.
1 parent d312264 commit eb09d8d

File tree

4 files changed

+60
-165
lines changed

4 files changed

+60
-165
lines changed

Modules/TPC/run/tpcQCClusterVisualizer.json

Lines changed: 25 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -29,85 +29,40 @@
2929
"moduleName": "QcTPC",
3030
"detectorName": "TPC",
3131
"dataSourceURL": "ccdb-test.cern.ch:8080",
32-
"timestamps_comment": [
33-
"Put the timestamp of the corresponding file you want to look for in the timestamps array.",
34-
"You can either put a timestamp for every object or leave the array empty to take the latest file from the CCDB.",
35-
"An empty array to get the the latest version will be the main use case.",
36-
"The array is mapped to the output objects sequentially",
37-
"If you want to pick the latest file in the CCDB manually, you can use -1."
32+
"timestamps_comment": [ "Put the timestamp of the corresponding file you want to look for in the timestamps array.",
33+
"You can either put a timestamp for every object or leave the array empty to take the latest file from the CCDB.",
34+
"An empty array to get the the latest version will be the main use case.",
35+
"The array is mapped to the output objects sequentially",
36+
"If you want to pick the latest file in the CCDB manually, you can use -1."
3837
],
39-
"timestamps": [],
40-
"lookupMetaData_comment": [
41-
"With this array you can filter your search via meta data.",
42-
"The array is mapped sequentially to the output objects.",
43-
"If you leave only one entry in the array this is used for all objects in outputCalPadMaps and outputCalPads.",
44-
"If you want no meta data simply remove 'keys' and 'values' completely and leave only {}",
45-
"Every entry above (outputCalPads.size() + outputCalPadMaps.size()) is ignored.",
46-
"The keys and values that are set by default are only there to serve as an example."
38+
"timestamps": [
39+
],
40+
"lookupMetaData_comment": [ "With this array you can filter your search via meta data.",
41+
"The array is mapped sequentially to the output objects.",
42+
"If you leave only one entry in the array this is used for all objects in outputCalPadMaps and outputCalPads.",
43+
"If you want no meta data simply remove 'keys' and 'values' completely and leave only {}",
44+
"Every entry above (outputCalPads.size() + outputCalPadMaps.size()) is ignored.",
45+
"The keys and values that are set by default are only there to serve as an example."
4746
],
4847
"lookupMetaData": [
49-
{}
48+
{
49+
}
5050
],
5151
"storeMetaData_comment": "For how-to, see 'lookupMetaData_comment'.",
5252
"storeMetaData": [
53-
{}
54-
],
55-
"histogramRanges_comment": [
56-
"nBins",
57-
"min",
58-
"max"
59-
],
60-
"histogramRanges": [
61-
{
62-
"N_Clusters": [
63-
"100",
64-
"0",
65-
"100"
66-
]
67-
},
6853
{
69-
"Q_Max": [
70-
"200",
71-
"0",
72-
"200"
73-
]
74-
},
75-
{
76-
"Q_Tot": [
77-
"600",
78-
"0",
79-
"600"
80-
]
81-
},
82-
{
83-
"Sigma_Time": [
84-
"200",
85-
"0",
86-
"2"
87-
]
88-
},
89-
{
90-
"Sigma_Pad": [
91-
"200",
92-
"0",
93-
"2"
94-
]
95-
},
96-
{
97-
"Time_Bin": [
98-
"1000",
99-
"0",
100-
"100000"
101-
]
102-
},
103-
{
104-
"Occupancy": [
105-
"100",
106-
"0",
107-
"0.001"
108-
]
10954
}
11055
],
56+
"histogramRanges_comment" : [ "nBins", "min", "max" ],
57+
"histogramRanges": [
58+
{ "N_Clusters" : [ "100", "0", "100" ] },
59+
{ "Q_Max" : [ "200", "0", "200" ] },
60+
{ "Q_Tot" : [ "600", "0", "600" ] },
61+
{ "Sigma_Time" : [ "200", "0", "2" ] },
62+
{ "Sigma_Pad" : [ "200", "0", "2" ] },
63+
{ "Time_Bin" : [ "1000", "0", "100000" ] },
64+
{ "Occupancy" : [ "100", "0", "0.001" ] }
65+
],
11166
"path_comment": "This is the path of the ClustersData object that shall be visualized.",
11267
"path": "qc/TPC/MO/Clusters/ClusterData",
11368
"dataType_comment": "This is the switch for 'RawDigits' or 'Clusters' task. Choose 'raw' or 'clusters'.",

Modules/TPC/run/tpcQCClusters_direct.json

Lines changed: 10 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -33,31 +33,17 @@
3333
"resetAfterCycles": "5",
3434
"dataSource": {
3535
"type": "direct",
36-
"query": "input:TPC/CLUSTERNATIVE"
36+
"query" : "input:TPC/CLUSTERNATIVE"
3737
},
3838
"taskParameters": {
3939
"mergeableOutput": "true",
40-
"NClustersNBins": "100",
41-
"NClustersXMin": "0",
42-
"NClustersXMax": "100",
43-
"QmaxNBins": "200",
44-
"QmaxXMin": "0",
45-
"QmaxXMax": "200",
46-
"QtotNBins": "600",
47-
"QtotXMin": "0",
48-
"QtotXMax": "600",
49-
"SigmaPadNBins": "200",
50-
"SigmaPadXMin": "0",
51-
"SigmaPadXMax": "2",
52-
"SigmaTimeNBins": "200",
53-
"SigmaTimeXMin": "0",
54-
"SigmaTimeXMax": "2",
55-
"TimeBinNBins": "1000",
56-
"TimeBinXMin": "0",
57-
"TimeBinXMax": "100000",
58-
"OccupancyNBins": "1000",
59-
"OccupancyXMin": "0",
60-
"OccupancyXMax": "0.00001"
40+
"NClustersNBins": "100", "NClustersXMin": "0", "NClustersXMax": "100",
41+
"QmaxNBins": "200", "QmaxXMin": "0", "QmaxXMax": "200",
42+
"QtotNBins": "600", "QtotXMin": "0", "QtotXMax": "600",
43+
"SigmaPadNBins": "200", "SigmaPadXMin": "0", "SigmaPadXMax": "2",
44+
"SigmaTimeNBins": "200", "SigmaTimeXMin": "0", "SigmaTimeXMax": "2",
45+
"TimeBinNBins": "1000", "TimeBinXMin": "0", "TimeBinXMax": "100000",
46+
"OccupancyNBins": "1000", "OccupancyXMin": "0", "OccupancyXMax": "0.00001"
6147
},
6248
"location": "local",
6349
"localMachines": [
@@ -69,5 +55,6 @@
6955
}
7056
}
7157
},
72-
"dataSamplingPolicies": []
58+
"dataSamplingPolicies": [
59+
]
7360
}

Modules/TPC/run/tpcQCSACs.json

Lines changed: 23 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"password": "not_applicable",
99
"name": "not_applicable"
1010
},
11-
"Activity": {},
11+
"Activity": {
12+
},
1213
"monitoring": {
1314
"url": "infologger:///debug?qc"
1415
},
@@ -32,79 +33,36 @@
3233
"doLatest": "false",
3334
"rejectOutliersSACZeroScale": "true",
3435
"maxDeviationOutlierSACZero": "2.",
35-
"timestamps_comment": [
36-
"Put the timestamp of the corresponding file you want to look for in the timestamps array.",
37-
"You can either put a timestamp for every object or leave the array empty to take the latest file from the CCDB.",
38-
"An empty array to get the the latest version will be the main use case.",
39-
"The array is mapped to the output objects sequentially",
40-
"If you want to pick the latest file in the CCDB manually, you can use -1."
36+
"timestamps_comment": [ "Put the timestamp of the corresponding file you want to look for in the timestamps array.",
37+
"You can either put a timestamp for every object or leave the array empty to take the latest file from the CCDB.",
38+
"An empty array to get the the latest version will be the main use case.",
39+
"The array is mapped to the output objects sequentially",
40+
"If you want to pick the latest file in the CCDB manually, you can use -1."
4141
],
4242
"timestamps": [
43-
{
44-
"SACZero": "1686390443945"
45-
},
46-
{
47-
"SACOne": "-1"
48-
},
49-
{
50-
"SACDelta": "-1"
51-
},
52-
{
53-
"SACFourierCoeffs": "-1"
54-
}
55-
],
56-
"lookupMetaData_comment": [
57-
"Not used in the current version"
43+
{ "SACZero":"1686390443945" },
44+
{ "SACOne":"-1" },
45+
{ "SACDelta":"-1" },
46+
{ "SACFourierCoeffs":"-1" }
5847
],
48+
"lookupMetaData_comment": [ "Not used in the current version" ],
5949
"lookupMetaData": [
60-
{}
50+
{
51+
}
6152
],
6253
"storeMetaData_comment": "Not used in the current version",
6354
"storeMetaData": [
64-
{}
65-
],
66-
"histogramRanges_comment": [
67-
"nBins",
68-
"min",
69-
"max"
70-
],
71-
"histogramRanges": [
72-
{
73-
"SACZero": [
74-
"250",
75-
"-50",
76-
"-50"
77-
]
78-
},
79-
{
80-
"SACZeroScaled": [
81-
"250",
82-
"-5",
83-
"2"
84-
]
85-
},
8655
{
87-
"SACOne": [
88-
"250",
89-
"-100",
90-
"100"
91-
]
92-
},
93-
{
94-
"SACDelta": [
95-
"250",
96-
"-10",
97-
"10"
98-
]
99-
},
100-
{
101-
"SACFourierCoeffs": [
102-
"250",
103-
"-10",
104-
"10"
105-
]
10656
}
10757
],
58+
"histogramRanges_comment" : [ "nBins", "min", "max" ],
59+
"histogramRanges": [
60+
{ "SACZero" : [ "250", "-50", "-50" ] },
61+
{ "SACZeroScaled" : [ "250", "-5", "2" ] },
62+
{ "SACOne" : [ "250", "-100", "100" ] },
63+
{ "SACDelta" : [ "250", "-10", "10" ] },
64+
{ "SACFourierCoeffs" : [ "250", "-10", "10" ] }
65+
],
10866
"initTrigger": [
10967
"once"
11068
],
@@ -118,4 +76,4 @@
11876
}
11977
}
12078
}
121-
}
79+
}

Modules/TPC/run/tpcQCTracks_sampled.json

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,7 @@
3030
"cycleDurationSeconds": "10",
3131
"dataSource_comment": "The other type of dataSource is \"direct\", see basic-no-sampling.json.",
3232
"dataSources": [
33-
{
34-
"type": "dataSamplingPolicy",
35-
"name": "tpc-tracks"
36-
},
33+
{ "type": "dataSamplingPolicy", "name": "tpc-tracks" },
3734
{
3835
"type": "direct",
3936
"query": "meanvertex:GLO/MEANVERTEX/0?lifetime=condition&ccdb-path=GLO/Calib/MeanVertex"
@@ -69,9 +66,7 @@
6966
{
7067
"type": "Task",
7168
"name": "Tracks",
72-
"MOs": [
73-
"example"
74-
]
69+
"MOs": ["example"]
7570
}
7671
]
7772
}

0 commit comments

Comments
 (0)