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 )
35 
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(
41  cms.PSet(
42  MapName = cms.string("Digi"),
43  MapHist = cms.string("mean_num_digis")
44  ),
45  cms.PSet(
46  MapName = cms.string("ADC"),
47  MapHist = cms.string("mean_adc")
48  ),
49  cms.PSet(
50  MapName = cms.string("NClustsTotal"),
51  MapHist = cms.string("mean_num_clusters")
52  ),
53  cms.PSet(
54  MapName = cms.string("ClustWidthOnTrk"),
55  MapHist = cms.string("mean_size")
56  ),
57  cms.PSet(
58  MapName = cms.string("Charge"),
59  MapHist = cms.string("mean_charge")
60  )
61  )
62 )
63 
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(
69  cms.PSet(
70  MapName = cms.string("Digi"),
71  MapHist = cms.string("mean_num_digis")
72  ),
73  cms.PSet(
74  MapName = cms.string("ClustWidthOnTrk"),
75  MapHist = cms.string("mean_size")
76  ),
77  cms.PSet(
78  MapName = cms.string("Charge"),
79  MapHist = cms.string("mean_charge")
80  )
81  )
82 )
83 
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")
91 )
92 
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")
100 )
101 
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")
109 )
110 
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")
118 )
119 
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")
127 )
128 
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")
136 )
137 
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")
145 )
146 
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")
154 )
155 
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")
163 )
164 
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")
172 )
173 
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")
181 )
182 
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")
190 )
191 
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")
199 )
200 
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)