1 import FWCore.ParameterSet.Config
as cms
4 DQMStore.collateHistograms =cms.untracked.bool(
True)
5 from DQM.TrackingMonitorSource.trackToTrackComparisonHists_cfi
import trackToTrackComparisonHists
7 trackSelector = cms.EDFilter(
'TrackSelector',
8 src = cms.InputTag(
'generalTracks'),
11 highPurityTracks = trackSelector.clone(
12 cut =
"quality('highPurity')" 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" 25 from Configuration.Eras.Modifier_phase2_tracker_cff
import phase2_tracker
26 phase2_tracker.toModify(hltMerged2highPurity,
27 monitoredTrack = cms.InputTag(
"generalTracks",
"",
"HLT"),
28 monitoredPrimaryVertices = cms.InputTag(
"offlinePrimaryVertices",
"",
"HLT"))
30 hltMerged2highPurityPV = trackToTrackComparisonHists.clone(
32 monitoredTrack =
"hltMergedTracks",
33 referenceTrack =
"highPurityTracks",
34 monitoredBeamSpot =
"hltOnlineBeamSpot",
35 referenceBeamSpot =
"offlineBeamSpot",
36 topDirName =
"HLT/Tracking/ValidationWRTOffline/hltMergedWrtHighPurityPV",
37 referencePrimaryVertices =
"offlinePrimaryVertices",
38 monitoredPrimaryVertices =
"hltVerticesPFSelector" 41 from Configuration.Eras.Modifier_phase2_tracker_cff
import phase2_tracker
42 phase2_tracker.toModify(hltMerged2highPurityPV,
43 monitoredTrack = cms.InputTag(
"generalTracks",
"",
"HLT"),
44 monitoredPrimaryVertices = cms.InputTag(
"offlinePrimaryVertices",
"",
"HLT"))
46 hltToOfflineTrackValidatorSequence = cms.Sequence(
47 cms.ignore(highPurityTracks)
48 + hltMerged2highPurity
49 + hltMerged2highPurityPV
Output File Configuration.