1 import FWCore.ParameterSet.Config
as cms
2 from DQMServices.Core.DQMEDHarvester
import DQMEDHarvester
5 SiPixelPhase1RecHitsNRecHits = DefaultHistoTrack.clone(
8 range_min = 0, range_max = 30, range_nbins = 30,
13 StandardSpecificationTrend_Num,
14 Specification().groupBy(
"PXBarrel/Event")
17 .
save(nbins=100, xmin=0, xmax=5000),
19 Specification().groupBy(
"PXForward/Event")
22 .
save(nbins=100, xmin=0, xmax=5000),
24 Specification().groupBy(
"PXAll/Event")
27 .
save(nbins=100, xmin=0, xmax=5000)
32 SiPixelPhase1RecHitsClustX = DefaultHistoTrack.clone(
33 name =
"clustersize_x",
34 title =
"Cluster Size X (OnTrack)",
35 range_min = 0, range_max = 50, range_nbins = 50,
36 xlabel =
"size[pixels]",
39 StandardSpecification2DProfile
43 SiPixelPhase1RecHitsClustY = SiPixelPhase1RecHitsClustX.clone(
44 name =
"clustersize_y",
45 title =
"Cluster Size Y (OnTrack)",
46 xlabel =
"size[pixels]" 49 SiPixelPhase1RecHitsErrorX = DefaultHistoTrack.clone(
51 name =
"rechiterror_x",
52 title =
"RecHit Error in X-direction",
53 range_min = 0, range_max = 0.02, range_nbins = 100,
57 StandardSpecification2DProfile
61 SiPixelPhase1RecHitsErrorY = SiPixelPhase1RecHitsErrorX.clone(
63 name =
"rechiterror_y",
64 title =
"RecHit Error in Y-direction",
68 SiPixelPhase1RecHitsPosition = DefaultHistoTrack.clone(
71 title =
"Position of RecHits on Module",
72 range_min = -1, range_max = 1, range_nbins = 100,
73 range_y_min = -4, range_y_max = 4, range_y_nbins = 100,
78 Specification(PerModule).groupBy(
"PXBarrel/PXLayer/DetId").
save(),
79 Specification(PerModule).groupBy(
"PXForward/PXDisk/DetId").
save(),
83 SiPixelPhase1RecHitsProb = DefaultHistoTrack.clone(
85 title =
"Cluster Probability",
86 xlabel =
"log_10(Pr)",
87 range_min = -10, range_max = 1, range_nbins = 50,
91 Specification().groupBy(
"PXBarrel/PXLayer").saveAll(),
92 Specification().groupBy(
"PXForward/PXDisk").saveAll(),
93 StandardSpecification2DProfile,
95 Specification().groupBy(
"PXBarrel/PXLayer/Lumisection")
97 .groupBy(
"PXBarrel/PXLayer",
"EXTEND_X")
100 Specification().groupBy(
"PXForward/PXDisk/Lumisection")
102 .groupBy(
"PXForward/PXDisk",
"EXTEND_X")
105 Specification(PerLayer1D).groupBy(
"PXBarrel/Shell/PXLayer").
save(),
106 Specification(PerLayer1D).groupBy(
"PXForward/HalfCylinder/PXRing/PXDisk").
save()
111 SiPixelPhase1RecHitsConf = cms.VPSet(
112 SiPixelPhase1RecHitsNRecHits,
113 SiPixelPhase1RecHitsClustX,
114 SiPixelPhase1RecHitsClustY,
115 SiPixelPhase1RecHitsErrorX,
116 SiPixelPhase1RecHitsErrorY,
117 SiPixelPhase1RecHitsPosition,
118 SiPixelPhase1RecHitsProb,
121 SiPixelPhase1RecHitsAnalyzer = cms.EDAnalyzer(
"SiPixelPhase1RecHits",
122 src = cms.InputTag(
"generalTracks"),
123 histograms = SiPixelPhase1RecHitsConf,
124 geometry = SiPixelPhase1Geometry,
125 onlyValidHits = cms.bool(
False)
129 SiPixelPhase1RecHitsHarvester =
DQMEDHarvester(
"SiPixelPhase1Harvester",
130 histograms = SiPixelPhase1RecHitsConf,
131 geometry = SiPixelPhase1Geometry