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(1000),
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))
43 DefaultHisto = cms.PSet(
45 enabled = cms.bool(
True),
49 perLumiHarvesting = cms.bool(
False),
56 bookUndefined = cms.bool(
False),
59 topFolderName = cms.string(
"PixelPhase1"),
62 name = cms.string(
"unnamed"),
63 title = cms.string(
"Histogram of Something"),
64 xlabel = cms.string(
"something"),
65 ylabel = cms.string(
"count"),
66 dimensions = cms.int32(1),
67 range_min = cms.double(0),
68 range_max = cms.double(100),
69 range_nbins = cms.int32(100),
70 range_y_min = cms.double(0),
71 range_y_max = cms.double(100),
72 range_y_nbins = cms.int32(100),
95 DefaultHistoDigiCluster=DefaultHisto.clone()
96 DefaultHistoDigiCluster.topFolderName= cms.string(
"PixelPhase1/Phase1_MechanicalView")
98 DefaultHistoSummary=DefaultHisto.clone()
99 DefaultHistoSummary.topFolderName= cms.string(
"PixelPhase1/Summary")
101 DefaultHistoTrack=DefaultHisto.clone()
102 DefaultHistoTrack.topFolderName= cms.string(
"PixelPhase1/Tracks")
104 DefaultHistoReadout=DefaultHisto.clone()
105 DefaultHistoReadout.topFolderName= cms.string(
"PixelPhase1/FED/Readout")
108 StandardSpecifications1D = [
113 Specification(PerLadder).groupBy(
"PXBarrel/Shell/PXLayer/SignedLadder")
116 .groupBy(
"PXBarrel/Shell/PXLayer",
"EXTEND_X")
118 Specification(PerLadder).groupBy(
"PXForward/HalfCylinder/PXDisk/PXRing/SignedBlade")
121 .groupBy(
"PXForward/HalfCylinder/PXDisk/PXRing",
"EXTEND_X")
123 .groupBy(
"PXForward/HalfCylinder/PXDisk/",
"EXTEND_X")
125 Specification().groupBy(
"PXBarrel").
save(),
126 Specification().groupBy(
"PXForward").
save(),
127 Specification(PerLayer1D).groupBy(
"PXBarrel/Shell/PXLayer").
save(),
128 Specification(PerLayer1D).groupBy(
"PXForward/HalfCylinder/PXDisk/PXRing").
save(),
130 Specification(PerModule).groupBy(
"PXBarrel/Shell/PXLayer/SignedLadder/PXModuleName").
save(),
131 Specification(PerModule).groupBy(
"PXForward/HalfCylinder/PXDisk/PXRing/SignedBlade/PXModuleName").
save(),
133 Specification(PerLadder).groupBy(
"PXForward/HalfCylinder/PXDisk/PXRing/SignedBlade/PXPanel")
135 .groupBy(
"PXForward/HalfCylinder/PXDisk/PXRing/SignedBlade",
"EXTEND_X")
137 Specification(PerLadder).groupBy(
"PXBarrel/Shell/PXLayer/SignedLadder/PXBModule")
139 .groupBy(
"PXBarrel/Shell/PXLayer/SignedLadder",
"EXTEND_X")
144 StandardSpecificationTrend = [
145 Specification().groupBy(
"PXBarrel/Lumisection")
147 .groupBy(
"PXBarrel",
"EXTEND_X")
149 Specification().groupBy(
"PXForward/Lumisection")
151 .groupBy(
"PXForward",
"EXTEND_X")
155 StandardSpecificationTrend2D = [
156 Specification().groupBy(
"PXBarrel/PXLayer/Lumisection")
158 .groupBy(
"PXBarrel/PXLayer",
"EXTEND_X")
159 .groupBy(
"PXBarrel",
"EXTEND_Y")
161 Specification().groupBy(
"PXForward/PXDisk/Lumisection")
163 .groupBy(
"PXForward/PXDisk",
"EXTEND_X")
164 .groupBy(
"PXForward",
"EXTEND_Y")
168 StandardSpecification2DProfile = [
169 Specification(PerLayer2D)
170 .groupBy(
"PXBarrel/PXLayer/SignedLadder/SignedModule")
171 .groupBy(
"PXBarrel/PXLayer/SignedLadder",
"EXTEND_X")
172 .groupBy(
"PXBarrel/PXLayer",
"EXTEND_Y")
175 Specification(PerLayer2D)
176 .groupBy(
"PXForward/PXRing/SignedBladePanelCoord/SignedDiskCoord")
177 .groupBy(
"PXForward/PXRing/SignedBladePanelCoord",
"EXTEND_X")
178 .groupBy(
"PXForward/PXRing",
"EXTEND_Y")
183 StandardSpecificationPixelmapProfile = [
184 Specification(PerLayer2D)
185 .groupBy(
"PXBarrel/PXLayer/SignedLadderCoord/SignedModuleCoord")
186 .groupBy(
"PXBarrel/PXLayer/SignedLadderCoord",
"EXTEND_X")
187 .groupBy(
"PXBarrel/PXLayer",
"EXTEND_Y")
190 Specification(PerLayer2D)
191 .groupBy(
"PXForward/PXRing/SignedBladePanelCoord/SignedDiskCoord")
192 .groupBy(
"PXForward/PXRing/SignedBladePanelCoord",
"EXTEND_X")
193 .groupBy(
"PXForward/PXRing",
"EXTEND_Y")
198 StandardSpecificationOccupancy = [
199 Specification(PerLayer2D)
200 .groupBy(
"PXBarrel/PXLayer/SignedLadderCoord/SignedModuleCoord")
201 .groupBy(
"PXBarrel/PXLayer/SignedLadderCoord",
"EXTEND_X")
202 .groupBy(
"PXBarrel/PXLayer",
"EXTEND_Y")
204 Specification(PerLayer2D)
205 .groupBy(
"PXForward/PXRing/SignedBladePanelCoord/SignedDiskCoord")
206 .groupBy(
"PXForward/PXRing/SignedBladePanelCoord",
"EXTEND_X")
207 .groupBy(
"PXForward/PXRing",
"EXTEND_Y")
212 StandardSpecifications1D_Num = [
213 Specification(PerLadder).groupBy(
"PXBarrel/Shell/PXLayer/SignedLadder/DetId/Event")
215 .groupBy(
"PXBarrel/Shell/PXLayer/SignedLadder").
save()
217 .groupBy(
"PXBarrel/Shell/PXLayer",
"EXTEND_X")
219 Specification(PerModule).groupBy(
"PXBarrel/Shell/PXLayer/SignedLadder/PXModuleName/Event")
221 .groupBy(
"PXBarrel/Shell/PXLayer/SignedLadder/PXModuleName")
223 Specification(PerLadder).groupBy(
"PXForward/HalfCylinder/PXDisk/PXRing/SignedBlade/DetId/Event")
225 .groupBy(
"PXForward/HalfCylinder/PXDisk/PXRing/SignedBlade").
save()
227 .groupBy(
"PXForward/HalfCylinder/PXDisk/PXRing",
"EXTEND_X")
229 .groupBy(
"PXForward/HalfCylinder/PXDisk/",
"EXTEND_X")
231 Specification(PerModule).groupBy(
"PXForward/HalfCylinder/PXDisk/PXRing/SignedBlade/PXModuleName/Event")
233 .groupBy(
"PXForward/HalfCylinder/PXDisk/PXRing/SignedBlade/PXModuleName")
236 Specification(PerLadder).groupBy(
"PXForward/HalfCylinder/PXDisk/PXRing/SignedBlade/PXPanel/Event")
238 .groupBy(
"PXForward/HalfCylinder/PXDisk/PXRing/SignedBlade/PXPanel")
240 .groupBy(
"PXForward/HalfCylinder/PXDisk/PXRing/SignedBlade",
"EXTEND_X")
242 Specification(PerLadder).groupBy(
"PXBarrel/Shell/PXLayer/SignedLadder/PXBModule/Event")
244 .groupBy(
"PXBarrel/Shell/PXLayer/SignedLadder/PXBModule")
246 .groupBy(
"PXBarrel/Shell/PXLayer/SignedLadder",
"EXTEND_X")
251 StandardSpecificationInclusive_Num = [
252 Specification().groupBy(
"PXBarrel/Event")
256 Specification().groupBy(
"PXForward/Event")
258 .groupBy(
"PXForward")
262 StandardSpecificationTrend_Num = [
264 Specification().groupBy(
"PXBarrel/PXLayer/Event")
266 .groupBy(
"PXBarrel/PXLayer/Lumisection")
268 .groupBy(
"PXBarrel/PXLayer",
"EXTEND_X")
269 .groupBy(
"PXBarrel",
"EXTEND_Y")
271 Specification().groupBy(
"PXBarrel/PXLayer/Event")
273 .groupBy(
"PXBarrel/Lumisection")
275 .groupBy(
"PXBarrel",
"EXTEND_X")
277 Specification().groupBy(
"PXForward/PXDisk/Event")
279 .groupBy(
"PXForward/PXDisk/Lumisection")
281 .groupBy(
"PXForward/PXDisk",
"EXTEND_X")
282 .groupBy(
"PXForward",
"EXTEND_Y")
284 Specification().groupBy(
"PXForward/PXDisk/Event")
286 .groupBy(
"PXForward/Lumisection")
288 .groupBy(
"PXForward",
"EXTEND_X")
293 StandardSpecification2DProfile_Num = [
294 Specification(PerLayer2D)
295 .groupBy(
"PXBarrel/PXLayer/SignedLadder/SignedModule" +
"/DetId/Event")
297 .groupBy(
"PXBarrel/PXLayer/SignedLadder/SignedModule")
299 .groupBy(
"PXBarrel/PXLayer/SignedLadder",
"EXTEND_X")
300 .groupBy(
"PXBarrel/PXLayer",
"EXTEND_Y")
302 Specification(PerLayer2D)
303 .groupBy(
"DetId/Event")
305 .groupBy(
"PXForward/PXRing/PXDisk/SignedBladePanel")
307 .groupBy(
"PXForward/PXRing/PXDisk",
"EXTEND_Y")
308 .groupBy(
"PXForward/PXRing",
"EXTEND_X")
316 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