1 import FWCore.ParameterSet.Config
as cms
5 hltVerticesMonitoring = pvMonitor.clone(
6 beamSpotLabel =
"hltOnlineBeamSpot" 9 from Configuration.Eras.Modifier_phase2_tracker_cff
import phase2_tracker
10 phase2_tracker.toModify(hltVerticesMonitoring,
11 TopFolderName =
"HLT/Vertexing/hltFullVertices",
12 vertexLabel = cms.InputTag(
"hltOfflinePrimaryVertices"))
14 hltPixelVerticesMonitoring = hltVerticesMonitoring.clone(
15 TopFolderName =
"HLT/Vertexing/hltPixelVertices",
16 vertexLabel =
"hltPixelVertices",
18 useHPforAlignmentPlots =
False 21 from Configuration.Eras.Modifier_pp_on_PbPb_run3_cff
import pp_on_PbPb_run3
22 pp_on_PbPb_run3.toModify(hltPixelVerticesMonitoring,
23 vertexLabel =
"hltPixelVerticesPPOnAA")
25 phase2_tracker.toModify(hltPixelVerticesMonitoring,
26 vertexLabel =
"hltPhase2PixelVertices")
28 hltTrimmedPixelVerticesMonitoring = hltVerticesMonitoring.clone(
29 TopFolderName =
"HLT/Vertexing/hltTrimmedPixelVertices",
30 vertexLabel =
"hltTrimmedPixelVertices",
32 useHPforAlignmentPlots =
False 35 pp_on_PbPb_run3.toModify(hltTrimmedPixelVerticesMonitoring,
36 vertexLabel =
"hltTrimmedPixelVerticesPPOnAA")
38 hltVerticesPFFilterMonitoring = hltVerticesMonitoring.clone(
39 TopFolderName =
"HLT/Vertexing/hltVerticesPFFilter",
40 vertexLabel =
"hltVerticesPFFilter",
41 useHPforAlignmentPlots =
False 44 pp_on_PbPb_run3.toModify(hltVerticesPFFilterMonitoring,
45 vertexLabel = cms.InputTag(
"hltVerticesPFFilterPPOnAA"))
47 hltVerticesL3PFBjetsMonitoring = hltVerticesMonitoring.clone(
48 TopFolderName =
"HLT/Vertexing/hltVerticesL3PFBjets",
49 vertexLabel =
"hltVerticesL3PFBjets",
50 useHPforAlignmentPlots =
False 52 vertexingMonitorHLT = cms.Sequence(
53 hltPixelVerticesMonitoring
54 + hltTrimmedPixelVerticesMonitoring
55 + hltVerticesPFFilterMonitoring
59 phase2_tracker.toReplaceWith(vertexingMonitorHLT, cms.Sequence(hltPixelVerticesMonitoring + hltVerticesMonitoring))