1 import FWCore.ParameterSet.Config
as cms
2 from DQMServices.Core.DQMEDHarvester
import DQMEDHarvester
9 TopFolderName = cms.string(
'PixelPhase1/Phase1_MechanicalView/'),
10 RunOnEndLumi = cms.bool(
True),
11 RunOnEndJob = cms.bool(
True),
12 SummaryMaps = cms.VPSet(
14 MapName = cms.string(
"Digi"),
15 MapHist = cms.string(
"mean_num_digis")
18 MapName = cms.string(
"ADC"),
19 MapHist = cms.string(
"mean_adc")
22 MapName = cms.string(
"NClustsTotal"),
23 MapHist = cms.string(
"mean_num_clusters")
26 MapName = cms.string(
"ClustWidthOnTrk"),
27 MapHist = cms.string(
"mean_size")
30 MapName = cms.string(
"Charge"),
31 MapHist = cms.string(
"mean_charge")
35 DeadROCErrorThreshold = cms.vdouble(0.2,0.2,0.2,0.2,0.2,0.2)
38 SiPixelPhase1SummaryOffline =
DQMEDHarvester(
"SiPixelPhase1Summary",
39 TopFolderName = cms.string(
'PixelPhase1/Phase1_MechanicalView/'),
40 RunOnEndLumi = cms.bool(
False),
41 RunOnEndJob = cms.bool(
True),
42 SummaryMaps = cms.VPSet(
44 MapName = cms.string(
"Digi"),
45 MapHist = cms.string(
"mean_num_digis")
48 MapName = cms.string(
"ADC"),
49 MapHist = cms.string(
"mean_adc")
52 MapName = cms.string(
"NClustsTotal"),
53 MapHist = cms.string(
"mean_num_clusters")
56 MapName = cms.string(
"ClustWidthOnTrk"),
57 MapHist = cms.string(
"mean_size")
60 MapName = cms.string(
"Charge"),
61 MapHist = cms.string(
"mean_charge")
64 DeadROCErrorThreshold = cms.vdouble(0.2,0.2,0.2,0.2,0.2,0.2)
68 SiPixelPhase1SummaryCosmics =
DQMEDHarvester(
"SiPixelPhase1Summary",
69 TopFolderName = cms.string(
'PixelPhase1/Phase1_MechanicalView/'),
70 RunOnEndLumi = cms.bool(
False),
71 RunOnEndJob = cms.bool(
True),
72 SummaryMaps = cms.VPSet(
74 MapName = cms.string(
"Digi"),
75 MapHist = cms.string(
"mean_num_digis")
78 MapName = cms.string(
"ClustWidthOnTrk"),
79 MapHist = cms.string(
"mean_size")
82 MapName = cms.string(
"Charge"),
83 MapHist = cms.string(
"mean_charge")
86 DeadROCErrorThreshold = cms.vdouble(0.2,0.2,0.2,0.2,0.2,0.2)
89 ADCQTester = cms.EDAnalyzer(
"QualityTester",
90 qtList = cms.untracked.FileInPath(
'DQM/SiPixelPhase1Config/test/qTests/mean_adc_qualitytest_config.xml'),
91 QualityTestPrescaler = cms.untracked.int32(1),
92 getQualityTestsFromFile = cms.untracked.bool(
True),
93 qtestOnEndLumi = cms.untracked.bool(
True),
94 qtestOnEndJob = cms.untracked.bool(
True),
95 reportThreshold = cms.untracked.string(
"more")
98 ADCQTester_offline = cms.EDAnalyzer(
"QualityTester",
99 qtList = cms.untracked.FileInPath(
'DQM/SiPixelPhase1Config/test/qTests/mean_adc_qualitytest_config.xml'),
100 QualityTestPrescaler = cms.untracked.int32(1),
101 getQualityTestsFromFile = cms.untracked.bool(
True),
102 qtestOnEndLumi = cms.untracked.bool(
False),
103 qtestOnEndJob = cms.untracked.bool(
True),
104 reportThreshold = cms.untracked.string(
"more")
107 NumClustersQTester = cms.EDAnalyzer(
"QualityTester",
108 qtList = cms.untracked.FileInPath(
'DQM/SiPixelPhase1Config/test/qTests/mean_num_clusters_qualitytest_config.xml'),
109 QualityTestPrescaler = cms.untracked.int32(1),
110 getQualityTestsFromFile = cms.untracked.bool(
True),
111 qtestOnEndLumi = cms.untracked.bool(
True),
112 qtestOnEndJob = cms.untracked.bool(
True),
113 reportThreshold = cms.untracked.string(
"more")
116 NumClustersQTester_offline = cms.EDAnalyzer(
"QualityTester",
117 qtList = cms.untracked.FileInPath(
'DQM/SiPixelPhase1Config/test/qTests/mean_num_clusters_qualitytest_config.xml'),
118 QualityTestPrescaler = cms.untracked.int32(1),
119 getQualityTestsFromFile = cms.untracked.bool(
True),
120 qtestOnEndLumi = cms.untracked.bool(
False),
121 qtestOnEndJob = cms.untracked.bool(
True),
122 reportThreshold = cms.untracked.string(
"more")
125 NumDigisQTester = cms.EDAnalyzer(
"QualityTester",
126 qtList = cms.untracked.FileInPath(
'DQM/SiPixelPhase1Config/test/qTests/mean_num_digis_qualitytest_config.xml'),
127 QualityTestPrescaler = cms.untracked.int32(1),
128 getQualityTestsFromFile = cms.untracked.bool(
True),
129 qtestOnEndLumi = cms.untracked.bool(
True),
130 qtestOnEndJob = cms.untracked.bool(
True),
131 reportThreshold = cms.untracked.string(
"more")
134 NumDigisQTester_offline = cms.EDAnalyzer(
"QualityTester",
135 qtList = cms.untracked.FileInPath(
'DQM/SiPixelPhase1Config/test/qTests/mean_num_digis_qualitytest_config.xml'),
136 QualityTestPrescaler = cms.untracked.int32(1),
137 getQualityTestsFromFile = cms.untracked.bool(
True),
138 qtestOnEndLumi = cms.untracked.bool(
False),
139 qtestOnEndJob = cms.untracked.bool(
True),
140 reportThreshold = cms.untracked.string(
"more")
143 NumDigisQTester_cosmics = cms.EDAnalyzer(
"QualityTester",
144 qtList = cms.untracked.FileInPath(
'DQM/SiPixelPhase1Config/test/qTests/mean_num_digis_qualitytest_config_cosmics.xml'),
145 QualityTestPrescaler = cms.untracked.int32(1),
146 getQualityTestsFromFile = cms.untracked.bool(
True),
147 qtestOnEndLumi = cms.untracked.bool(
False),
148 qtestOnEndJob = cms.untracked.bool(
True),
149 reportThreshold = cms.untracked.string(
"more")
152 SizeQTester = cms.EDAnalyzer(
"QualityTester",
153 qtList = cms.untracked.FileInPath(
'DQM/SiPixelPhase1Config/test/qTests/mean_size_qualitytest_config.xml'),
154 QualityTestPrescaler = cms.untracked.int32(1),
155 getQualityTestsFromFile = cms.untracked.bool(
True),
156 qtestOnEndLumi = cms.untracked.bool(
True),
157 qtestOnEndJob = cms.untracked.bool(
True),
158 reportThreshold = cms.untracked.string(
"more")
161 SizeQTester_offline = cms.EDAnalyzer(
"QualityTester",
162 qtList = cms.untracked.FileInPath(
'DQM/SiPixelPhase1Config/test/qTests/mean_size_qualitytest_config.xml'),
163 QualityTestPrescaler = cms.untracked.int32(1),
164 getQualityTestsFromFile = cms.untracked.bool(
True),
165 qtestOnEndLumi = cms.untracked.bool(
False),
166 qtestOnEndJob = cms.untracked.bool(
True),
167 reportThreshold = cms.untracked.string(
"more")
170 SizeQTester_cosmics = cms.EDAnalyzer(
"QualityTester",
171 qtList = cms.untracked.FileInPath(
'DQM/SiPixelPhase1Config/test/qTests/mean_size_qualitytest_config_cosmics.xml'),
172 QualityTestPrescaler = cms.untracked.int32(1),
173 getQualityTestsFromFile = cms.untracked.bool(
True),
174 qtestOnEndLumi = cms.untracked.bool(
False),
175 qtestOnEndJob = cms.untracked.bool(
True),
176 reportThreshold = cms.untracked.string(
"more")
179 ChargeQTester = cms.EDAnalyzer(
"QualityTester",
180 qtList = cms.untracked.FileInPath(
'DQM/SiPixelPhase1Config/test/qTests/mean_charge_qualitytest_config.xml'),
181 QualityTestPrescaler = cms.untracked.int32(1),
182 getQualityTestsFromFile = cms.untracked.bool(
True),
183 qtestOnEndLumi = cms.untracked.bool(
True),
184 qtestOnEndJob = cms.untracked.bool(
True),
185 reportThreshold = cms.untracked.string(
"more")
188 ChargeQTester_offline = cms.EDAnalyzer(
"QualityTester",
189 qtList = cms.untracked.FileInPath(
'DQM/SiPixelPhase1Config/test/qTests/mean_charge_qualitytest_config.xml'),
190 QualityTestPrescaler = cms.untracked.int32(1),
191 getQualityTestsFromFile = cms.untracked.bool(
True),
192 qtestOnEndLumi = cms.untracked.bool(
False),
193 qtestOnEndJob = cms.untracked.bool(
True),
194 reportThreshold = cms.untracked.string(
"more")
197 ChargeQTester_cosmics = cms.EDAnalyzer(
"QualityTester",
198 qtList = cms.untracked.FileInPath(
'DQM/SiPixelPhase1Config/test/qTests/mean_charge_qualitytest_config_cosmics.xml'),
199 QualityTestPrescaler = cms.untracked.int32(1),
200 getQualityTestsFromFile = cms.untracked.bool(
True),
201 qtestOnEndLumi = cms.untracked.bool(
False),
202 qtestOnEndJob = cms.untracked.bool(
True),
203 reportThreshold = cms.untracked.string(
"more")
206 RunQTests_online = cms.Sequence(ADCQTester * NumClustersQTester * NumDigisQTester * SizeQTester * ChargeQTester)
207 RunQTests_offline = cms.Sequence(ADCQTester_offline * NumClustersQTester_offline * NumDigisQTester_offline * SizeQTester_offline * ChargeQTester_offline)
208 RunQTests_cosmics = cms.Sequence(NumDigisQTester_cosmics * SizeQTester_cosmics * ChargeQTester_cosmics)