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,
12 StandardSpecificationInclusive_Num,
13 StandardSpecificationTrend_Num
20 SiPixelPhase1RecHitsClustX = DefaultHistoTrack.clone(
21 name =
"rechitsize_x",
22 title =
"X size of RecHit clusters",
23 range_min = 0, range_max = 50, range_nbins = 50,
24 xlabel =
"RecHit X-Size",
27 StandardSpecification2DProfile
31 SiPixelPhase1RecHitsClustY = SiPixelPhase1RecHitsClustX.clone(
32 name =
"rechitsize_y",
33 title =
"Y size of RecHit clusters",
34 xlabel =
"RecHit Y-Size" 37 SiPixelPhase1RecHitsErrorX = DefaultHistoTrack.clone(
39 name =
"rechiterror_x",
40 title =
"RecHit Error in X-direction",
41 range_min = 0, range_max = 0.02, range_nbins = 100,
45 StandardSpecification2DProfile
49 SiPixelPhase1RecHitsErrorY = SiPixelPhase1RecHitsErrorX.clone(
51 name =
"rechiterror_y",
52 title =
"RecHit Error in Y-direction",
56 SiPixelPhase1RecHitsPosition = DefaultHistoTrack.clone(
59 title =
"Position of RecHits on Module",
60 range_min = -1, range_max = 1, range_nbins = 100,
61 range_y_min = -4, range_y_max = 4, range_y_nbins = 100,
66 Specification(PerModule).groupBy(
"PXBarrel/PXLayer/DetId").
save(),
67 Specification(PerModule).groupBy(
"PXForward/PXDisk/DetId").
save(),
71 SiPixelPhase1RecHitsProb = DefaultHistoTrack.clone(
73 title =
"Cluster Probability",
74 xlabel =
"log_10(Pr)",
75 range_min = -10, range_max = 1, range_nbins = 50,
78 StandardSpecifications1D
83 SiPixelPhase1RecHitsConf = cms.VPSet(
84 SiPixelPhase1RecHitsNRecHits,
85 SiPixelPhase1RecHitsClustX,
86 SiPixelPhase1RecHitsClustY,
87 SiPixelPhase1RecHitsErrorX,
88 SiPixelPhase1RecHitsErrorY,
89 SiPixelPhase1RecHitsPosition,
90 SiPixelPhase1RecHitsProb,
93 SiPixelPhase1RecHitsAnalyzer = cms.EDAnalyzer(
"SiPixelPhase1RecHits",
94 src = cms.InputTag(
"generalTracks"),
95 histograms = SiPixelPhase1RecHitsConf,
96 geometry = SiPixelPhase1Geometry,
97 onlyValidHits = cms.bool(
False)
101 SiPixelPhase1RecHitsHarvester =
DQMEDHarvester(
"SiPixelPhase1Harvester",
102 histograms = SiPixelPhase1RecHitsConf,
103 geometry = SiPixelPhase1Geometry