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",
13 range_min = 0, range_max = 1000, range_nbins = 100,
16 Specification().groupBy(
"FED/Event")
20 .groupBy(
"",
"EXTEND_X")
22 Specification().groupBy(
"FED/Event")
24 .groupBy(
"FED/LumiBlock")
26 .groupBy(
"FED",
"EXTEND_X")
27 .groupBy(
"",
"EXTEND_Y")
29 Specification().groupBy(
"PXAll/Event")
33 .groupBy(
"",
"EXTEND_X")
35 Specification().groupBy(
"PXBarrel/Event")
39 Specification().groupBy(
"PXForward/Event")
43 Specification().groupBy(
"PXBarrel/Event")
45 .groupBy(
"PXBarrel/LumiBlock")
47 .groupBy(
"PXBarrel",
"EXTEND_X")
49 Specification().groupBy(
"PXForward/Event")
51 .groupBy(
"PXForward/LumiBlock")
53 .groupBy(
"PXForward",
"EXTEND_X")
55 Specification().groupBy(
"PXBarrel/PXLayer/Event")
57 .groupBy(
"PXBarrel/PXLayer/LumiBlock")
59 .groupBy(
"PXBarrel/PXLayer",
"EXTEND_X")
60 .groupBy(
"PXBarrel",
"EXTEND_Y")
62 Specification().groupBy(
"PXForward/PXDisk/Event")
64 .groupBy(
"PXForward/PXDisk/LumiBlock")
66 .groupBy(
"PXForward/PXDisk",
"EXTEND_X")
67 .groupBy(
"PXForward",
"EXTEND_Y")
69 Specification().groupBy(
"FED/LinkInFed/Event")
71 .groupBy(
"FED/LinkInFed")
73 .groupBy(
"FED",
"EXTEND_X")
74 .groupBy(
"",
"EXTEND_Y")
80 SiPixelPhase1DeadChannelsPerROC = DefaultHisto.clone(
81 topFolderName = DefaultHisto.topFolderName.value() +
"/FED",
82 name =
"Dead Channels per ROC",
83 title =
"Dead Channels per ROC",
84 xlabel =
"dead channels per ROC",
85 range_min = 0, range_max = 1000, range_nbins = 100,
89 Specification(PerLayer2D)
90 .groupBy(
"PXLayer/SignedLadderCoord/SignedModuleCoord")
91 .groupBy(
"PXLayer/SignedLadderCoord",
"EXTEND_X")
92 .groupBy(
"PXLayer",
"EXTEND_Y")
94 Specification(PerLayer2D)
95 .groupBy(
"PXRing/SignedBladePanelCoord/SignedDiskCoord")
96 .groupBy(
"PXRing/SignedBladePanelCoord",
"EXTEND_X")
97 .groupBy(
"PXRing",
"EXTEND_Y")
105 SiPixelPhase1DeadFEDChannelsConf = cms.VPSet(
106 SiPixelPhase1DeadChannelsPerFED ,
107 SiPixelPhase1DeadChannelsPerROC
110 from DQMServices.Core.DQMEDAnalyzer
import DQMEDAnalyzer
111 SiPixelPhase1DeadFEDChannelsAnalyzer =
DQMEDAnalyzer(
'SiPixelPhase1DeadFEDChannels',
112 histograms = SiPixelPhase1DeadFEDChannelsConf,
113 geometry = SiPixelPhase1Geometry,
114 triggerflags = trigger.SiPixelPhase1Triggers
117 SiPixelPhase1DeadFEDChannelsHarvester =
DQMEDHarvester(
"SiPixelPhase1Harvester",
118 histograms = SiPixelPhase1DeadFEDChannelsConf,
119 geometry = SiPixelPhase1Geometry