CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 highPurityTracks.cut = cms.string("quality('highPurity')")
13 
14 
15 hltMerged2highPurity = trackToTrackComparisonHists.clone()
16 hltMerged2highPurity.monitoredTrack = cms.InputTag("hltMergedTracks")
17 hltMerged2highPurity.referenceTrack = cms.InputTag("highPurityTracks")
18 hltMerged2highPurity.monitoredBeamSpot = cms.InputTag("hltOnlineBeamSpot")
19 hltMerged2highPurity.referenceBeamSpot = cms.InputTag("offlineBeamSpot")
20 hltMerged2highPurity.topDirName = cms.string("HLT/Tracking/ValidationWRTOffline/hltMergedWrtHighPurity")
21 hltMerged2highPurity.referencePrimaryVertices = cms.InputTag("offlinePrimaryVertices")
22 hltMerged2highPurity.monitoredPrimaryVertices = cms.InputTag("hltVerticesPFSelector")
23 
24 
25 hltMerged2highPurityPV = trackToTrackComparisonHists.clone()
26 hltMerged2highPurityPV.dzWRTPvCut = cms.double(0.1)
27 hltMerged2highPurityPV.monitoredTrack = cms.InputTag("hltMergedTracks")
28 hltMerged2highPurityPV.referenceTrack = cms.InputTag("highPurityTracks")
29 hltMerged2highPurityPV.monitoredBeamSpot = cms.InputTag("hltOnlineBeamSpot")
30 hltMerged2highPurityPV.referenceBeamSpot = cms.InputTag("offlineBeamSpot")
31 hltMerged2highPurityPV.topDirName = cms.string("HLT/Tracking/ValidationWRTOffline/hltMergedWrtHighPurityPV")
32 hltMerged2highPurityPV.referencePrimaryVertices = cms.InputTag("offlinePrimaryVertices")
33 hltMerged2highPurityPV.monitoredPrimaryVertices = cms.InputTag("hltVerticesPFSelector")
34 
35 hltToOfflineTrackValidatorSequence = cms.Sequence(
36  cms.ignore(highPurityTracks)
37  + hltMerged2highPurity
38  + hltMerged2highPurityPV
39 )
Output File Configuration.