forked from cms-sw/cmssw
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Various updates to pixel track/vertex DQM and MTV (#285)
* Add DQM for pixel vertices * Add pT>0.9GeV pixel track collections to MTV * Add dzPV0p1, Pt0to1, Pt1 variants of pixel track DQM
- Loading branch information
1 parent
644ac5b
commit 0170373
Showing
10 changed files
with
147 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
DQM/TrackingMonitorClient/python/pixelVertexResolutionClient_cfi.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
from DQM.TrackingMonitorClient.primaryVertexResolutionClient_cfi import primaryVertexResolutionClient as _primaryVertexResolutionClient | ||
|
||
pixelVertexResolutionClient = _primaryVertexResolutionClient.clone( | ||
subDirs = ["OfflinePixelPV/Resolution/*"] | ||
) |
92 changes: 73 additions & 19 deletions
92
DQM/TrackingMonitorSource/python/pixelTracksMonitoring_cff.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,77 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
import DQM.TrackingMonitor.TrackerCollisionTrackingMonitor_cfi | ||
pixelTracksMonitoring = DQM.TrackingMonitor.TrackerCollisionTrackingMonitor_cfi.TrackerCollisionTrackMon.clone() | ||
pixelTracksMonitoring.FolderName = 'Tracking/PixelTrackParameters' | ||
pixelTracksMonitoring.TrackProducer = 'pixelTracks' | ||
pixelTracksMonitoring.allTrackProducer = 'pixelTracks' | ||
pixelTracksMonitoring.beamSpot = 'offlineBeamSpot' | ||
pixelTracksMonitoring.primaryVertex = 'pixelVertices' | ||
pixelTracksMonitoring.pvNDOF = 1 | ||
pixelTracksMonitoring.doAllPlots = True | ||
pixelTracksMonitoring.doLumiAnalysis = True | ||
pixelTracksMonitoring.doProfilesVsLS = True | ||
pixelTracksMonitoring.doDCAPlots = True | ||
pixelTracksMonitoring.doProfilesVsLS = True | ||
pixelTracksMonitoring.doPlotsVsGoodPVtx = True | ||
pixelTracksMonitoring.doEffFromHitPatternVsPU = False | ||
pixelTracksMonitoring.doEffFromHitPatternVsBX = False | ||
pixelTracksMonitoring.doEffFromHitPatternVsLUMI = False | ||
pixelTracksMonitoring.doPlotsVsGoodPVtx = True | ||
pixelTracksMonitoring.doPlotsVsLUMI = True | ||
pixelTracksMonitoring.doPlotsVsBX = True | ||
pixelTracksMonitor = DQM.TrackingMonitor.TrackerCollisionTrackingMonitor_cfi.TrackerCollisionTrackMon.clone() | ||
pixelTracksMonitor.FolderName = 'Tracking/PixelTrackParameters/pixelTracks' | ||
pixelTracksMonitor.TrackProducer = 'pixelTracks' | ||
pixelTracksMonitor.allTrackProducer = 'pixelTracks' | ||
pixelTracksMonitor.beamSpot = 'offlineBeamSpot' | ||
pixelTracksMonitor.primaryVertex = 'pixelVertices' | ||
pixelTracksMonitor.pvNDOF = 1 | ||
pixelTracksMonitor.doAllPlots = True | ||
pixelTracksMonitor.doLumiAnalysis = True | ||
pixelTracksMonitor.doProfilesVsLS = True | ||
pixelTracksMonitor.doDCAPlots = True | ||
pixelTracksMonitor.doProfilesVsLS = True | ||
pixelTracksMonitor.doPlotsVsGoodPVtx = True | ||
pixelTracksMonitor.doEffFromHitPatternVsPU = False | ||
pixelTracksMonitor.doEffFromHitPatternVsBX = False | ||
pixelTracksMonitor.doEffFromHitPatternVsLUMI = False | ||
pixelTracksMonitor.doPlotsVsGoodPVtx = True | ||
pixelTracksMonitor.doPlotsVsLUMI = True | ||
pixelTracksMonitor.doPlotsVsBX = True | ||
|
||
_trackSelector = cms.EDFilter('TrackSelector', | ||
src = cms.InputTag('pixelTracks'), | ||
cut = cms.string("") | ||
) | ||
|
||
pixelTracksPt0to1 = _trackSelector.clone(cut = "pt >= 0 & pt < 1 ") | ||
pixelTracksPt1 = _trackSelector.clone(cut = "pt >= 1 ") | ||
from DQM.TrackingMonitorSource.TrackCollections2monitor_cff import highPurityPV0p1 as _highPurityPV0p1 | ||
pixelTracksPV0p1 = _highPurityPV0p1.clone( | ||
src = "pixelTracks", | ||
quality = "", | ||
vertexTag = "goodPixelVertices" | ||
) | ||
|
||
pixelTracksMonitorPt0to1 = pixelTracksMonitor.clone( | ||
TrackProducer = "pixelTracksPt0to1", | ||
FolderName = "Tracking/PixelTrackParameters/pt_0to1" | ||
) | ||
pixelTracksMonitorPt1 = pixelTracksMonitor.clone( | ||
TrackProducer = "pixelTracksPt1", | ||
FolderName = "Tracking/PixelTrackParameters/pt_1" | ||
) | ||
pixelTracksMonitorPV0p1 = pixelTracksMonitor.clone( | ||
TrackProducer = "pixelTracksPV0p1", | ||
FolderName = "Tracking/PixelTrackParameters/dzPV0p1" | ||
) | ||
|
||
|
||
from CommonTools.ParticleFlow.goodOfflinePrimaryVertices_cfi import goodOfflinePrimaryVertices as _goodOfflinePrimaryVertices | ||
goodPixelVertices = _goodOfflinePrimaryVertices.clone( | ||
src = "pixelVertices", | ||
) | ||
|
||
from DQM.TrackingMonitor.primaryVertexResolution_cfi import primaryVertexResolution as _primaryVertexResolution | ||
pixelVertexResolution = _primaryVertexResolution.clone( | ||
vertexSrc = "goodPixelVertices", | ||
rootFolder = "OfflinePixelPV/Resolution", | ||
) | ||
|
||
pixelTracksMonitoringTask = cms.Task( | ||
goodPixelVertices, | ||
pixelTracksPt0to1, | ||
pixelTracksPt1, | ||
pixelTracksPV0p1, | ||
) | ||
|
||
pixelTracksMonitoring = cms.Sequence( | ||
pixelTracksMonitor + | ||
pixelTracksMonitorPt0to1 + | ||
pixelTracksMonitorPt1 + | ||
pixelTracksMonitorPV0p1 + | ||
pixelVertexResolution, | ||
pixelTracksMonitoringTask | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
from DQMOffline.RecoB.PrimaryVertexMonitor_cff import pvMonitor as _pvMonitor | ||
pixelPVMonitor = _pvMonitor.clone( | ||
TopFolderName = "OfflinePixelPV", | ||
vertexLabel = "pixelVertices", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters