1 import FWCore.ParameterSet.Config
as cms
3 from DQMServices.Core.DQMEDHarvester
import DQMEDHarvester
4 import DQM.SiPixelPhase1Common.TriggerEventFlag_cfi
as trigger
9 SiPixelPhase1BadROC = DefaultHisto.clone(
10 topFolderName = DefaultHisto.topFolderName.value() +
"/SiPixelQualityPCL/BadROC_PCL",
11 name =
"Dead Channels per ROC",
12 title =
"Dead Channels per ROC",
13 xlabel =
"dead channels per ROC",
14 range_min = 0, range_max = 1, range_nbins = 100,
17 Specification(PerLayer2D)
18 .groupBy(
"PXLayer/SignedLadderCoord/SignedModuleCoord")
19 .groupBy(
"PXLayer/SignedLadderCoord",
"EXTEND_X")
20 .groupBy(
"PXLayer",
"EXTEND_Y")
22 Specification(PerLayer2D)
23 .groupBy(
"PXRing/SignedBladePanelCoord/SignedDiskCoord")
24 .groupBy(
"PXRing/SignedBladePanelCoord",
"EXTEND_X")
25 .groupBy(
"PXRing",
"EXTEND_Y")
30 SiPixelPhase1PermanentBadROC = DefaultHisto.clone(
31 topFolderName = DefaultHisto.topFolderName.value() +
"/SiPixelQualityPCL/BadROC_Permanent",
32 name =
"Dead Channels per ROC",
33 title =
"Dead Channels per ROC",
34 xlabel =
"dead channels per ROC",
35 range_min = 0, range_max = 1, range_nbins = 100,
38 Specification(PerLayer2D)
39 .groupBy(
"PXLayer/SignedLadderCoord/SignedModuleCoord")
40 .groupBy(
"PXLayer/SignedLadderCoord",
"EXTEND_X")
41 .groupBy(
"PXLayer",
"EXTEND_Y")
43 Specification(PerLayer2D)
44 .groupBy(
"PXRing/SignedBladePanelCoord/SignedDiskCoord")
45 .groupBy(
"PXRing/SignedBladePanelCoord",
"EXTEND_X")
46 .groupBy(
"PXRing",
"EXTEND_Y")
51 SiPixelPhase1FEDerrorROC = DefaultHisto.clone(
52 topFolderName = DefaultHisto.topFolderName.value() +
"/SiPixelQualityPCL/BadROC_FEDerror",
53 name =
"Dead Channels per ROC",
54 title =
"Dead Channels per ROC",
55 xlabel =
"dead channels per ROC",
56 range_min = 0, range_max = 1, range_nbins = 100,
59 Specification(PerLayer2D)
60 .groupBy(
"PXLayer/SignedLadderCoord/SignedModuleCoord")
61 .groupBy(
"PXLayer/SignedLadderCoord",
"EXTEND_X")
62 .groupBy(
"PXLayer",
"EXTEND_Y")
64 Specification(PerLayer2D)
65 .groupBy(
"PXRing/SignedBladePanelCoord/SignedDiskCoord")
66 .groupBy(
"PXRing/SignedBladePanelCoord",
"EXTEND_X")
67 .groupBy(
"PXRing",
"EXTEND_Y")
72 SiPixelPhase1StuckTBMROC = DefaultHisto.clone(
73 topFolderName = DefaultHisto.topFolderName.value() +
"/SiPixelQualityPCL/BadROC_StuckTBM",
74 name =
"Dead Channels per ROC",
75 title =
"Dead Channels per ROC",
76 xlabel =
"dead channels per ROC",
77 range_min = 0, range_max = 1, range_nbins = 100,
80 Specification(PerLayer2D)
81 .groupBy(
"PXLayer/SignedLadderCoord/SignedModuleCoord")
82 .groupBy(
"PXLayer/SignedLadderCoord",
"EXTEND_X")
83 .groupBy(
"PXLayer",
"EXTEND_Y")
85 Specification(PerLayer2D)
86 .groupBy(
"PXRing/SignedBladePanelCoord/SignedDiskCoord")
87 .groupBy(
"PXRing/SignedBladePanelCoord",
"EXTEND_X")
88 .groupBy(
"PXRing",
"EXTEND_Y")
93 SiPixelPhase1OtherBadROC = DefaultHisto.clone(
94 topFolderName = DefaultHisto.topFolderName.value() +
"/SiPixelQualityPCL/BadROC_Other",
95 name =
"Dead Channels per ROC",
96 title =
"Dead Channels per ROC",
97 xlabel =
"dead channels per ROC",
98 range_min = 0, range_max = 1, range_nbins = 100,
101 Specification(PerLayer2D)
102 .groupBy(
"PXLayer/SignedLadderCoord/SignedModuleCoord")
103 .groupBy(
"PXLayer/SignedLadderCoord",
"EXTEND_X")
104 .groupBy(
"PXLayer",
"EXTEND_Y")
106 Specification(PerLayer2D)
107 .groupBy(
"PXRing/SignedBladePanelCoord/SignedDiskCoord")
108 .groupBy(
"PXRing/SignedBladePanelCoord",
"EXTEND_X")
109 .groupBy(
"PXRing",
"EXTEND_Y")
114 SiPixelPhase1PromptBadROC = DefaultHisto.clone(
115 topFolderName = DefaultHisto.topFolderName.value() +
"/SiPixelQualityPCL/BadROC_Prompt",
116 name =
"Dead Channels per ROC",
117 title =
"Dead Channels per ROC",
118 xlabel =
"dead channels per ROC",
119 range_min = 0, range_max = 1, range_nbins = 100,
122 Specification(PerLayer2D)
123 .groupBy(
"PXLayer/SignedLadderCoord/SignedModuleCoord")
124 .groupBy(
"PXLayer/SignedLadderCoord",
"EXTEND_X")
125 .groupBy(
"PXLayer",
"EXTEND_Y")
127 Specification(PerLayer2D)
128 .groupBy(
"PXRing/SignedBladePanelCoord/SignedDiskCoord")
129 .groupBy(
"PXRing/SignedBladePanelCoord",
"EXTEND_X")
130 .groupBy(
"PXRing",
"EXTEND_Y")
136 SiPixelPhase1BadROCConf = cms.VPSet(
138 SiPixelPhase1PermanentBadROC,
139 SiPixelPhase1FEDerrorROC,
140 SiPixelPhase1StuckTBMROC,
141 SiPixelPhase1OtherBadROC,
142 SiPixelPhase1PromptBadROC
145 from DQMServices.Core.DQMEDAnalyzer
import DQMEDAnalyzer
147 histograms = SiPixelPhase1BadROCConf,
148 geometry = SiPixelPhase1Geometry,
150 SiPixelStatusManagerParameters = cms.PSet(
151 thresholdL1 = cms.untracked.double(0.1),
152 thresholdL2 = cms.untracked.double(0.2),
153 thresholdL3 = cms.untracked.double(0.2),
154 thresholdL4 = cms.untracked.double(0.2),
155 thresholdRNG1 = cms.untracked.double(0.1),
156 thresholdRNG2 = cms.untracked.double(0.1),
157 outputBase = cms.untracked.string(
"runbased"),
158 aveDigiOcc = cms.untracked.int32(20000),
159 resetEveryNLumi = cms.untracked.int32(1),
160 moduleName = cms.untracked.string(
"siPixelStatusProducer"),
161 label = cms.untracked.string(
"siPixelStatus"),
163 debug = cms.untracked.bool(
False),
164 recordName = cms.untracked.string(
"SiPixelQualityFromDbRcd")
169 histograms = SiPixelPhase1BadROCConf,
170 geometry = SiPixelPhase1Geometry