CMS 3D CMS Logo

TrackToTrackMonitoring_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from DQMServices.Core.DQM_cfg import *
4 DQMStore.collateHistograms =cms.untracked.bool(True)
5 from DQM.TrackingMonitorSource.trackToTrackComparisonHists_cfi import trackToTrackComparisonHists
6 
7 trackSelector = cms.EDFilter('TrackSelector',
8  src = cms.InputTag('generalTracks'),
9  cut = cms.string("")
10 )
11 highPurityTracks = trackSelector.clone(
12  cut = "quality('highPurity')"
13 )
14 
15 hltMerged2highPurity = trackToTrackComparisonHists.clone(
16  monitoredTrack = "hltMergedTracks",
17  referenceTrack = "highPurityTracks",
18  monitoredBeamSpot = "hltOnlineBeamSpot",
19  referenceBeamSpot = "offlineBeamSpot",
20  topDirName = "HLT/Tracking/ValidationWRTOffline/hltMergedWrtHighPurity",
21  referencePrimaryVertices = "offlinePrimaryVertices",
22  monitoredPrimaryVertices = "hltVerticesPFSelector"
23 )
24 
25 hltMerged2highPurityPV = trackToTrackComparisonHists.clone(
26  dzWRTPvCut = 0.1,
27  monitoredTrack = "hltMergedTracks",
28  referenceTrack = "highPurityTracks",
29  monitoredBeamSpot = "hltOnlineBeamSpot",
30  referenceBeamSpot = "offlineBeamSpot",
31  topDirName = "HLT/Tracking/ValidationWRTOffline/hltMergedWrtHighPurityPV",
32  referencePrimaryVertices = "offlinePrimaryVertices",
33  monitoredPrimaryVertices = "hltVerticesPFSelector"
34 )
35 hltToOfflineTrackValidatorSequence = cms.Sequence(
36  cms.ignore(highPurityTracks)
37  + hltMerged2highPurity
38  + hltMerged2highPurityPV
39 )
Output File Configuration.