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  # schedule this module to run *after* the QTests.
13  inputGeneration = cms.untracked.string('DQMGenerationQTest'),
14  outputGeneration = cms.untracked.string('DQMGenerationSummary'),
15  SummaryMaps = cms.VPSet(
16  cms.PSet(
17  MapName = cms.string("Digi"),
18  MapHist = cms.string("mean_num_digis")
19  ),
20  cms.PSet(
21  MapName = cms.string("ADC"),
22  MapHist = cms.string("mean_adc")
23  ),
24  cms.PSet(
25  MapName = cms.string("NClustsTotal"),
26  MapHist = cms.string("mean_num_clusters")
27  ),
28  cms.PSet(
29  MapName = cms.string("ClustWidthOnTrk"),
30  MapHist = cms.string("mean_size")
31  ),
32  cms.PSet(
33  MapName = cms.string("Charge"),
34  MapHist = cms.string("mean_charge")
35  )
36  ),
37  # Number of dead ROCs required to generate an error. Order must be layers 1-4, ring1, ring2.
38  DeadROCErrorThreshold = cms.vdouble(0.2,0.2,0.2,0.2,0.2,0.2)
39 )
40 
41 SiPixelPhase1SummaryOffline = DQMEDHarvester("SiPixelPhase1Summary",
42  TopFolderName = cms.string('PixelPhase1/Phase1_MechanicalView/'),
43  RunOnEndLumi = cms.bool(False),
44  RunOnEndJob = cms.bool(True),
45  # schedule this module to run *after* the QTests.
46  inputGeneration = cms.untracked.string('DQMGenerationQTest'),
47  outputGeneration = cms.untracked.string('DQMGenerationSummary'),
48  SummaryMaps = cms.VPSet(
49  cms.PSet(
50  MapName = cms.string("Digi"),
51  MapHist = cms.string("mean_num_digis")
52  ),
53  cms.PSet(
54  MapName = cms.string("ADC"),
55  MapHist = cms.string("mean_adc")
56  ),
57  cms.PSet(
58  MapName = cms.string("NClustsTotal"),
59  MapHist = cms.string("mean_num_clusters")
60  ),
61  cms.PSet(
62  MapName = cms.string("ClustWidthOnTrk"),
63  MapHist = cms.string("mean_size")
64  ),
65  cms.PSet(
66  MapName = cms.string("Charge"),
67  MapHist = cms.string("mean_charge")
68  )
69  ),
70  DeadROCErrorThreshold = cms.vdouble(0.2,0.2,0.2,0.2,0.2,0.2)
71 
72 )
73 
74 SiPixelPhase1SummaryCosmics = DQMEDHarvester("SiPixelPhase1Summary",
75  TopFolderName = cms.string('PixelPhase1/Phase1_MechanicalView/'),
76  RunOnEndLumi = cms.bool(False),
77  RunOnEndJob = cms.bool(True),
78  # schedule this module to run *after* the QTests.
79  inputGeneration = cms.untracked.string('DQMGenerationQTest'),
80  outputGeneration = cms.untracked.string('DQMGenerationSummary'),
81  SummaryMaps = cms.VPSet(
82  cms.PSet(
83  MapName = cms.string("Digi"),
84  MapHist = cms.string("mean_num_digis")
85  ),
86  cms.PSet(
87  MapName = cms.string("ClustWidthOnTrk"),
88  MapHist = cms.string("mean_size")
89  ),
90  cms.PSet(
91  MapName = cms.string("Charge"),
92  MapHist = cms.string("mean_charge")
93  )
94  ),
95  DeadROCErrorThreshold = cms.vdouble(0.2,0.2,0.2,0.2,0.2,0.2)
96 )
97 
98 from DQMServices.Core.DQMQualityTester import DQMQualityTester
99 ADCQTester = DQMQualityTester(
100  qtList = cms.untracked.FileInPath('DQM/SiPixelPhase1Config/test/qTests/mean_adc_qualitytest_config.xml'),
101  QualityTestPrescaler = cms.untracked.int32(1),
102  getQualityTestsFromFile = cms.untracked.bool(True),
103  qtestOnEndLumi = cms.untracked.bool(True),
104  qtestOnEndJob = cms.untracked.bool(True),
105  reportThreshold = cms.untracked.string("more")
106 )
107 
108 ADCQTester_offline = DQMQualityTester(
109  qtList = cms.untracked.FileInPath('DQM/SiPixelPhase1Config/test/qTests/mean_adc_qualitytest_config.xml'),
110  QualityTestPrescaler = cms.untracked.int32(1),
111  getQualityTestsFromFile = cms.untracked.bool(True),
112  qtestOnEndLumi = cms.untracked.bool(False),
113  qtestOnEndJob = cms.untracked.bool(True),
114  reportThreshold = cms.untracked.string("more")
115 )
116 
117 NumClustersQTester = DQMQualityTester(
118  qtList = cms.untracked.FileInPath('DQM/SiPixelPhase1Config/test/qTests/mean_num_clusters_qualitytest_config.xml'),
119  QualityTestPrescaler = cms.untracked.int32(1),
120  getQualityTestsFromFile = cms.untracked.bool(True),
121  qtestOnEndLumi = cms.untracked.bool(True),
122  qtestOnEndJob = cms.untracked.bool(True),
123  reportThreshold = cms.untracked.string("more")
124 )
125 
126 NumClustersQTester_offline = DQMQualityTester(
127  qtList = cms.untracked.FileInPath('DQM/SiPixelPhase1Config/test/qTests/mean_num_clusters_qualitytest_config.xml'),
128  QualityTestPrescaler = cms.untracked.int32(1),
129  getQualityTestsFromFile = cms.untracked.bool(True),
130  qtestOnEndLumi = cms.untracked.bool(False),
131  qtestOnEndJob = cms.untracked.bool(True),
132  reportThreshold = cms.untracked.string("more")
133 )
134 
135 NumDigisQTester = DQMQualityTester(
136  qtList = cms.untracked.FileInPath('DQM/SiPixelPhase1Config/test/qTests/mean_num_digis_qualitytest_config.xml'),
137  QualityTestPrescaler = cms.untracked.int32(1),
138  getQualityTestsFromFile = cms.untracked.bool(True),
139  qtestOnEndLumi = cms.untracked.bool(True),
140  qtestOnEndJob = cms.untracked.bool(True),
141  reportThreshold = cms.untracked.string("more")
142 )
143 
144 NumDigisQTester_offline = DQMQualityTester(
145  qtList = cms.untracked.FileInPath('DQM/SiPixelPhase1Config/test/qTests/mean_num_digis_qualitytest_config.xml'),
146  QualityTestPrescaler = cms.untracked.int32(1),
147  getQualityTestsFromFile = cms.untracked.bool(True),
148  qtestOnEndLumi = cms.untracked.bool(False),
149  qtestOnEndJob = cms.untracked.bool(True),
150  reportThreshold = cms.untracked.string("more")
151 )
152 
153 NumDigisQTester_cosmics = DQMQualityTester(
154  qtList = cms.untracked.FileInPath('DQM/SiPixelPhase1Config/test/qTests/mean_num_digis_qualitytest_config_cosmics.xml'),
155  QualityTestPrescaler = cms.untracked.int32(1),
156  getQualityTestsFromFile = cms.untracked.bool(True),
157  qtestOnEndLumi = cms.untracked.bool(False),
158  qtestOnEndJob = cms.untracked.bool(True),
159  reportThreshold = cms.untracked.string("more")
160 )
161 
162 SizeQTester = DQMQualityTester(
163  qtList = cms.untracked.FileInPath('DQM/SiPixelPhase1Config/test/qTests/mean_size_qualitytest_config.xml'),
164  QualityTestPrescaler = cms.untracked.int32(1),
165  getQualityTestsFromFile = cms.untracked.bool(True),
166  qtestOnEndLumi = cms.untracked.bool(True),
167  qtestOnEndJob = cms.untracked.bool(True),
168  reportThreshold = cms.untracked.string("more")
169 )
170 
171 SizeQTester_offline = DQMQualityTester(
172  qtList = cms.untracked.FileInPath('DQM/SiPixelPhase1Config/test/qTests/mean_size_qualitytest_config.xml'),
173  QualityTestPrescaler = cms.untracked.int32(1),
174  getQualityTestsFromFile = cms.untracked.bool(True),
175  qtestOnEndLumi = cms.untracked.bool(False),
176  qtestOnEndJob = cms.untracked.bool(True),
177  reportThreshold = cms.untracked.string("more")
178 )
179 
180 SizeQTester_cosmics = DQMQualityTester(
181  qtList = cms.untracked.FileInPath('DQM/SiPixelPhase1Config/test/qTests/mean_size_qualitytest_config_cosmics.xml'),
182  QualityTestPrescaler = cms.untracked.int32(1),
183  getQualityTestsFromFile = cms.untracked.bool(True),
184  qtestOnEndLumi = cms.untracked.bool(False),
185  qtestOnEndJob = cms.untracked.bool(True),
186  reportThreshold = cms.untracked.string("more")
187 )
188 
189 ChargeQTester = DQMQualityTester(
190  qtList = cms.untracked.FileInPath('DQM/SiPixelPhase1Config/test/qTests/mean_charge_qualitytest_config.xml'),
191  QualityTestPrescaler = cms.untracked.int32(1),
192  getQualityTestsFromFile = cms.untracked.bool(True),
193  qtestOnEndLumi = cms.untracked.bool(True),
194  qtestOnEndJob = cms.untracked.bool(True),
195  reportThreshold = cms.untracked.string("more")
196 )
197 
198 ChargeQTester_offline = DQMQualityTester(
199  qtList = cms.untracked.FileInPath('DQM/SiPixelPhase1Config/test/qTests/mean_charge_qualitytest_config.xml'),
200  QualityTestPrescaler = cms.untracked.int32(1),
201  getQualityTestsFromFile = cms.untracked.bool(True),
202  qtestOnEndLumi = cms.untracked.bool(False),
203  qtestOnEndJob = cms.untracked.bool(True),
204  reportThreshold = cms.untracked.string("more")
205 )
206 
207 ChargeQTester_cosmics = DQMQualityTester(
208  qtList = cms.untracked.FileInPath('DQM/SiPixelPhase1Config/test/qTests/mean_charge_qualitytest_config_cosmics.xml'),
209  QualityTestPrescaler = cms.untracked.int32(1),
210  getQualityTestsFromFile = cms.untracked.bool(True),
211  qtestOnEndLumi = cms.untracked.bool(False),
212  qtestOnEndJob = cms.untracked.bool(True),
213  reportThreshold = cms.untracked.string("more")
214 )
215 
216 RunQTests_online = cms.Sequence(ADCQTester * NumClustersQTester * NumDigisQTester * SizeQTester * ChargeQTester)
217 RunQTests_offline = cms.Sequence(ADCQTester_offline * NumClustersQTester_offline * NumDigisQTester_offline * SizeQTester_offline * ChargeQTester_offline)
218 RunQTests_cosmics = cms.Sequence(NumDigisQTester_cosmics * SizeQTester_cosmics * ChargeQTester_cosmics)
DQMQualityTester
Definition: DQMQualityTester.py:1
DQMEDHarvester
Definition: DQMEDHarvester.py:1