1 import FWCore.ParameterSet.Config
as cms
3 from DQM.SiPixelPhase1Common.SpecificationBuilder_cfi
import Specification, parent
5 SiPixelPhase1Geometry = cms.PSet(
7 upgradePhase = cms.int32(1),
13 module_rows = cms.int32(160),
14 module_cols = cms.int32(416),
15 roc_rows = cms.int32(80),
16 roc_cols = cms.int32(52),
17 n_rocs = cms.int32(16),
20 max_lumisection = cms.int32(5000),
21 max_bunchcrossing = cms.int32(3600),
24 CablingMapLabel = cms.string(
""),
27 onlineblock = cms.int32(20),
28 n_onlineblocks = cms.int32(100),
35 PerModule = cms.PSet(enabled = cms.bool(
True))
36 PerLadder = cms.PSet(enabled = cms.bool(
True))
37 PerLayer2D = cms.PSet(enabled = cms.bool(
True))
38 PerLayer1D = cms.PSet(enabled = cms.bool(
True))
39 PerReadout = cms.PSet(enabled = cms.bool(
True))
40 OverlayCurvesForTiming= cms.PSet(enabled = cms.bool(
True))
44 DefaultHisto = cms.PSet(
46 enabled = cms.bool(
True),
50 perLumiHarvesting = cms.bool(
False),
57 bookUndefined = cms.bool(
False),
60 topFolderName = cms.string(
"PixelPhase1"),
63 name = cms.string(
"unnamed"),
64 title = cms.string(
"Histogram of Something"),
65 xlabel = cms.string(
"something"),
66 ylabel = cms.string(
"count"),
67 dimensions = cms.int32(1),
68 range_min = cms.double(0),
69 range_max = cms.double(100),
70 range_nbins = cms.int32(100),
71 range_y_min = cms.double(0),
72 range_y_max = cms.double(100),
73 range_y_nbins = cms.int32(100),
96 DefaultHistoDigiCluster=DefaultHisto.clone()
97 DefaultHistoDigiCluster.topFolderName= cms.string(
"PixelPhase1/Phase1_MechanicalView")
99 DefaultHistoSummary=DefaultHisto.clone()
100 DefaultHistoSummary.topFolderName= cms.string(
"PixelPhase1/Summary")
102 DefaultHistoTrack=DefaultHisto.clone()
103 DefaultHistoTrack.topFolderName= cms.string(
"PixelPhase1/Tracks")
105 DefaultHistoReadout=DefaultHisto.clone()
106 DefaultHistoReadout.topFolderName= cms.string(
"PixelPhase1/FED/Readout")
109 StandardSpecifications1D = [
114 Specification(PerLadder).groupBy(
"PXBarrel/Shell/PXLayer/SignedLadder")
117 .groupBy(
"PXBarrel/Shell/PXLayer",
"EXTEND_X")
119 Specification(PerLadder).groupBy(
"PXForward/HalfCylinder/PXRing/PXDisk/SignedBlade")
122 .groupBy(
"PXForward/HalfCylinder/PXRing/PXDisk",
"EXTEND_X")
124 .groupBy(
"PXForward/HalfCylinder/PXRing/",
"EXTEND_X")
126 Specification().groupBy(
"PXBarrel").
save(),
127 Specification().groupBy(
"PXForward").
save(),
128 Specification(PerLayer1D).groupBy(
"PXBarrel/Shell/PXLayer").
save(),
129 Specification(PerLayer1D).groupBy(
"PXForward/HalfCylinder/PXRing/PXDisk").
save(),
131 Specification(PerModule).groupBy(
"PXBarrel/Shell/PXLayer/SignedLadder/PXModuleName").
save(),
132 Specification(PerModule).groupBy(
"PXForward/HalfCylinder/PXRing/PXDisk/SignedBlade/PXModuleName").
save(),
134 Specification(PerLadder).groupBy(
"PXForward/HalfCylinder/PXRing/PXDisk/SignedBlade/PXPanel")
136 .groupBy(
"PXForward/HalfCylinder/PXRing/PXDisk/SignedBlade",
"EXTEND_X")
138 Specification(PerLadder).groupBy(
"PXBarrel/Shell/PXLayer/SignedLadder/SignedModule")
140 .groupBy(
"PXBarrel/Shell/PXLayer/SignedLadder",
"EXTEND_X")
142 Specification().groupBy(
"PXBarrel/PXLayer")
144 Specification().groupBy(
"PXForward/PXDisk")
150 StandardSpecificationTrend = [
151 Specification().groupBy(
"PXBarrel/Lumisection")
153 .groupBy(
"PXBarrel",
"EXTEND_X")
155 Specification().groupBy(
"PXForward/Lumisection")
157 .groupBy(
"PXForward",
"EXTEND_X")
161 StandardSpecificationTrend2D = [
162 Specification().groupBy(
"PXBarrel/PXLayer/Lumisection")
164 .groupBy(
"PXBarrel/PXLayer",
"EXTEND_X")
165 .groupBy(
"PXBarrel",
"EXTEND_Y")
167 Specification().groupBy(
"PXForward/PXDisk/Lumisection")
169 .groupBy(
"PXForward/PXDisk",
"EXTEND_X")
170 .groupBy(
"PXForward",
"EXTEND_Y")
174 StandardSpecification2DProfile = [
175 Specification(PerLayer2D)
176 .groupBy(
"PXBarrel/PXLayer/SignedLadder/SignedModule")
177 .groupBy(
"PXBarrel/PXLayer/SignedLadder",
"EXTEND_X")
178 .groupBy(
"PXBarrel/PXLayer",
"EXTEND_Y")
181 Specification(PerLayer2D)
182 .groupBy(
"PXForward/PXRing/SignedBladePanel/PXDisk")
183 .groupBy(
"PXForward/PXRing/SignedBladePanel",
"EXTEND_X")
184 .groupBy(
"PXForward/PXRing",
"EXTEND_Y")
189 StandardSpecification2DOccupancy = [
190 Specification(PerLayer2D)
191 .groupBy(
"PXBarrel/PXLayer/SignedLadder/SignedModule")
192 .groupBy(
"PXBarrel/PXLayer/SignedLadder",
"EXTEND_X")
193 .groupBy(
"PXBarrel/PXLayer",
"EXTEND_Y")
195 Specification(PerLayer2D)
196 .groupBy(
"PXForward/PXRing/SignedBladePanel/PXDisk")
197 .groupBy(
"PXForward/PXRing/SignedBladePanel",
"EXTEND_X")
198 .groupBy(
"PXForward/PXRing",
"EXTEND_Y")
202 StandardSpecificationPixelmapProfile = [
203 Specification(PerLayer2D)
204 .groupBy(
"PXBarrel/PXLayer/SignedLadderCoord/SignedModuleCoord")
205 .groupBy(
"PXBarrel/PXLayer/SignedLadderCoord",
"EXTEND_X")
206 .groupBy(
"PXBarrel/PXLayer",
"EXTEND_Y")
209 Specification(PerLayer2D)
210 .groupBy(
"PXForward/PXRing/SignedBladePanelCoord/SignedDiskCoord")
211 .groupBy(
"PXForward/PXRing/SignedBladePanelCoord",
"EXTEND_X")
212 .groupBy(
"PXForward/PXRing",
"EXTEND_Y")
217 StandardSpecificationOccupancy = [
218 Specification(PerLayer2D)
219 .groupBy(
"PXBarrel/PXLayer/SignedLadderCoord/SignedModuleCoord")
220 .groupBy(
"PXBarrel/PXLayer/SignedLadderCoord",
"EXTEND_X")
221 .groupBy(
"PXBarrel/PXLayer",
"EXTEND_Y")
223 Specification(PerLayer2D)
224 .groupBy(
"PXForward/PXRing/SignedBladePanelCoord/SignedDiskCoord")
225 .groupBy(
"PXForward/PXRing/SignedBladePanelCoord",
"EXTEND_X")
226 .groupBy(
"PXForward/PXRing",
"EXTEND_Y")
236 StandardSpecifications1D_Num = [
237 Specification(PerLadder).groupBy(
"PXBarrel/Shell/PXLayer/SignedLadder/DetId/Event")
239 .groupBy(
"PXBarrel/Shell/PXLayer/SignedLadder").
save()
241 .groupBy(
"PXBarrel/Shell/PXLayer",
"EXTEND_X")
243 Specification(PerModule).groupBy(
"PXBarrel/Shell/PXLayer/SignedLadder/PXModuleName/Event")
245 .groupBy(
"PXBarrel/Shell/PXLayer/SignedLadder/PXModuleName")
247 Specification(PerLadder).groupBy(
"PXForward/HalfCylinder/PXRing/PXDisk/SignedBlade/DetId/Event")
249 .groupBy(
"PXForward/HalfCylinder/PXRing/PXDisk/SignedBlade").
save()
251 .groupBy(
"PXForward/HalfCylinder/PXRing/PXDisk/",
"EXTEND_X")
253 .groupBy(
"PXForward/HalfCylinder/PXRing/",
"EXTEND_X")
255 Specification(PerModule).groupBy(
"PXForward/HalfCylinder/PXRing/PXDisk/SignedBlade/PXModuleName/Event")
257 .groupBy(
"PXForward/HalfCylinder/PXRing/PXDisk/SignedBlade/PXModuleName")
260 Specification(PerLadder).groupBy(
"PXForward/HalfCylinder/PXRing/PXDisk/SignedBlade/PXPanel/Event")
262 .groupBy(
"PXForward/HalfCylinder/PXRing/PXDisk/SignedBlade/PXPanel")
264 .groupBy(
"PXForward/HalfCylinder/PXRing/PXDisk/SignedBlade",
"EXTEND_X")
266 Specification(PerLadder).groupBy(
"PXBarrel/Shell/PXLayer/SignedLadder/PXBModule/Event")
268 .groupBy(
"PXBarrel/Shell/PXLayer/SignedLadder/PXBModule")
270 .groupBy(
"PXBarrel/Shell/PXLayer/SignedLadder",
"EXTEND_X")
275 StandardSpecificationInclusive_Num = [
276 Specification().groupBy(
"PXBarrel/Event")
280 Specification().groupBy(
"PXForward/Event")
282 .groupBy(
"PXForward")
284 Specification().groupBy(
"PXAll/Event")
290 StandardSpecificationTrend_Num = [
292 Specification().groupBy(
"PXBarrel/PXLayer/Event")
294 .groupBy(
"PXBarrel/PXLayer/Lumisection")
296 .groupBy(
"PXBarrel/PXLayer",
"EXTEND_X")
297 .groupBy(
"PXBarrel",
"EXTEND_Y")
299 Specification().groupBy(
"PXBarrel/PXLayer/Event")
301 .groupBy(
"PXBarrel/Lumisection")
303 .groupBy(
"PXBarrel",
"EXTEND_X")
305 Specification().groupBy(
"PXForward/PXDisk/Event")
307 .groupBy(
"PXForward/PXDisk/Lumisection")
309 .groupBy(
"PXForward/PXDisk",
"EXTEND_X")
310 .groupBy(
"PXForward",
"EXTEND_Y")
312 Specification().groupBy(
"PXForward/PXDisk/Event")
314 .groupBy(
"PXForward/Lumisection")
316 .groupBy(
"PXForward",
"EXTEND_X")
318 Specification().groupBy(
"PXAll/Event")
320 .groupBy(
"PXAll/Lumisection")
322 .groupBy(
"PXAll",
"EXTEND_X")
327 StandardSpecification2DProfile_Num = [
328 Specification(PerLayer2D)
329 .groupBy(
"PXBarrel/PXLayer/SignedLadder/SignedModule" +
"/DetId/Event")
331 .groupBy(
"PXBarrel/PXLayer/SignedLadder/SignedModule")
333 .groupBy(
"PXBarrel/PXLayer/SignedLadder",
"EXTEND_X")
334 .groupBy(
"PXBarrel/PXLayer",
"EXTEND_Y")
336 Specification(PerLayer2D)
337 .groupBy(
"DetId/Event")
339 .groupBy(
"PXForward/PXRing/PXDisk/SignedBladePanel")
341 .groupBy(
"PXForward/PXRing/PXDisk",
"EXTEND_Y")
342 .groupBy(
"PXForward/PXRing",
"EXTEND_X")
350 if isinstance(a, cms.VPSet)
or isinstance(a, Specification):
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger list("!*","!HLTx*"if it matches 2 triggers or more) will accept the event if all the matching triggers are FAIL.It will reject the event if any of the triggers are PASS or EXCEPTION(this matches the behavior of"!*"before the partial wildcard feature was incorporated).Triggers which are in the READY state are completely ignored.(READY should never be returned since the trigger paths have been run