1 import FWCore.ParameterSet.Config
as cms
2 from DQMServices.Core.DQMEDHarvester
import DQMEDHarvester
5 SiPixelPhase1RecHitsInTimeEvents = DefaultHisto.clone(
6 name =
"in_time_bunch",
7 title =
"Events (in-time bunch)",
8 range_min = 0, range_max = 10, range_nbins = 10,
9 xlabel =
"number of in-time rechits events",
11 topFolderName =
"PixelPhase1V/RecHits",
13 Specification().groupBy(
"PXBarrel").
save(),
14 Specification().groupBy(
"PXForward").
save(),
15 Specification().groupBy(
"PXBarrel/PXLayer").
save(),
16 Specification().groupBy(
"PXForward/PXDisk").
save(),
17 StandardSpecification2DProfile,
21 SiPixelPhase1RecHitsOutTimeEvents = DefaultHisto.clone(
22 name =
"out_time_bunch",
23 title =
"Events (out-time bunch)",
24 range_min = 0, range_max = 10, range_nbins = 10,
25 xlabel =
"number of out-time rechit events",
27 topFolderName =
"PixelPhase1V/RecHits",
29 Specification().groupBy(
"PXBarrel").
save(),
30 Specification().groupBy(
"PXForward").
save(),
31 Specification().groupBy(
"PXBarrel/PXLayer").
save(),
32 Specification().groupBy(
"PXForward/PXDisk").
save(),
33 StandardSpecification2DProfile,
38 SiPixelPhase1RecHitsNSimHits = DefaultHisto.clone(
41 range_min = 0, range_max = 100, range_nbins = 100,
42 xlabel =
"sim hit event number in event",
44 topFolderName =
"PixelPhase1V/RecHits",
46 Specification().groupBy(
"PXBarrel/PXLayer").
save(),
47 Specification().groupBy(
"PXForward/PXDisk").
save(),
48 StandardSpecification2DProfile,
52 SiPixelPhase1RecHitsPosX = DefaultHisto.clone(
54 title =
"X position of RecHits",
55 range_min = -2., range_max = 2., range_nbins = 80,
56 xlabel =
"RecHit position X dimension",
58 topFolderName =
"PixelPhase1V/RecHits",
60 Specification().groupBy(
"PXBarrel").
save(),
61 Specification().groupBy(
"PXForward").
save(),
62 Specification().groupBy(
"PXBarrel/PXLayer").
save(),
63 Specification().groupBy(
"PXForward/PXDisk").
save(),
64 StandardSpecification2DProfile,
68 SiPixelPhase1RecHitsPosY = SiPixelPhase1RecHitsPosX.clone(
70 title =
"Y position of RecHits",
71 xlabel =
"RecHit position Y dimension",
72 range_min = -4., range_max = 4., range_nbins = 80,
75 SiPixelPhase1RecHitsResX = DefaultHisto.clone(
77 title =
"X resolution of RecHits",
78 range_min = -200., range_max = 200., range_nbins = 200,
79 xlabel =
"RecHit resolution X dimension",
81 topFolderName =
"PixelPhase1V/RecHits",
83 Specification().groupBy(
"PXBarrel").
save(),
84 Specification().groupBy(
"PXForward").
save(),
85 Specification().groupBy(
"PXBarrel/PXLayer").
save(),
86 Specification().groupBy(
"PXForward/PXDisk").
save(),
87 StandardSpecification2DProfile,
91 SiPixelPhase1RecHitsResY = SiPixelPhase1RecHitsResX.clone(
93 title =
"Y resolution of RecHits",
94 xlabel =
"RecHit resolution Y dimension" 97 SiPixelPhase1RecHitsErrorX = DefaultHisto.clone(
98 name =
"rechiterror_x",
99 title =
"RecHit Error in X-direction",
100 range_min = 0, range_max = 0.02, range_nbins = 100,
103 topFolderName =
"PixelPhase1V/RecHits",
105 Specification().groupBy(
"").
save(),
106 Specification().groupBy(
"PXBarrel/PXLayer").
save(),
107 Specification().groupBy(
"PXForward/PXDisk").
save(),
108 StandardSpecification2DProfile,
112 SiPixelPhase1RecHitsErrorY = SiPixelPhase1RecHitsErrorX.clone(
113 name =
"rechiterror_y",
114 title =
"RecHit Error in Y-direction",
118 SiPixelPhase1RecHitsPullX = DefaultHisto.clone(
120 title =
"RecHit Pull in X-direction",
121 range_min = -10., range_max = 10., range_nbins = 100,
124 topFolderName =
"PixelPhase1V/RecHits",
126 Specification().groupBy(
"PXBarrel/PXLayer").
save(),
127 Specification().groupBy(
"PXForward/PXDisk").
save(),
128 StandardSpecification2DProfile,
132 SiPixelPhase1RecHitsPullY = SiPixelPhase1RecHitsPullX.clone(
134 title =
"RecHit Pull in Y-direction",
138 SiPixelPhase1RecHitsConf = cms.VPSet(
139 SiPixelPhase1RecHitsInTimeEvents,
140 SiPixelPhase1RecHitsOutTimeEvents,
141 SiPixelPhase1RecHitsNSimHits,
142 SiPixelPhase1RecHitsPosX,
143 SiPixelPhase1RecHitsPosY,
144 SiPixelPhase1RecHitsResX,
145 SiPixelPhase1RecHitsResY,
146 SiPixelPhase1RecHitsErrorX,
147 SiPixelPhase1RecHitsErrorY,
148 SiPixelPhase1RecHitsPullX,
149 SiPixelPhase1RecHitsPullY,
152 from DQMServices.Core.DQMEDAnalyzer
import DQMEDAnalyzer
154 src = cms.InputTag(
"siPixelRecHits"),
156 associatePixel = cms.bool(
True),
157 ROUList = cms.vstring(
'g4SimHitsTrackerHitsPixelBarrelLowTof',
158 'g4SimHitsTrackerHitsPixelBarrelHighTof',
159 'g4SimHitsTrackerHitsPixelEndcapLowTof',
160 'g4SimHitsTrackerHitsPixelEndcapHighTof'),
161 associateStrip = cms.bool(
False),
162 associateRecoTracks = cms.bool(
False),
163 pixelSimLinkSrc = cms.InputTag(
"simSiPixelDigis"),
164 stripSimLinkSrc = cms.InputTag(
"simSiStripDigis"),
165 histograms = SiPixelPhase1RecHitsConf,
166 geometry = SiPixelPhase1Geometry
170 histograms = SiPixelPhase1RecHitsConf,
171 geometry = SiPixelPhase1Geometry