1 import FWCore.ParameterSet.Config
as cms
3 import DQM.TrackingMonitor.TrackerCollisionTrackingMonitor_cfi
4 pixelTracksMonitor = DQM.TrackingMonitor.TrackerCollisionTrackingMonitor_cfi.TrackerCollisionTrackMon.clone()
5 pixelTracksMonitor.FolderName =
'Tracking/PixelTrackParameters/pixelTracks'
6 pixelTracksMonitor.TrackProducer =
'pixelTracks'
7 pixelTracksMonitor.allTrackProducer =
'pixelTracks'
8 pixelTracksMonitor.beamSpot =
'offlineBeamSpot'
9 pixelTracksMonitor.primaryVertex =
'pixelVertices'
10 pixelTracksMonitor.pvNDOF = 1
11 pixelTracksMonitor.doAllPlots =
True
12 pixelTracksMonitor.doLumiAnalysis =
True
13 pixelTracksMonitor.doProfilesVsLS =
True
14 pixelTracksMonitor.doDCAPlots =
True
15 pixelTracksMonitor.doProfilesVsLS =
True
16 pixelTracksMonitor.doPlotsVsGoodPVtx =
True
17 pixelTracksMonitor.doEffFromHitPatternVsPU =
False
18 pixelTracksMonitor.doEffFromHitPatternVsBX =
False
19 pixelTracksMonitor.doEffFromHitPatternVsLUMI =
False
20 pixelTracksMonitor.doPlotsVsGoodPVtx =
True
21 pixelTracksMonitor.doPlotsVsLUMI =
True
22 pixelTracksMonitor.doPlotsVsBX =
True
24 _trackSelector = cms.EDFilter(
'TrackSelector',
25 src = cms.InputTag(
'pixelTracks'),
29 pixelTracksPt0to1 = _trackSelector.clone(cut =
"pt >= 0 & pt < 1 ")
30 pixelTracksPt1 = _trackSelector.clone(cut =
"pt >= 1 ")
32 pixelTracksPV0p1 = _highPurityPV0p1.clone(
35 vertexTag =
"goodPixelVertices"
38 pixelTracksMonitorPt0to1 = pixelTracksMonitor.clone(
39 TrackProducer =
"pixelTracksPt0to1",
40 FolderName =
"Tracking/PixelTrackParameters/pt_0to1"
42 pixelTracksMonitorPt1 = pixelTracksMonitor.clone(
43 TrackProducer =
"pixelTracksPt1",
44 FolderName =
"Tracking/PixelTrackParameters/pt_1"
46 pixelTracksMonitorPV0p1 = pixelTracksMonitor.clone(
47 TrackProducer =
"pixelTracksPV0p1",
48 FolderName =
"Tracking/PixelTrackParameters/dzPV0p1"
53 goodPixelVertices = _goodOfflinePrimaryVertices.clone(
54 src =
"pixelVertices",
58 pixelVertexResolution = _primaryVertexResolution.clone(
59 vertexSrc =
"goodPixelVertices",
60 rootFolder =
"OfflinePixelPV/Resolution",
63 pixelTracksMonitoringTask = cms.Task(
70 pixelTracksMonitoring = cms.Sequence(
72 pixelTracksMonitorPt0to1 +
73 pixelTracksMonitorPt1 +
74 pixelTracksMonitorPV0p1 +
75 pixelVertexResolution,
76 pixelTracksMonitoringTask