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")
36 SiPixelPhase1SummaryOffline =
DQMEDHarvester(
"SiPixelPhase1Summary",
37 TopFolderName = cms.string(
'PixelPhase1/Phase1_MechanicalView/'),
38 RunOnEndLumi = cms.bool(
False),
39 RunOnEndJob = cms.bool(
True),
40 SummaryMaps = cms.VPSet(
42 MapName = cms.string(
"Digi"),
43 MapHist = cms.string(
"mean_num_digis")
46 MapName = cms.string(
"ADC"),
47 MapHist = cms.string(
"mean_adc")
50 MapName = cms.string(
"NClustsTotal"),
51 MapHist = cms.string(
"mean_num_clusters")
54 MapName = cms.string(
"ClustWidthOnTrk"),
55 MapHist = cms.string(
"mean_size")
58 MapName = cms.string(
"Charge"),
59 MapHist = cms.string(
"mean_charge")
64 SiPixelPhase1SummaryCosmics =
DQMEDHarvester(
"SiPixelPhase1Summary",
65 TopFolderName = cms.string(
'PixelPhase1/Phase1_MechanicalView/'),
66 RunOnEndLumi = cms.bool(
False),
67 RunOnEndJob = cms.bool(
True),
68 SummaryMaps = cms.VPSet(
70 MapName = cms.string(
"Digi"),
71 MapHist = cms.string(
"mean_num_digis")
74 MapName = cms.string(
"ClustWidthOnTrk"),
75 MapHist = cms.string(
"mean_size")
78 MapName = cms.string(
"Charge"),
79 MapHist = cms.string(
"mean_charge")
84 ADCQTester = cms.EDAnalyzer(
"QualityTester",
85 qtList = cms.untracked.FileInPath(
'DQM/SiPixelPhase1Config/test/qTests/mean_adc_qualitytest_config.xml'),
86 QualityTestPrescaler = cms.untracked.int32(1),
87 getQualityTestsFromFile = cms.untracked.bool(
True),
88 qtestOnEndLumi = cms.untracked.bool(
True),
89 qtestOnEndJob = cms.untracked.bool(
True),
90 reportThreshold = cms.untracked.string(
"more")
93 ADCQTester_offline = cms.EDAnalyzer(
"QualityTester",
94 qtList = cms.untracked.FileInPath(
'DQM/SiPixelPhase1Config/test/qTests/mean_adc_qualitytest_config.xml'),
95 QualityTestPrescaler = cms.untracked.int32(1),
96 getQualityTestsFromFile = cms.untracked.bool(
True),
97 qtestOnEndLumi = cms.untracked.bool(
False),
98 qtestOnEndJob = cms.untracked.bool(
True),
99 reportThreshold = cms.untracked.string(
"more")
102 NumClustersQTester = cms.EDAnalyzer(
"QualityTester",
103 qtList = cms.untracked.FileInPath(
'DQM/SiPixelPhase1Config/test/qTests/mean_num_clusters_qualitytest_config.xml'),
104 QualityTestPrescaler = cms.untracked.int32(1),
105 getQualityTestsFromFile = cms.untracked.bool(
True),
106 qtestOnEndLumi = cms.untracked.bool(
True),
107 qtestOnEndJob = cms.untracked.bool(
True),
108 reportThreshold = cms.untracked.string(
"more")
111 NumClustersQTester_offline = cms.EDAnalyzer(
"QualityTester",
112 qtList = cms.untracked.FileInPath(
'DQM/SiPixelPhase1Config/test/qTests/mean_num_clusters_qualitytest_config.xml'),
113 QualityTestPrescaler = cms.untracked.int32(1),
114 getQualityTestsFromFile = cms.untracked.bool(
True),
115 qtestOnEndLumi = cms.untracked.bool(
False),
116 qtestOnEndJob = cms.untracked.bool(
True),
117 reportThreshold = cms.untracked.string(
"more")
120 NumDigisQTester = cms.EDAnalyzer(
"QualityTester",
121 qtList = cms.untracked.FileInPath(
'DQM/SiPixelPhase1Config/test/qTests/mean_num_digis_qualitytest_config.xml'),
122 QualityTestPrescaler = cms.untracked.int32(1),
123 getQualityTestsFromFile = cms.untracked.bool(
True),
124 qtestOnEndLumi = cms.untracked.bool(
True),
125 qtestOnEndJob = cms.untracked.bool(
True),
126 reportThreshold = cms.untracked.string(
"more")
129 NumDigisQTester_offline = cms.EDAnalyzer(
"QualityTester",
130 qtList = cms.untracked.FileInPath(
'DQM/SiPixelPhase1Config/test/qTests/mean_num_digis_qualitytest_config.xml'),
131 QualityTestPrescaler = cms.untracked.int32(1),
132 getQualityTestsFromFile = cms.untracked.bool(
True),
133 qtestOnEndLumi = cms.untracked.bool(
False),
134 qtestOnEndJob = cms.untracked.bool(
True),
135 reportThreshold = cms.untracked.string(
"more")
138 NumDigisQTester_cosmics = cms.EDAnalyzer(
"QualityTester",
139 qtList = cms.untracked.FileInPath(
'DQM/SiPixelPhase1Config/test/qTests/mean_num_digis_qualitytest_config_cosmics.xml'),
140 QualityTestPrescaler = cms.untracked.int32(1),
141 getQualityTestsFromFile = cms.untracked.bool(
True),
142 qtestOnEndLumi = cms.untracked.bool(
False),
143 qtestOnEndJob = cms.untracked.bool(
True),
144 reportThreshold = cms.untracked.string(
"more")
147 SizeQTester = cms.EDAnalyzer(
"QualityTester",
148 qtList = cms.untracked.FileInPath(
'DQM/SiPixelPhase1Config/test/qTests/mean_size_qualitytest_config.xml'),
149 QualityTestPrescaler = cms.untracked.int32(1),
150 getQualityTestsFromFile = cms.untracked.bool(
True),
151 qtestOnEndLumi = cms.untracked.bool(
True),
152 qtestOnEndJob = cms.untracked.bool(
True),
153 reportThreshold = cms.untracked.string(
"more")
156 SizeQTester_offline = cms.EDAnalyzer(
"QualityTester",
157 qtList = cms.untracked.FileInPath(
'DQM/SiPixelPhase1Config/test/qTests/mean_size_qualitytest_config.xml'),
158 QualityTestPrescaler = cms.untracked.int32(1),
159 getQualityTestsFromFile = cms.untracked.bool(
True),
160 qtestOnEndLumi = cms.untracked.bool(
False),
161 qtestOnEndJob = cms.untracked.bool(
True),
162 reportThreshold = cms.untracked.string(
"more")
165 SizeQTester_cosmics = cms.EDAnalyzer(
"QualityTester",
166 qtList = cms.untracked.FileInPath(
'DQM/SiPixelPhase1Config/test/qTests/mean_size_qualitytest_config_cosmics.xml'),
167 QualityTestPrescaler = cms.untracked.int32(1),
168 getQualityTestsFromFile = cms.untracked.bool(
True),
169 qtestOnEndLumi = cms.untracked.bool(
False),
170 qtestOnEndJob = cms.untracked.bool(
True),
171 reportThreshold = cms.untracked.string(
"more")
174 ChargeQTester = cms.EDAnalyzer(
"QualityTester",
175 qtList = cms.untracked.FileInPath(
'DQM/SiPixelPhase1Config/test/qTests/mean_charge_qualitytest_config.xml'),
176 QualityTestPrescaler = cms.untracked.int32(1),
177 getQualityTestsFromFile = cms.untracked.bool(
True),
178 qtestOnEndLumi = cms.untracked.bool(
True),
179 qtestOnEndJob = cms.untracked.bool(
True),
180 reportThreshold = cms.untracked.string(
"more")
183 ChargeQTester_offline = cms.EDAnalyzer(
"QualityTester",
184 qtList = cms.untracked.FileInPath(
'DQM/SiPixelPhase1Config/test/qTests/mean_charge_qualitytest_config.xml'),
185 QualityTestPrescaler = cms.untracked.int32(1),
186 getQualityTestsFromFile = cms.untracked.bool(
True),
187 qtestOnEndLumi = cms.untracked.bool(
False),
188 qtestOnEndJob = cms.untracked.bool(
True),
189 reportThreshold = cms.untracked.string(
"more")
192 ChargeQTester_cosmics = cms.EDAnalyzer(
"QualityTester",
193 qtList = cms.untracked.FileInPath(
'DQM/SiPixelPhase1Config/test/qTests/mean_charge_qualitytest_config_cosmics.xml'),
194 QualityTestPrescaler = cms.untracked.int32(1),
195 getQualityTestsFromFile = cms.untracked.bool(
True),
196 qtestOnEndLumi = cms.untracked.bool(
False),
197 qtestOnEndJob = cms.untracked.bool(
True),
198 reportThreshold = cms.untracked.string(
"more")
201 RunQTests_online = cms.Sequence(ADCQTester * NumClustersQTester * NumDigisQTester * SizeQTester * ChargeQTester)
202 RunQTests_offline = cms.Sequence(ADCQTester_offline * NumClustersQTester_offline * NumDigisQTester_offline * SizeQTester_offline * ChargeQTester_offline)
203 RunQTests_cosmics = cms.Sequence(NumDigisQTester_cosmics * SizeQTester_cosmics * ChargeQTester_cosmics)