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(
"generalTracks",
"",
"HLT"),
34 monitoredPrimaryVertices = cms.InputTag(
"offlinePrimaryVertices",
"",
"HLT"))
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(
"generalTracks",
"",
"HLT"),
55 monitoredPrimaryVertices = cms.InputTag(
"offlinePrimaryVertices",
"",
"HLT"))
57 hltToOfflineTrackValidatorSequence = cms.Sequence(
58 cms.ignore(highPurityTracks)
59 + hltMerged2highPurity
60 + hltMerged2highPurityPV
Output File Configuration.