1 import FWCore.ParameterSet.Config
as cms
3 from DQM.TrackingMonitor.BXlumiParameters_cfi
import BXlumiSetup
5 from DQMServices.Core.DQMEDAnalyzer
import DQMEDAnalyzer
9 numCut = cms.string(
" pt >= 1 & quality('highPurity') "),
10 denCut = cms.string(
" pt >= 1 "),
11 allTrackProducer = cms.InputTag(
"generalTracks"),
12 TrackProducer = cms.InputTag(
"generalTracks"),
13 SeedProducer = cms.InputTag(
"initialStepSeeds"),
14 TCProducer = cms.InputTag(
"initialStepTrackCandidates"),
15 MVAProducers = cms.vstring(
"initialStepClassifier1",
"initialStepClassifier2"),
16 TrackProducerForMVA = cms.InputTag(
"initialStepTracks"),
17 ClusterLabels = cms.vstring(
'Tot'),
18 beamSpot = cms.InputTag(
"offlineBeamSpot"),
19 primaryVertex = cms.InputTag(
'offlinePrimaryVertices'),
20 stripCluster = cms.InputTag(
'siStripClusters'),
21 pixelCluster = cms.InputTag(
'siPixelClusters'),
22 BXlumiSetup = BXlumiSetup.clone(),
23 genericTriggerEventPSet = cms.PSet(),
32 primaryVertexInputTags = cms.VInputTag(),
33 selPrimaryVertexInputTags = cms.VInputTag(),
34 pvLabels = cms.vstring(),
37 AlgoName = cms.string(
'GenTk'),
38 Quality = cms.string(
''),
39 FolderName = cms.string(
'Tracking/GlobalParameters'),
40 BSFolderName = cms.string(
'Tracking/ParametersVsBeamSpot'),
41 PVFolderName = cms.string(
'Tracking/PrimaryVertices'),
49 MeasurementState = cms.string(
'ImpactPoint'),
52 doTestPlots = cms.bool(
False),
53 doAllPlots = cms.bool(
True),
54 doTrackerSpecific = cms.bool(
False),
55 doBeamSpotPlots = cms.bool(
False),
56 doPrimaryVertexPlots = cms.bool(
False),
57 doSeedParameterHistos = cms.bool(
False),
58 doTrackCandHistos = cms.bool(
False),
59 doAllTrackCandHistos = cms.bool(
False),
60 doDCAPlots = cms.bool(
False),
61 doDCAwrtPVPlots = cms.bool(
False),
62 doDCAwrt000Plots = cms.bool(
False),
63 doSIPPlots = cms.bool(
False),
64 doEffFromHitPatternVsPU = cms.bool(
False),
65 doEffFromHitPatternVsBX = cms.bool(
False),
66 doEffFromHitPatternVsLUMI = cms.bool(
False),
67 pvNDOF = cms.int32(4),
68 pixelCluster4lumi = cms.InputTag(
'siPixelClustersPreSplitting'),
69 scal = cms.InputTag(
'scalersRawToDigi'),
70 forceSCAL = cms.bool(
True),
71 metadata = cms.InputTag(
'onlineMetaDataDigis'),
72 useBPixLayer1 = cms.bool(
False),
73 minNumberOfPixelsPerCluster = cms.int32(2),
74 minPixelClusterCharge = cms.double(15000.),
75 doGeneralPropertiesPlots = cms.bool(
False),
76 doHitPropertiesPlots = cms.bool(
False),
78 doMeasurementStatePlots = cms.bool(
True),
79 doProfilesVsLS = cms.bool(
False),
80 doRecHitsPerTrackProfile = cms.bool(
True),
81 doRecHitVsPhiVsEtaPerTrack = cms.bool(
False),
82 doRecHitVsPtVsEtaPerTrack = cms.bool(
False),
84 doLayersVsPhiVsEtaPerTrack = cms.bool(
False),
87 doThetaPlots = cms.bool(
False),
88 doTrackPxPyPlots = cms.bool(
False),
89 doPUmonitoring = cms.bool(
False),
90 doPlotsVsBXlumi = cms.bool(
False),
91 doPlotsVsGoodPVtx = cms.bool(
True),
92 doPlotsVsLUMI = cms.bool(
False),
93 doPlotsVsBX = cms.bool(
False),
94 doHIPlots = cms.bool(
False),
95 doMVAPlots = cms.bool(
False),
96 qualityString = cms.string(
"highPurity"),
98 doSeedNumberHisto = cms.bool(
False),
99 doSeedLumiAnalysis = cms.bool(
False),
100 doSeedVsClusterHisto = cms.bool(
False),
101 doSeedPTHisto = cms.bool(
False),
102 doSeedETAHisto = cms.bool(
False),
103 doSeedPHIHisto = cms.bool(
False),
104 doSeedPHIVsETAHisto = cms.bool(
False),
105 doSeedThetaHisto = cms.bool(
False),
106 doSeedQHisto = cms.bool(
False),
107 doSeedDxyHisto= cms.bool(
False),
108 doSeedDzHisto= cms.bool(
False),
109 doSeedNRecHitsHisto= cms.bool(
False),
110 doSeedNVsPhiProf= cms.bool(
False),
111 doSeedNVsEtaProf= cms.bool(
False),
112 doStopSource = cms.bool(
False),
114 TTRHBuilder = cms.string(
'WithTrackAngle'),
117 doLumiAnalysis = cms.bool(
False),
119 LSBin = cms.int32(2000),
120 LSMin = cms.double(0),
121 LSMax = cms.double(2000.),
127 Chi2Bin = cms.int32(50),
128 Chi2Max = cms.double(199.5),
129 Chi2Min = cms.double(-0.5),
132 Chi2NDFBin = cms.int32(50),
133 Chi2NDFMax = cms.double(19.5),
134 Chi2NDFMin = cms.double(-0.5),
137 Chi2ProbBin = cms.int32(100),
138 Chi2ProbMax = cms.double(1.0),
139 Chi2ProbMin = cms.double(0.0),
142 TkSizeBin = cms.int32(100),
143 TkSizeMax = cms.double(99.5),
144 TkSizeMin = cms.double(-0.5),
147 TkSeedSizeBin = cms.int32(200),
148 TkSeedSizeMax = cms.double(999.5),
149 TkSeedSizeMin = cms.double(-0.5),
152 TCSizeBin = cms.int32(200),
153 TCSizeMax = cms.double(999.5),
154 TCSizeMin = cms.double(-0.5),
157 TrackQBin = cms.int32(8),
158 TrackQMax = cms.double(2.5),
159 TrackQMin = cms.double(-2.5),
162 SeedHitBin = cms.int32(6),
163 SeedHitMax = cms.double(5.5),
164 SeedHitMin = cms.double(-0.5),
167 TCHitBin = cms.int32(40),
168 TCHitMax = cms.double(39.5),
169 TCHitMin = cms.double(-0.5),
172 RecHitBin = cms.int32(40),
173 RecHitMax = cms.double(39.5),
174 RecHitMin = cms.double(-0.5),
177 MeanHitBin = cms.int32(30),
178 MeanHitMax = cms.double(29.5),
179 MeanHitMin = cms.double(-0.5),
181 subdetectors = cms.vstring(
"TIB",
"TOB",
"TID",
"TEC",
"PixBarrel",
"PixEndcap",
"Pixel",
"Strip" ),
182 subdetectorBin = cms.int32(25),
185 RecLostBin = cms.int32(10),
186 RecLostMax = cms.double(9.5),
187 RecLostMin = cms.double(-0.5),
190 RecLayBin = cms.int32(25),
191 RecLayMax = cms.double(24.5),
192 RecLayMin = cms.double(-0.5),
195 MeanLayBin = cms.int32(25),
196 MeanLayMax = cms.double(24.5),
197 MeanLayMin = cms.double(-0.5),
200 TOBLayBin = cms.int32(10),
201 TOBLayMax = cms.double(9.5),
202 TOBLayMin = cms.double(-0.5),
205 TIBLayBin = cms.int32(6),
206 TIBLayMax = cms.double(5.5),
207 TIBLayMin = cms.double(-0.5),
210 TIDLayBin = cms.int32(6),
211 TIDLayMax = cms.double(5.5),
212 TIDLayMin = cms.double(-0.5),
215 TECLayBin = cms.int32(15),
216 TECLayMax = cms.double(14.5),
217 TECLayMin = cms.double(-0.5),
220 PXBLayBin = cms.int32(6),
221 PXBLayMax = cms.double(5.5),
222 PXBLayMin = cms.double(-0.5),
225 PXFLayBin = cms.int32(6),
226 PXFLayMax = cms.double(5.5),
227 PXFLayMin = cms.double(-0.5),
230 TrackPBin = cms.int32(100),
231 TrackPMax = cms.double(100),
232 TrackPMin = cms.double(0),
235 TrackPtBin = cms.int32(100),
236 TrackPtMax = cms.double(100),
237 TrackPtMin = cms.double(0.1),
240 TrackPxBin = cms.int32(50),
241 TrackPxMax = cms.double(50.0),
242 TrackPxMin = cms.double(-50.0),
245 TrackPyBin = cms.int32(50),
246 TrackPyMax = cms.double(50.0),
247 TrackPyMin = cms.double(-50.0),
250 TrackPzBin = cms.int32(50),
251 TrackPzMax = cms.double(50.0),
252 TrackPzMin = cms.double(-50.0),
255 ThetaBin = cms.int32(32),
256 ThetaMax = cms.double(3.2),
257 ThetaMin = cms.double(0.0),
260 EtaBin = cms.int32(26),
261 EtaMax = cms.double(2.5),
262 EtaMin = cms.double(-2.5),
265 PhiBin = cms.int32(32),
266 PhiMax = cms.double(3.141592654),
267 PhiMin = cms.double(-3.141592654),
270 pErrBin = cms.int32(50),
271 pErrMax = cms.double(1.0),
272 pErrMin = cms.double(0.0),
275 ptErrBin = cms.int32(50),
276 ptErrMax = cms.double(1.0),
277 ptErrMin = cms.double(0.0),
280 pxErrBin = cms.int32(50),
281 pxErrMax = cms.double(1.0),
282 pxErrMin = cms.double(0.0),
285 pyErrBin = cms.int32(50),
286 pyErrMax = cms.double(1.0),
287 pyErrMin = cms.double(0.0),
290 pzErrBin = cms.int32(50),
291 pzErrMax = cms.double(1.0),
292 pzErrMin = cms.double(0.0),
295 etaErrBin = cms.int32(50),
296 etaErrMax = cms.double(0.1),
297 etaErrMin = cms.double(0.0),
300 phiErrBin = cms.int32(50),
301 phiErrMax = cms.double(0.1),
302 phiErrMin = cms.double(0.0),
305 VXBin = cms.int32(100),
306 VXMax = cms.double(0.5),
307 VXMin = cms.double(-0.5),
310 VYBin = cms.int32(100),
311 VYMax = cms.double(0.5),
312 VYMin = cms.double(-0.5),
315 VZBin = cms.int32(100),
316 VZMax = cms.double(30.0),
317 VZMin = cms.double(-30.0),
320 VZBinProf = cms.int32(100),
321 VZMaxProf = cms.double(0.2),
322 VZMinProf = cms.double(-0.2),
325 X0Bin = cms.int32(100),
326 X0Max = cms.double(0.5),
327 X0Min = cms.double(-0.5),
330 Y0Bin = cms.int32(100),
331 Y0Max = cms.double(0.5),
332 Y0Min = cms.double(-0.5),
335 Z0Bin = cms.int32(120),
336 Z0Max = cms.double(60.0),
337 Z0Min = cms.double(-60.0),
340 DxyBin = cms.int32(100),
341 DxyMax = cms.double(0.5),
342 DxyMin = cms.double(-0.5),
344 AbsDxyBin = cms.int32(120),
345 AbsDxyMin = cms.double(0.),
346 AbsDxyMax = cms.double(60.),
349 SeedDxyBin = cms.int32(100),
350 SeedDxyMax = cms.double(0.5),
351 SeedDxyMin = cms.double(-0.5),
354 SeedDzBin = cms.int32(120),
355 SeedDzMax = cms.double(30.0),
356 SeedDzMin = cms.double(-30.0),
359 TCDxyBin = cms.int32(100),
360 TCDxyMax = cms.double(100.0),
361 TCDxyMin = cms.double(-100.0),
364 TCDzBin = cms.int32(100),
365 TCDzMax = cms.double(400.0),
366 TCDzMin = cms.double(-400.0),
369 MVABin = cms.int32(100),
370 MVAMin = cms.double(-1),
371 MVAMax = cms.double(1),
377 NClusPxBin = cms.int32(200),
378 NClusPxMax = cms.double(49999.5),
379 NClusPxMin = cms.double(-0.5),
382 NClusStrBin = cms.int32(500),
383 NClusStrMax = cms.double(199999.5),
384 NClusStrMin = cms.double(-0.5),
388 NTrk2DBin = cms.int32(50),
389 NTrk2DMax = cms.double(1999.5),
390 NTrk2DMin = cms.double(-0.5),
395 NTrkPVtxBin = cms.int32(100),
396 NTrkPVtxMin = cms.double( 0.),
397 NTrkPVtxMax = cms.double(100.)
401 SumPtPVtx = cms.PSet(
402 SumPtPVtxBin = cms.int32(100),
403 SumPtPVtxMin = cms.double( 0.),
404 SumPtPVtxMax = cms.double(500.)
408 GoodPVtxBin = cms.int32(200),
409 GoodPVtxMin = cms.double( 0.),
410 GoodPVtxMax = cms.double(200.)
413 LUMIBin = cms.int32 ( 300 ),
414 LUMIMin = cms.double( 200.),
415 LUMIMax = cms.double(20000.),
425 TransDCABins = cms.int32(100),
426 TransDCAMin = cms.double(-8.0),
427 TransDCAMax = cms.double(8.0),
429 LongDCABins = cms.int32(100),
430 LongDCAMin = cms.double(-8.0),
431 LongDCAMax = cms.double(8.0),
437 TrackMon.Eta2DBin = cms.int32(26)
439 TrackMon.Phi2DBin = cms.int32(32)
441 TrackMon.TrackPt2DBin = cms.int32(100)
444 TrackMon.PVBin = cms.int32 ( 40 )
445 TrackMon.PVMin = cms.double( -0.5)
446 TrackMon.PVMax = cms.double( 79.5)
448 TrackMon.DxyErrBin = cms.int32(200)
449 TrackMon.DxyErrMax = cms.double(0.1)
451 TrackMon.RegionProducer = cms.InputTag(
"")
452 TrackMon.RegionSeedingLayersProducer = cms.InputTag(
"")
453 TrackMon.RegionCandidates = cms.InputTag(
"")
454 TrackMon.doRegionPlots = cms.bool(
False)
455 TrackMon.doRegionCandidatePlots = cms.bool(
False)
456 TrackMon.RegionSizeBin = cms.int32(20)
457 TrackMon.RegionSizeMax = cms.double(19.5)
458 TrackMon.RegionSizeMin = cms.double(-0.5)
459 TrackMon.RegionCandidatePtBin = cms.int32(100)
460 TrackMon.RegionCandidatePtMax = cms.double(1000)
461 TrackMon.RegionCandidatePtMin = cms.double(0)
464 TrackMon.SeedCandBin = cms.int32(20)
465 TrackMon.SeedCandMax = cms.double(19.5)
466 TrackMon.SeedCandMin = cms.double(-0.5)
468 from Configuration.Eras.Modifier_phase1Pixel_cff
import phase1Pixel
469 from Configuration.Eras.Modifier_phase2_tracker_cff
import phase2_tracker
470 from Configuration.Eras.Modifier_run3_common_cff
import run3_common
471 phase1Pixel.toModify(TrackMon, EtaBin=31, EtaMin=-3., EtaMax=3.)
472 phase1Pixel.toModify(TrackMon, LUMIBin=300, LUMIMin=200., LUMIMax=20000.)
473 run3_common.toModify(TrackMon, forceSCAL =
False)
474 run3_common.toModify(TrackMon, LUMIBin=375, LUMIMin=200., LUMIMax=25000.)
475 phase2_tracker.toModify(TrackMon, EtaBin=46, EtaMin=-4.5, EtaMax=4.5)
476 phase2_tracker.toModify(TrackMon, PVBin=125, PVMin=-0.5, PVMax=249.5)
477 phase2_tracker.toModify(TrackMon, LUMIBin=700, LUMIMin=200., LUMIMax=70000.)