1 import FWCore.ParameterSet.Config
as cms
6 SiPixelPhase1DigisADC = DefaultHistoDigiCluster.clone(
8 title =
"Digi ADC values",
9 xlabel =
"adc readout",
14 StandardSpecificationTrend,
15 StandardSpecificationTrend2D,
16 StandardSpecificationPixelmapProfile,
18 StandardSpecifications1D
22 SiPixelPhase1DigisNdigis = DefaultHistoDigiCluster.clone(
31 StandardSpecificationTrend_Num,
32 StandardSpecification2DProfile_Num,
33 StandardSpecifications1D_Num
38 SiPixelPhase1ClustersNdigisInclusive = DefaultHistoDigiCluster.clone(
41 range_min = 0, range_max = 2000, range_nbins = 200,
45 StandardSpecificationInclusive_Num
50 SiPixelPhase1DigisNdigisPerFED = DefaultHisto.clone(
59 Specification().groupBy(
"FED/Event")
62 .groupBy(
"",
"EXTEND_Y")
67 SiPixelPhase1DigisNdigisPerFEDtrend = DefaultHisto.clone(
68 name =
"feddigistrend",
76 Specification().groupBy(
"Lumisection/FED/FED/Event")
78 .groupBy(
"Lumisection/FED")
80 .groupBy(
"Lumisection",
"EXTEND_Y")
81 .groupBy(
"",
"EXTEND_X")
86 SiPixelPhase1DigisEvents = DefaultHistoDigiCluster.clone(
88 title =
"Rate of Pixel Events",
89 xlabel =
"Lumisection",
93 Specification().groupBy(
"Lumisection")
94 .groupBy(
"",
"EXTEND_X").
save(),
95 Specification().groupBy(
"BX")
96 .groupBy(
"",
"EXTEND_X").
save()
100 SiPixelPhase1DigisHitmap = DefaultHistoDigiCluster.clone(
101 name =
"digi_occupancy",
102 title =
"Digi Occupancy",
106 Specification(PerModule).groupBy(
"PXBarrel/Shell/PXLayer/SignedLadder/PXModuleName/row/col")
107 .groupBy(
"PXBarrel/Shell/PXLayer/SignedLadder/PXModuleName/row",
"EXTEND_Y")
108 .groupBy(
"PXBarrel/Shell/PXLayer/SignedLadder/PXModuleName",
"EXTEND_X")
110 Specification(PerModule).groupBy(
"PXBarrel/Shell/PXLayer/SignedLadder/PXModuleName/col")
111 .groupBy(
"PXBarrel/Shell/PXLayer/SignedLadder/PXModuleName",
"EXTEND_X")
113 Specification(PerModule).groupBy(
"PXBarrel/Shell/PXLayer/SignedLadder/PXModuleName/row")
114 .groupBy(
"PXBarrel/Shell/PXLayer/SignedLadder/PXModuleName",
"EXTEND_X")
116 Specification(PerModule).groupBy(
"PXForward/HalfCylinder/PXRing/PXDisk/SignedBlade/PXModuleName/row/col")
117 .groupBy(
"PXForward/HalfCylinder/PXRing/PXDisk/SignedBlade/PXModuleName/row",
"EXTEND_Y")
118 .groupBy(
"PXForward/HalfCylinder/PXRing/PXDisk/SignedBlade/PXModuleName",
"EXTEND_X")
120 Specification(PerModule).groupBy(
"PXForward/HalfCylinder/PXRing/PXDisk/SignedBlade/PXModuleName/col")
121 .groupBy(
"PXForward/HalfCylinder/PXRing/PXDisk/SignedBlade/PXModuleName",
"EXTEND_X")
123 Specification(PerModule).groupBy(
"PXForward/HalfCylinder/PXRing/PXDisk/SignedBlade/PXModuleName/row")
124 .groupBy(
"PXForward/HalfCylinder/PXRing/PXDisk/SignedBlade/PXModuleName",
"EXTEND_X")
126 StandardSpecificationOccupancy,
130 SiPixelPhase1DigisOccupancy = DefaultHistoReadout.clone(
132 title =
"Digi Occupancy",
135 Specification(PerReadout).groupBy(
"PXBarrel/FED/Channel")
136 .groupBy(
"PXBarrel/FED",
"EXTEND_X").
save(),
137 Specification(PerReadout).groupBy(
"PXBarrel/FED/Channel/RocInLink")
138 .groupBy(
"PXBarrel/FED/Channel",
"EXTEND_Y")
139 .groupBy(
"PXBarrel/FED",
"EXTEND_X").
save(),
140 Specification(PerReadout).groupBy(
"PXForward/FED/Channel")
141 .groupBy(
"PXForward/FED",
"EXTEND_X").
save(),
142 Specification(PerReadout).groupBy(
"PXForward/FED/Channel/RocInLink")
143 .groupBy(
"PXForward/FED/Channel",
"EXTEND_Y")
144 .groupBy(
"PXForward/FED",
"EXTEND_X").
save(),
145 Specification(PerReadout).groupBy(
"PXBarrel/FED")
146 .groupBy(
"PXBarrel",
"EXTEND_X").
save(),
147 Specification(PerReadout).groupBy(
"PXForward/FED")
148 .groupBy(
"PXForward",
"EXTEND_X").
save(),
154 SiPixelPhase1DigisConf = cms.VPSet(
155 SiPixelPhase1DigisADC,
156 SiPixelPhase1DigisNdigis,
157 SiPixelPhase1ClustersNdigisInclusive,
158 SiPixelPhase1DigisNdigisPerFED,
159 SiPixelPhase1DigisNdigisPerFEDtrend,
160 SiPixelPhase1DigisEvents,
161 SiPixelPhase1DigisHitmap,
162 SiPixelPhase1DigisOccupancy,
165 SiPixelPhase1DigisAnalyzer = cms.EDAnalyzer(
"SiPixelPhase1Digis",
166 src = cms.InputTag(
"siPixelDigis"),
167 histograms = SiPixelPhase1DigisConf,
168 geometry = SiPixelPhase1Geometry
171 SiPixelPhase1DigisHarvester = cms.EDAnalyzer(
"SiPixelPhase1Harvester",
172 histograms = SiPixelPhase1DigisConf,
173 geometry = SiPixelPhase1Geometry