1 import FWCore.ParameterSet.Config
as cms
3 from DQM.TrackingMonitor.BXlumiParameters_cfi
import BXlumiSetup
5 TrackMon = cms.EDAnalyzer(
"TrackingMonitor",
8 numCut = cms.string(
" pt >= 1 & quality('highPurity') "),
9 denCut = cms.string(
" pt >= 1 "),
10 allTrackProducer = cms.InputTag(
"generalTracks"),
11 TrackProducer = cms.InputTag(
"generalTracks"),
12 SeedProducer = cms.InputTag(
"initialStepSeeds"),
13 TCProducer = cms.InputTag(
"initialStepTrackCandidates"),
14 ClusterLabels = cms.vstring(
'Tot'),
15 beamSpot = cms.InputTag(
"offlineBeamSpot"),
16 primaryVertex = cms.InputTag(
'offlinePrimaryVertices'),
17 stripCluster = cms.InputTag(
'siStripClusters'),
18 pixelCluster = cms.InputTag(
'siPixelClusters'),
19 BXlumiSetup = BXlumiSetup.clone(),
20 genericTriggerEventPSet = cms.PSet(),
29 primaryVertexInputTags = cms.VInputTag(),
30 selPrimaryVertexInputTags = cms.VInputTag(),
31 pvLabels = cms.vstring(),
34 OutputMEsInRootFile = cms.bool(
False),
35 AlgoName = cms.string(
'GenTk'),
36 Quality = cms.string(
''),
37 OutputFileName = cms.string(
'MonitorTrack.root'),
38 FolderName = cms.string(
'Tracking/GlobalParameters'),
39 BSFolderName = cms.string(
'Tracking/ParametersVsBeamSpot'),
40 PVFolderName = cms.string(
'Tracking/PrimaryVertices'),
48 MeasurementState = cms.string(
'ImpactPoint'),
51 doTestPlots = cms.bool(
False),
52 doAllPlots = cms.bool(
True),
53 doTrackerSpecific = cms.bool(
False),
54 doBeamSpotPlots = cms.bool(
False),
55 doPrimaryVertexPlots = cms.bool(
False),
56 doSeedParameterHistos = cms.bool(
False),
57 doTrackCandHistos = cms.bool(
False),
58 doAllTrackCandHistos = cms.bool(
False),
59 doDCAPlots = cms.bool(
False),
60 doDCAwrtPVPlots = cms.bool(
False),
61 doDCAwrt000Plots = cms.bool(
False),
62 doSIPPlots = cms.bool(
False),
63 doEffFromHitPatternVsPU = cms.bool(
False),
64 doEffFromHitPatternVsBX = cms.bool(
False),
65 doEffFromHitPatternVsLUMI = cms.bool(
False),
66 pvNDOF = cms.int32(4),
67 pixelCluster4lumi = cms.InputTag(
'siPixelClustersPreSplitting'),
68 scal = cms.InputTag(
'scalersRawToDigi'),
69 useBPixLayer1 = cms.bool(
False),
70 minNumberOfPixelsPerCluster = cms.int32(2),
71 minPixelClusterCharge = cms.double(15000.),
72 doGeneralPropertiesPlots = cms.bool(
False),
73 doHitPropertiesPlots = cms.bool(
False),
75 doMeasurementStatePlots = cms.bool(
True),
76 doProfilesVsLS = cms.bool(
False),
77 doRecHitsPerTrackProfile = cms.bool(
True),
78 doRecHitVsPhiVsEtaPerTrack = cms.bool(
False),
79 doRecHitVsPtVsEtaPerTrack = cms.bool(
False),
81 doLayersVsPhiVsEtaPerTrack = cms.bool(
False),
84 doThetaPlots = cms.bool(
False),
85 doTrackPxPyPlots = cms.bool(
False),
86 doPUmonitoring = cms.bool(
False),
87 doPlotsVsBXlumi = cms.bool(
False),
88 doPlotsVsGoodPVtx = cms.bool(
True),
89 doPlotsVsLUMI = cms.bool(
False),
90 doPlotsVsBX = cms.bool(
False),
91 doHIPlots = cms.bool(
False),
92 qualityString = cms.string(
"highPurity"),
94 doSeedNumberHisto = cms.bool(
False),
95 doSeedLumiAnalysis = cms.bool(
False),
96 doSeedVsClusterHisto = cms.bool(
False),
97 doSeedPTHisto = cms.bool(
False),
98 doSeedETAHisto = cms.bool(
False),
99 doSeedPHIHisto = cms.bool(
False),
100 doSeedPHIVsETAHisto = cms.bool(
False),
101 doSeedThetaHisto = cms.bool(
False),
102 doSeedQHisto = cms.bool(
False),
103 doSeedDxyHisto= cms.bool(
False),
104 doSeedDzHisto= cms.bool(
False),
105 doSeedNRecHitsHisto= cms.bool(
False),
106 doSeedNVsPhiProf= cms.bool(
False),
107 doSeedNVsEtaProf= cms.bool(
False),
108 doStopSource = cms.bool(
False),
110 TTRHBuilder = cms.string(
'WithTrackAngle'),
113 doLumiAnalysis = cms.bool(
False),
115 LSBin = cms.int32(2000),
116 LSMin = cms.double(0),
117 LSMax = cms.double(2000.),
123 Chi2Bin = cms.int32(50),
124 Chi2Max = cms.double(199.5),
125 Chi2Min = cms.double(-0.5),
128 Chi2NDFBin = cms.int32(50),
129 Chi2NDFMax = cms.double(19.5),
130 Chi2NDFMin = cms.double(-0.5),
133 Chi2ProbBin = cms.int32(100),
134 Chi2ProbMax = cms.double(1.0),
135 Chi2ProbMin = cms.double(0.0),
138 TkSizeBin = cms.int32(100),
139 TkSizeMax = cms.double(99.5),
140 TkSizeMin = cms.double(-0.5),
143 TkSeedSizeBin = cms.int32(150),
144 TkSeedSizeMax = cms.double(149.5),
145 TkSeedSizeMin = cms.double(-0.5),
148 TCSizeBin = cms.int32(150),
149 TCSizeMax = cms.double(149.5),
150 TCSizeMin = cms.double(-0.5),
153 TrackQBin = cms.int32(8),
154 TrackQMax = cms.double(2.5),
155 TrackQMin = cms.double(-2.5),
158 SeedHitBin = cms.int32(6),
159 SeedHitMax = cms.double(5.5),
160 SeedHitMin = cms.double(-0.5),
163 TCHitBin = cms.int32(40),
164 TCHitMax = cms.double(39.5),
165 TCHitMin = cms.double(-0.5),
168 RecHitBin = cms.int32(40),
169 RecHitMax = cms.double(39.5),
170 RecHitMin = cms.double(-0.5),
173 MeanHitBin = cms.int32(30),
174 MeanHitMax = cms.double(29.5),
175 MeanHitMin = cms.double(-0.5),
177 subdetectors = cms.vstring(
"TIB",
"TOB",
"TID",
"TEC",
"PixBarrel",
"PixEndcap",
"Pixel",
"Strip" ),
178 subdetectorBin = cms.int32(25),
181 RecLostBin = cms.int32(10),
182 RecLostMax = cms.double(9.5),
183 RecLostMin = cms.double(-0.5),
186 RecLayBin = cms.int32(25),
187 RecLayMax = cms.double(24.5),
188 RecLayMin = cms.double(-0.5),
191 MeanLayBin = cms.int32(25),
192 MeanLayMax = cms.double(24.5),
193 MeanLayMin = cms.double(-0.5),
196 TOBLayBin = cms.int32(10),
197 TOBLayMax = cms.double(9.5),
198 TOBLayMin = cms.double(-0.5),
201 TIBLayBin = cms.int32(6),
202 TIBLayMax = cms.double(5.5),
203 TIBLayMin = cms.double(-0.5),
206 TIDLayBin = cms.int32(6),
207 TIDLayMax = cms.double(5.5),
208 TIDLayMin = cms.double(-0.5),
211 TECLayBin = cms.int32(15),
212 TECLayMax = cms.double(14.5),
213 TECLayMin = cms.double(-0.5),
216 PXBLayBin = cms.int32(6),
217 PXBLayMax = cms.double(5.5),
218 PXBLayMin = cms.double(-0.5),
221 PXFLayBin = cms.int32(6),
222 PXFLayMax = cms.double(5.5),
223 PXFLayMin = cms.double(-0.5),
226 TrackPBin = cms.int32(100),
227 TrackPMax = cms.double(100),
228 TrackPMin = cms.double(0),
231 TrackPtBin = cms.int32(100),
232 TrackPtMax = cms.double(100),
233 TrackPtMin = cms.double(0.1),
236 TrackPxBin = cms.int32(50),
237 TrackPxMax = cms.double(50.0),
238 TrackPxMin = cms.double(-50.0),
241 TrackPyBin = cms.int32(50),
242 TrackPyMax = cms.double(50.0),
243 TrackPyMin = cms.double(-50.0),
246 TrackPzBin = cms.int32(50),
247 TrackPzMax = cms.double(50.0),
248 TrackPzMin = cms.double(-50.0),
251 ThetaBin = cms.int32(32),
252 ThetaMax = cms.double(3.2),
253 ThetaMin = cms.double(0.0),
256 EtaBin = cms.int32(26),
257 EtaMax = cms.double(2.5),
258 EtaMin = cms.double(-2.5),
261 PhiBin = cms.int32(32),
262 PhiMax = cms.double(3.141592654),
263 PhiMin = cms.double(-3.141592654),
266 pErrBin = cms.int32(50),
267 pErrMax = cms.double(1.0),
268 pErrMin = cms.double(0.0),
271 ptErrBin = cms.int32(50),
272 ptErrMax = cms.double(1.0),
273 ptErrMin = cms.double(0.0),
276 pxErrBin = cms.int32(50),
277 pxErrMax = cms.double(1.0),
278 pxErrMin = cms.double(0.0),
281 pyErrBin = cms.int32(50),
282 pyErrMax = cms.double(1.0),
283 pyErrMin = cms.double(0.0),
286 pzErrBin = cms.int32(50),
287 pzErrMax = cms.double(1.0),
288 pzErrMin = cms.double(0.0),
291 etaErrBin = cms.int32(50),
292 etaErrMax = cms.double(0.1),
293 etaErrMin = cms.double(0.0),
296 phiErrBin = cms.int32(50),
297 phiErrMax = cms.double(0.1),
298 phiErrMin = cms.double(0.0),
301 VXBin = cms.int32(100),
302 VXMax = cms.double(0.5),
303 VXMin = cms.double(-0.5),
306 VYBin = cms.int32(100),
307 VYMax = cms.double(0.5),
308 VYMin = cms.double(-0.5),
311 VZBin = cms.int32(100),
312 VZMax = cms.double(30.0),
313 VZMin = cms.double(-30.0),
316 VZBinProf = cms.int32(100),
317 VZMaxProf = cms.double(0.2),
318 VZMinProf = cms.double(-0.2),
321 X0Bin = cms.int32(100),
322 X0Max = cms.double(0.5),
323 X0Min = cms.double(-0.5),
326 Y0Bin = cms.int32(100),
327 Y0Max = cms.double(0.5),
328 Y0Min = cms.double(-0.5),
331 Z0Bin = cms.int32(120),
332 Z0Max = cms.double(60.0),
333 Z0Min = cms.double(-60.0),
336 DxyBin = cms.int32(100),
337 DxyMax = cms.double(0.5),
338 DxyMin = cms.double(-0.5),
340 AbsDxyBin = cms.int32(120),
341 AbsDxyMin = cms.double(0.),
342 AbsDxyMax = cms.double(60.),
345 SeedDxyBin = cms.int32(100),
346 SeedDxyMax = cms.double(0.5),
347 SeedDxyMin = cms.double(-0.5),
350 SeedDzBin = cms.int32(120),
351 SeedDzMax = cms.double(30.0),
352 SeedDzMin = cms.double(-30.0),
355 TCDxyBin = cms.int32(100),
356 TCDxyMax = cms.double(100.0),
357 TCDxyMin = cms.double(-100.0),
360 TCDzBin = cms.int32(100),
361 TCDzMax = cms.double(400.0),
362 TCDzMin = cms.double(-400.0),
368 NClusPxBin = cms.int32(200),
369 NClusPxMax = cms.double(19999.5),
370 NClusPxMin = cms.double(-0.5),
373 NClusStrBin = cms.int32(500),
374 NClusStrMax = cms.double(99999.5),
375 NClusStrMin = cms.double(-0.5),
378 NTrk2DBin = cms.int32(50),
379 NTrk2DMax = cms.double(1999.5),
380 NTrk2DMin = cms.double(-0.5),
384 GoodPVtxBin = cms.int32(200),
385 GoodPVtxMin = cms.double( 0.),
386 GoodPVtxMax = cms.double(200.),
388 LUMIBin = cms.int32 ( 4000 ),
389 LUMIMin = cms.double( 0.),
390 LUMIMax = cms.double(20000.),
399 TransDCABins = cms.int32(100),
400 TransDCAMin = cms.double(-8.0),
401 TransDCAMax = cms.double(8.0),
403 LongDCABins = cms.int32(100),
404 LongDCAMin = cms.double(-8.0),
405 LongDCAMax = cms.double(8.0),
408 from Configuration.Eras.Modifier_phase1Pixel_cff
import phase1Pixel
409 from Configuration.Eras.Modifier_phase2_tracker_cff
import phase2_tracker
410 phase1Pixel.toModify(TrackMon, EtaBin=30, EtaMin=-3, EtaMax=3)
411 phase2_tracker.toModify(TrackMon, EtaBin=46, EtaMin=-4.5, EtaMax=4.5)