1 import FWCore.ParameterSet.Config
as cms
2 from DQMServices.Core.DQMEDHarvester
import DQMEDHarvester
5 SiPixelPhase1TrackClustersOnTrackCharge = DefaultHistoTrack.clone(
7 title =
"Corrected Cluster Charge (OnTrack)",
8 range_min = 0, range_max = 300e3, range_nbins = 150,
9 xlabel =
"Charge (electrons)",
12 Specification().groupBy(
"PXBarrel/PXLayer").saveAll(),
13 Specification().groupBy(
"PXForward/PXDisk").saveAll(),
14 StandardSpecification2DProfile,
16 Specification(OverlayCurvesForTiming).groupBy(
"PXBarrel/OnlineBlock")
17 .groupBy(
"PXBarrel",
"EXTEND_Y")
19 Specification(OverlayCurvesForTiming).groupBy(
"PXForward/OnlineBlock")
20 .groupBy(
"PXForward",
"EXTEND_Y")
23 Specification().groupBy(
"PXBarrel/PXLayer/Lumisection")
25 .groupBy(
"PXBarrel/PXLayer",
"EXTEND_X")
28 Specification().groupBy(
"PXForward/PXDisk/Lumisection")
30 .groupBy(
"PXForward/PXDisk",
"EXTEND_X")
33 Specification(PerLayer1D).groupBy(
"PXBarrel/Shell/PXLayer").
save(),
34 Specification(PerLayer1D).groupBy(
"PXForward/HalfCylinder/PXRing/PXDisk").
save(),
37 Specification(OverlayCurvesForTiming).groupBy(
"PXForward/PXDisk/OnlineBlock")
38 .groupBy(
"PXForward/PXDisk",
"EXTEND_Y")
40 Specification(OverlayCurvesForTiming).groupBy(
"PXBarrel/PXLayer/OnlineBlock")
41 .groupBy(
"PXBarrel/PXLayer",
"EXTEND_Y")
46 SiPixelPhase1TrackClustersOnTrackSize = DefaultHistoTrack.clone(
48 title =
"Total Cluster Size (OnTrack)",
49 range_min = 0, range_max = 30, range_nbins = 30,
50 xlabel =
"size[pixels]",
53 Specification().groupBy(
"PXBarrel/PXLayer").saveAll(),
54 Specification().groupBy(
"PXForward/PXDisk").saveAll(),
55 StandardSpecification2DProfile,
57 Specification().groupBy(
"PXBarrel/PXLayer/Lumisection")
59 .groupBy(
"PXBarrel/PXLayer",
"EXTEND_X")
62 Specification().groupBy(
"PXForward/PXDisk/Lumisection")
64 .groupBy(
"PXForward/PXDisk",
"EXTEND_X")
67 Specification(PerLayer1D).groupBy(
"PXBarrel/Shell/PXLayer").
save(),
68 Specification(PerLayer1D).groupBy(
"PXForward/HalfCylinder/PXRing/PXDisk").
save()
73 SiPixelPhase1TrackClustersOnTrackNClusters = DefaultHistoTrack.clone(
74 name =
"clusters_ontrack",
75 title =
"Clusters_onTrack",
76 range_min = 0, range_max = 30, range_nbins = 30,
90 StandardSpecificationTrend_Num,
91 StandardSpecification2DProfile_Num,
93 Specification().groupBy(
"PXBarrel/PXLayer/Event")
95 .groupBy(
"PXBarrel/PXLayer")
96 .
save(nbins=100, xmin=0, xmax=20000),
98 Specification().groupBy(
"PXForward/PXDisk/Event")
100 .groupBy(
"PXForward/PXDisk/")
101 .
save(nbins=100, xmin=0, xmax=10000),
103 Specification().groupBy(
"PXBarrel/Event")
106 .
save(nbins=150, xmin=0, xmax=30000),
108 Specification().groupBy(
"PXForward/Event")
110 .groupBy(
"PXForward")
111 .
save(nbins=150, xmin=0, xmax=30000),
113 Specification().groupBy(
"PXAll/Event")
116 .
save(nbins=150, xmin=0, xmax=30000),
118 Specification().groupBy(
"BX")
119 .groupBy(
"",
"EXTEND_X").
save(),
121 Specification().groupBy(
"PXBarrel/PXLayer/Event")
123 .groupBy(
"PXBarrel/PXLayer/Lumisection")
125 .groupBy(
"PXBarrel/PXLayer",
"EXTEND_X")
128 Specification().groupBy(
"PXForward/PXDisk/Event")
130 .groupBy(
"PXForward/PXDisk/Lumisection")
132 .groupBy(
"PXForward/PXDisk",
"EXTEND_X")
136 Specification(OverlayCurvesForTiming).groupBy(
"DetId/Event")
138 .groupBy(
"PXForward/OnlineBlock")
139 .groupBy(
"PXForward",
"EXTEND_Y")
142 Specification(OverlayCurvesForTiming).groupBy(
"DetId/Event")
144 .groupBy(
"PXBarrel/OnlineBlock")
145 .groupBy(
"PXBarrel",
"EXTEND_Y")
151 SiPixelPhase1TrackClustersOnTrackPositionB = DefaultHistoTrack.clone(
152 name =
"clusterposition_zphi_ontrack",
153 title =
"Cluster_onTrack Positions",
154 range_min = -60, range_max = 60, range_nbins = 300,
155 range_y_min = -3.2, range_y_max = 3.2, range_y_nbins = 200,
156 xlabel =
"Global Z", ylabel =
"Global \phi",
159 Specification().groupBy(
"PXBarrel/PXLayer").
save(),
160 Specification().groupBy(
"").
save(),
164 SiPixelPhase1TrackClustersOnTrackPositionF = DefaultHistoTrack.clone(
165 name =
"clusterposition_xy_ontrack",
166 title =
"Cluster_onTrack Positions",
167 xlabel =
"Global X", ylabel =
"Global Y",
168 range_min = -20, range_max = 20, range_nbins = 200,
169 range_y_min = -20, range_y_max = 20, range_y_nbins = 200,
172 Specification().groupBy(
"PXForward/PXDisk").
save(),
176 SiPixelPhase1TrackClustersOffTrackCharge = \
177 SiPixelPhase1TrackClustersOnTrackCharge.clone(topFolderName =
"PixelPhase1/OffTrack",
179 title =
"Cluster Charge")
180 SiPixelPhase1TrackClustersOffTrackSize = \
181 SiPixelPhase1TrackClustersOnTrackSize.clone(topFolderName =
"PixelPhase1/OffTrack",
184 SiPixelPhase1TrackClustersOffTrackNClusters = \
185 SiPixelPhase1TrackClustersOnTrackNClusters.clone(topFolderName =
"PixelPhase1/OffTrack",
188 SiPixelPhase1TrackClustersOffTrackPositionB = \
189 SiPixelPhase1TrackClustersOnTrackPositionB.clone(topFolderName =
"PixelPhase1/OffTrack",
192 SiPixelPhase1TrackClustersOffTrackPositionF = \
193 SiPixelPhase1TrackClustersOnTrackPositionF.clone(topFolderName =
"PixelPhase1/OffTrack",
196 SiPixelPhase1TrackClustersNTracks = DefaultHistoTrack.clone(
198 title =
"Number of Tracks",
199 xlabel =
"All - Pixel - BPIX - FPIX",
200 range_min = 1, range_max = 5, range_nbins = 4,
203 Specification().groupBy(
"").
save()
207 SiPixelPhase1TrackClustersNTracksInVolume = DefaultHistoTrack.clone(
208 name =
"ntracksinpixvolume",
209 title =
"Number of Tracks in Pixel fiducial Volume",
210 xlabel =
"without hits - with hits",
211 range_min = 0, range_max = 2, range_nbins = 2,
214 Specification().groupBy(
"").
save()
219 SiPixelPhase1TrackClustersConf = cms.VPSet(
220 SiPixelPhase1TrackClustersOnTrackCharge,
221 SiPixelPhase1TrackClustersOnTrackSize,
222 SiPixelPhase1TrackClustersOnTrackNClusters,
223 SiPixelPhase1TrackClustersOnTrackPositionB,
224 SiPixelPhase1TrackClustersOnTrackPositionF,
226 SiPixelPhase1TrackClustersOffTrackCharge,
227 SiPixelPhase1TrackClustersOffTrackSize,
228 SiPixelPhase1TrackClustersOffTrackNClusters,
229 SiPixelPhase1TrackClustersOffTrackPositionB,
230 SiPixelPhase1TrackClustersOffTrackPositionF,
232 SiPixelPhase1TrackClustersNTracks,
233 SiPixelPhase1TrackClustersNTracksInVolume,
237 SiPixelPhase1TrackClustersAnalyzer = cms.EDAnalyzer(
"SiPixelPhase1TrackClusters",
238 clusters = cms.InputTag(
"siPixelClusters"),
239 tracks = cms.InputTag(
"generalTracks"),
240 histograms = SiPixelPhase1TrackClustersConf,
241 geometry = SiPixelPhase1Geometry
244 SiPixelPhase1TrackClustersHarvester =
DQMEDHarvester(
"SiPixelPhase1Harvester",
245 histograms = SiPixelPhase1TrackClustersConf,
246 geometry = SiPixelPhase1Geometry