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_pp_on_PbPb_run3_cff
import pp_on_PbPb_run3
26 pp_on_PbPb_run3.toModify(hltMerged2highPurity,
27 topDirName =
"HLT/Tracking/ValidationWRTOffline/hltMergedPPonAAWrtHighPurity",
28 monitoredTrack =
"hltMergedTracksPPOnAA",
29 monitoredPrimaryVertices =
"hltVerticesPFFilterPPOnAA")
31 from Configuration.Eras.Modifier_phase2_tracker_cff
import phase2_tracker
32 phase2_tracker.toModify(hltMerged2highPurity,
33 monitoredTrack = cms.InputTag(
"hltGeneralTracks"),
34 monitoredPrimaryVertices = cms.InputTag(
"hltOfflinePrimaryVertices"))
36 hltMerged2highPurityPV = TrackToTrackComparisonHists.clone(
38 monitoredTrack =
"hltMergedTracks",
39 referenceTrack =
"highPurityTracks",
40 monitoredBeamSpot =
"hltOnlineBeamSpot",
41 referenceBeamSpot =
"offlineBeamSpot",
42 topDirName =
"HLT/Tracking/ValidationWRTOffline/hltMergedWrtHighPurityPV",
43 referencePrimaryVertices =
"offlinePrimaryVertices",
44 monitoredPrimaryVertices =
"hltVerticesPFSelector" 47 pp_on_PbPb_run3.toModify(hltMerged2highPurityPV,
48 topDirName =
"HLT/Tracking/ValidationWRTOffline/hltMergedPPonAAWrtHighPurityPV",
49 monitoredTrack =
"hltMergedTracksPPOnAA",
50 monitoredPrimaryVertices =
"hltVerticesPFFilterPPOnAA")
52 from Configuration.Eras.Modifier_phase2_tracker_cff
import phase2_tracker
53 phase2_tracker.toModify(hltMerged2highPurityPV,
54 monitoredTrack = cms.InputTag(
"hltGeneralTracks"),
55 monitoredPrimaryVertices = cms.InputTag(
"hltOfflinePrimaryVertices"))
61 hltEgammaGsfTracksVsOffline = TrackToTrackComparisonHists.clone(
62 monitoredTrack =
"hltEgammaGsfTracks",
63 referenceTrack =
"electronGsfTracks",
64 monitoredBeamSpot =
"hltOnlineBeamSpot",
65 referenceBeamSpot =
"offlineBeamSpot",
66 topDirName =
"HLT/EGM/Tracking/ValidationWRTOffline/hltEgammaGsfTracks",
67 referencePrimaryVertices =
"offlinePrimaryVertices",
68 monitoredPrimaryVertices =
"hltVerticesPFSelector" 71 hltEgammaGsfTracksVsOfflinePV = TrackToTrackComparisonHists.clone(
73 monitoredTrack =
"hltEgammaGsfTracks",
74 referenceTrack =
"electronGsfTracks",
75 monitoredBeamSpot =
"hltOnlineBeamSpot",
76 referenceBeamSpot =
"offlineBeamSpot",
77 topDirName =
"HLT/EGM/Tracking/ValidationWRTOffline/hltEgammaGsfTracksPV",
78 referencePrimaryVertices =
"offlinePrimaryVertices",
79 monitoredPrimaryVertices =
"hltVerticesPFSelector" 82 from Configuration.Eras.Modifier_phase2_common_cff
import phase2_common
83 phase2_common.toModify(hltEgammaGsfTracksVsOffline,
84 monitoredTrack = cms.InputTag(
"hltEgammaGsfTracksL1Seeded"),
85 monitoredPrimaryVertices = cms.InputTag(
"hltOfflinePrimaryVertices"))
87 phase2_common.toModify(hltEgammaGsfTracksVsOfflinePV,
88 monitoredTrack = cms.InputTag(
"hltEgammaGsfTracksL1Seeded"),
89 monitoredPrimaryVertices = cms.InputTag(
"hltOfflinePrimaryVertices"))
91 hltToOfflineTrackValidatorSequence = cms.Sequence(
92 cms.ignore(highPurityTracks)
93 + hltMerged2highPurity
94 + hltMerged2highPurityPV
95 + hltEgammaGsfTracksVsOffline
96 + hltEgammaGsfTracksVsOfflinePV
Output File Configuration.