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),
31 lumiblock = cms.int32(10),
38 PerModule = cms.PSet(enabled = cms.bool(
True))
39 PerLadder = cms.PSet(enabled = cms.bool(
True))
40 PerLayer2D = cms.PSet(enabled = cms.bool(
True))
41 PerLayer1D = cms.PSet(enabled = cms.bool(
True))
42 PerReadout = cms.PSet(enabled = cms.bool(
True))
43 OverlayCurvesForTiming= cms.PSet(enabled = cms.bool(
True))
47 DefaultHisto = cms.PSet(
49 enabled = cms.bool(
True),
53 perLumiHarvesting = cms.bool(
False),
60 bookUndefined = cms.bool(
False),
63 topFolderName = cms.string(
"PixelPhase1"),
66 name = cms.string(
"unnamed"),
67 title = cms.string(
"Histogram of Something"),
68 xlabel = cms.string(
"something"),
69 ylabel = cms.string(
"count"),
70 dimensions = cms.int32(1),
71 range_min = cms.double(0),
72 range_max = cms.double(100),
73 range_nbins = cms.int32(100),
74 range_y_min = cms.double(0),
75 range_y_max = cms.double(100),
76 range_y_nbins = cms.int32(100),
99 DefaultHistoDigiCluster=DefaultHisto.clone()
100 DefaultHistoDigiCluster.topFolderName= cms.string(
"PixelPhase1/Phase1_MechanicalView")
102 DefaultHistoSummary=DefaultHisto.clone()
103 DefaultHistoSummary.topFolderName= cms.string(
"PixelPhase1/Summary")
105 DefaultHistoTrack=DefaultHisto.clone()
106 DefaultHistoTrack.topFolderName= cms.string(
"PixelPhase1/Tracks")
108 DefaultHistoReadout=DefaultHisto.clone()
109 DefaultHistoReadout.topFolderName= cms.string(
"PixelPhase1/FED/Readout")
112 StandardSpecifications1D = [
117 Specification(PerLadder).groupBy(
"PXBarrel/Shell/PXLayer/SignedLadder")
120 .groupBy(
"PXBarrel/Shell/PXLayer",
"EXTEND_X")
122 Specification(PerLadder).groupBy(
"PXForward/HalfCylinder/PXRing/PXDisk/SignedBlade")
125 .groupBy(
"PXForward/HalfCylinder/PXRing/PXDisk",
"EXTEND_X")
127 .groupBy(
"PXForward/HalfCylinder/PXRing/",
"EXTEND_X")
129 Specification().groupBy(
"PXBarrel").
save(),
130 Specification().groupBy(
"PXForward").
save(),
131 Specification(PerLayer1D).groupBy(
"PXBarrel/Shell/PXLayer").
save(),
132 Specification(PerLayer1D).groupBy(
"PXForward/HalfCylinder/PXRing/PXDisk").
save(),
134 Specification(PerModule).groupBy(
"PXBarrel/Shell/PXLayer/SignedLadder/PXModuleName").
save(),
135 Specification(PerModule).groupBy(
"PXForward/HalfCylinder/PXRing/PXDisk/SignedBlade/PXModuleName").
save(),
137 Specification(PerLadder).groupBy(
"PXForward/HalfCylinder/PXRing/PXDisk/SignedBlade/PXPanel")
139 .groupBy(
"PXForward/HalfCylinder/PXRing/PXDisk/SignedBlade",
"EXTEND_X")
141 Specification(PerLadder).groupBy(
"PXBarrel/Shell/PXLayer/SignedLadder/SignedModule")
143 .groupBy(
"PXBarrel/Shell/PXLayer/SignedLadder",
"EXTEND_X")
145 Specification().groupBy(
"PXBarrel/PXLayer")
147 Specification().groupBy(
"PXForward/PXDisk")
153 StandardSpecificationTrend = [
154 Specification().groupBy(
"PXBarrel/Lumisection")
156 .groupBy(
"PXBarrel",
"EXTEND_X")
158 Specification().groupBy(
"PXForward/Lumisection")
160 .groupBy(
"PXForward",
"EXTEND_X")
164 StandardSpecificationTrend2D = [
165 Specification().groupBy(
"PXBarrel/PXLayer/Lumisection")
167 .groupBy(
"PXBarrel/PXLayer",
"EXTEND_X")
168 .groupBy(
"PXBarrel",
"EXTEND_Y")
170 Specification().groupBy(
"PXForward/PXDisk/Lumisection")
172 .groupBy(
"PXForward/PXDisk",
"EXTEND_X")
173 .groupBy(
"PXForward",
"EXTEND_Y")
177 StandardSpecification2DProfile = [
178 Specification(PerLayer2D)
179 .groupBy(
"PXBarrel/PXLayer/SignedLadder/SignedModule")
180 .groupBy(
"PXBarrel/PXLayer/SignedLadder",
"EXTEND_X")
181 .groupBy(
"PXBarrel/PXLayer",
"EXTEND_Y")
184 Specification(PerLayer2D)
185 .groupBy(
"PXForward/PXRing/SignedBladePanel/PXDisk")
186 .groupBy(
"PXForward/PXRing/SignedBladePanel",
"EXTEND_X")
187 .groupBy(
"PXForward/PXRing",
"EXTEND_Y")
192 StandardSpecification2DOccupancy = [
193 Specification(PerLayer2D)
194 .groupBy(
"PXBarrel/PXLayer/SignedLadder/SignedModule")
195 .groupBy(
"PXBarrel/PXLayer/SignedLadder",
"EXTEND_X")
196 .groupBy(
"PXBarrel/PXLayer",
"EXTEND_Y")
198 Specification(PerLayer2D)
199 .groupBy(
"PXForward/PXRing/SignedBladePanel/PXDisk")
200 .groupBy(
"PXForward/PXRing/SignedBladePanel",
"EXTEND_X")
201 .groupBy(
"PXForward/PXRing",
"EXTEND_Y")
205 StandardSpecificationPixelmapProfile = [
206 Specification(PerLayer2D)
207 .groupBy(
"PXBarrel/PXLayer/SignedLadderCoord/SignedModuleCoord")
208 .groupBy(
"PXBarrel/PXLayer/SignedLadderCoord",
"EXTEND_X")
209 .groupBy(
"PXBarrel/PXLayer",
"EXTEND_Y")
212 Specification(PerLayer2D)
213 .groupBy(
"PXForward/PXRing/SignedBladePanelCoord/SignedDiskCoord")
214 .groupBy(
"PXForward/PXRing/SignedBladePanelCoord",
"EXTEND_X")
215 .groupBy(
"PXForward/PXRing",
"EXTEND_Y")
220 StandardSpecificationOccupancy = [
221 Specification(PerLayer2D)
222 .groupBy(
"PXBarrel/PXLayer/SignedLadderCoord/SignedModuleCoord")
223 .groupBy(
"PXBarrel/PXLayer/SignedLadderCoord",
"EXTEND_X")
224 .groupBy(
"PXBarrel/PXLayer",
"EXTEND_Y")
226 Specification(PerLayer2D)
227 .groupBy(
"PXForward/PXRing/SignedBladePanelCoord/SignedDiskCoord")
228 .groupBy(
"PXForward/PXRing/SignedBladePanelCoord",
"EXTEND_X")
229 .groupBy(
"PXForward/PXRing",
"EXTEND_Y")
239 StandardSpecifications1D_Num = [
240 Specification(PerLadder).groupBy(
"PXBarrel/Shell/PXLayer/SignedLadder/DetId/Event")
242 .groupBy(
"PXBarrel/Shell/PXLayer/SignedLadder").
save()
244 .groupBy(
"PXBarrel/Shell/PXLayer",
"EXTEND_X")
246 Specification(PerModule).groupBy(
"PXBarrel/Shell/PXLayer/SignedLadder/PXModuleName/Event")
248 .groupBy(
"PXBarrel/Shell/PXLayer/SignedLadder/PXModuleName")
250 Specification(PerLadder).groupBy(
"PXForward/HalfCylinder/PXRing/PXDisk/SignedBlade/DetId/Event")
252 .groupBy(
"PXForward/HalfCylinder/PXRing/PXDisk/SignedBlade").
save()
254 .groupBy(
"PXForward/HalfCylinder/PXRing/PXDisk/",
"EXTEND_X")
256 .groupBy(
"PXForward/HalfCylinder/PXRing/",
"EXTEND_X")
258 Specification(PerModule).groupBy(
"PXForward/HalfCylinder/PXRing/PXDisk/SignedBlade/PXModuleName/Event")
260 .groupBy(
"PXForward/HalfCylinder/PXRing/PXDisk/SignedBlade/PXModuleName")
263 Specification(PerLadder).groupBy(
"PXForward/HalfCylinder/PXRing/PXDisk/SignedBlade/PXPanel/Event")
265 .groupBy(
"PXForward/HalfCylinder/PXRing/PXDisk/SignedBlade/PXPanel")
267 .groupBy(
"PXForward/HalfCylinder/PXRing/PXDisk/SignedBlade",
"EXTEND_X")
269 Specification(PerLadder).groupBy(
"PXBarrel/Shell/PXLayer/SignedLadder/PXBModule/Event")
271 .groupBy(
"PXBarrel/Shell/PXLayer/SignedLadder/PXBModule")
273 .groupBy(
"PXBarrel/Shell/PXLayer/SignedLadder",
"EXTEND_X")
278 StandardSpecificationInclusive_Num = [
279 Specification().groupBy(
"PXBarrel/Event")
283 Specification().groupBy(
"PXForward/Event")
285 .groupBy(
"PXForward")
287 Specification().groupBy(
"PXAll/Event")
293 StandardSpecificationTrend_Num = [
295 Specification().groupBy(
"PXBarrel/PXLayer/Event")
297 .groupBy(
"PXBarrel/PXLayer/Lumisection")
299 .groupBy(
"PXBarrel/PXLayer",
"EXTEND_X")
300 .groupBy(
"PXBarrel",
"EXTEND_Y")
302 Specification().groupBy(
"PXBarrel/Event")
304 .groupBy(
"PXBarrel/Lumisection")
306 .groupBy(
"PXBarrel",
"EXTEND_X")
308 Specification().groupBy(
"PXForward/PXDisk/Event")
310 .groupBy(
"PXForward/PXDisk/Lumisection")
312 .groupBy(
"PXForward/PXDisk",
"EXTEND_X")
313 .groupBy(
"PXForward",
"EXTEND_Y")
315 Specification().groupBy(
"PXForward/Event")
317 .groupBy(
"PXForward/Lumisection")
319 .groupBy(
"PXForward",
"EXTEND_X")
321 Specification().groupBy(
"PXAll/Event")
323 .groupBy(
"PXAll/Lumisection")
325 .groupBy(
"PXAll",
"EXTEND_X")
330 StandardSpecification2DProfile_Num = [
332 Specification(PerLayer2D)
333 .groupBy(
"PXBarrel/PXLayer/SignedLadder/SignedModule" +
"/DetId/Event")
335 .groupBy(
"PXBarrel/PXLayer/SignedLadder/SignedModule")
337 .groupBy(
"PXBarrel/PXLayer/SignedLadder",
"EXTEND_X")
338 .groupBy(
"PXBarrel/PXLayer",
"EXTEND_Y")
340 Specification(PerLayer2D)
341 .groupBy(
"DetId/Event")
343 .groupBy(
"PXForward/PXRing/PXDisk/SignedBladePanel")
345 .groupBy(
"PXForward/PXRing/PXDisk",
"EXTEND_Y")
346 .groupBy(
"PXForward/PXRing",
"EXTEND_X")
354 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