CMS 3D CMS Logo

SiPixelPhase1Summary_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 from DQMServices.Core.DQMEDHarvester import DQMEDHarvester
3 
4 #
5 # This object is used to make changes for different running scenarios
6 #
7 
8 SiPixelPhase1SummaryOnline = DQMEDHarvester("SiPixelPhase1Summary",
9  TopFolderName = cms.string('PixelPhase1/Phase1_MechanicalView/'),
10  RunOnEndLumi = cms.bool(True),
11  RunOnEndJob = cms.bool(True),
12  SummaryMaps = cms.VPSet(
13  cms.PSet(
14  MapName = cms.string("Digi"),
15  MapHist = cms.string("mean_num_digis")
16  ),
17  cms.PSet(
18  MapName = cms.string("ADC"),
19  MapHist = cms.string("mean_adc")
20  ),
21  cms.PSet(
22  MapName = cms.string("NClustsTotal"),
23  MapHist = cms.string("mean_num_clusters")
24  ),
25  cms.PSet(
26  MapName = cms.string("ClustWidthOnTrk"),
27  MapHist = cms.string("mean_size")
28  ),
29  cms.PSet(
30  MapName = cms.string("Charge"),
31  MapHist = cms.string("mean_charge")
32  )
33  ),
34  # Number of dead ROCs required to generate an error. Order must be layers 1-4, ring1, ring2.
35  DeadROCErrorThreshold = cms.vdouble(0.2,0.2,0.2,0.2,0.2,0.2)
36 )
37 
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(
43  cms.PSet(
44  MapName = cms.string("Digi"),
45  MapHist = cms.string("mean_num_digis")
46  ),
47  cms.PSet(
48  MapName = cms.string("ADC"),
49  MapHist = cms.string("mean_adc")
50  ),
51  cms.PSet(
52  MapName = cms.string("NClustsTotal"),
53  MapHist = cms.string("mean_num_clusters")
54  ),
55  cms.PSet(
56  MapName = cms.string("ClustWidthOnTrk"),
57  MapHist = cms.string("mean_size")
58  ),
59  cms.PSet(
60  MapName = cms.string("Charge"),
61  MapHist = cms.string("mean_charge")
62  )
63  ),
64  DeadROCErrorThreshold = cms.vdouble(0.2,0.2,0.2,0.2,0.2,0.2)
65 
66 )
67 
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(
73  cms.PSet(
74  MapName = cms.string("Digi"),
75  MapHist = cms.string("mean_num_digis")
76  ),
77  cms.PSet(
78  MapName = cms.string("ClustWidthOnTrk"),
79  MapHist = cms.string("mean_size")
80  ),
81  cms.PSet(
82  MapName = cms.string("Charge"),
83  MapHist = cms.string("mean_charge")
84  )
85  ),
86  DeadROCErrorThreshold = cms.vdouble(0.2,0.2,0.2,0.2,0.2,0.2)
87 )
88 
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")
96 )
97 
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")
105 )
106 
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")
114 )
115 
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")
123 )
124 
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")
132 )
133 
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")
141 )
142 
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")
150 )
151 
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")
159 )
160 
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")
168 )
169 
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")
177 )
178 
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")
186 )
187 
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")
195 )
196 
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")
204 )
205 
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)