1 import FWCore.ParameterSet.Config
as cms
2 from DQMServices.Core.DQMEDHarvester
import DQMEDHarvester
3 import DQM.SiPixelPhase1Common.TriggerEventFlag_cfi
as trigger
8 SiPixelPhase1DeadChannelsPerFED = DefaultHisto.clone(
9 topFolderName = DefaultHisto.topFolderName.value() +
"/FED",
10 name =
"Dead Channels",
11 title =
"Dead Channels",
12 xlabel =
"dead channels",
14 range_min = 0, range_max = 1000, range_nbins = 100,
17 Specification().groupBy(
"FED/Event")
21 .groupBy(
"",
"EXTEND_X")
23 Specification().groupBy(
"FED/Event")
25 .groupBy(
"FED/LumiBlock")
27 .groupBy(
"FED",
"EXTEND_X")
28 .groupBy(
"",
"EXTEND_Y")
30 Specification().groupBy(
"LumiBlock/Event")
34 .groupBy(
"",
"EXTEND_X")
36 Specification().groupBy(
"PXBarrel/Event")
40 Specification().groupBy(
"PXForward/Event")
44 Specification().groupBy(
"PXBarrel/Event")
46 .groupBy(
"PXBarrel/LumiBlock")
48 .groupBy(
"PXBarrel",
"EXTEND_X")
50 Specification().groupBy(
"PXForward/Event")
52 .groupBy(
"PXForward/LumiBlock")
54 .groupBy(
"PXForward",
"EXTEND_X")
56 Specification().groupBy(
"PXBarrel/PXLayer/Event")
58 .groupBy(
"PXBarrel/PXLayer/LumiBlock")
60 .groupBy(
"PXBarrel/PXLayer",
"EXTEND_X")
61 .groupBy(
"PXBarrel",
"EXTEND_Y")
63 Specification().groupBy(
"PXForward/PXDisk/Event")
65 .groupBy(
"PXForward/PXDisk/LumiBlock")
67 .groupBy(
"PXForward/PXDisk",
"EXTEND_X")
68 .groupBy(
"PXForward",
"EXTEND_Y")
70 Specification().groupBy(
"FED/LinkInFed/Event")
72 .groupBy(
"FED/LinkInFed")
74 .groupBy(
"FED",
"EXTEND_X")
75 .groupBy(
"",
"EXTEND_Y")
81 SiPixelPhase1DeadChannelsPerROC = DefaultHisto.clone(
82 topFolderName = DefaultHisto.topFolderName.value() +
"/FED",
83 name =
"Dead Channels per ROC",
84 title =
"Dead Channels per ROC",
85 xlabel =
"dead channels per ROC",
87 range_min = 0, range_max = 1000, range_nbins = 100,
91 Specification(PerLayer2D)
92 .groupBy(
"PXLayer/SignedLadderCoord/SignedModuleCoord")
93 .groupBy(
"PXLayer/SignedLadderCoord",
"EXTEND_X")
94 .groupBy(
"PXLayer",
"EXTEND_Y")
96 Specification(PerLayer2D)
97 .groupBy(
"PXRing/SignedBladePanelCoord/SignedDiskCoord")
98 .groupBy(
"PXRing/SignedBladePanelCoord",
"EXTEND_X")
99 .groupBy(
"PXRing",
"EXTEND_Y")
107 SiPixelPhase1DeadFEDChannelsConf = cms.VPSet(
108 SiPixelPhase1DeadChannelsPerFED ,
109 SiPixelPhase1DeadChannelsPerROC
112 from DQMServices.Core.DQMEDAnalyzer
import DQMEDAnalyzer
113 SiPixelPhase1DeadFEDChannelsAnalyzer =
DQMEDAnalyzer(
'SiPixelPhase1DeadFEDChannels',
114 histograms = SiPixelPhase1DeadFEDChannelsConf,
115 geometry = SiPixelPhase1Geometry,
116 triggerflags = trigger.SiPixelPhase1Triggers
119 SiPixelPhase1DeadFEDChannelsHarvester =
DQMEDHarvester(
"SiPixelPhase1Harvester",
120 histograms = SiPixelPhase1DeadFEDChannelsConf,
121 geometry = SiPixelPhase1Geometry