1 import FWCore.ParameterSet.Config
as cms
5 hltMultiPVanalysis = vertexAnalysis.clone()
6 hltMultiPVanalysis.do_generic_sim_plots =
False
7 hltMultiPVanalysis.verbose = cms.untracked.bool(
False)
8 hltMultiPVanalysis.root_folder = cms.untracked.string(
"HLT/Vertexing/ValidationWRTsim")
9 hltMultiPVanalysis.vertexRecoCollections = cms.VInputTag( )
10 hltMultiPVanalysis.trackAssociatorMap = cms.untracked.InputTag(
"trackingParticleRecoTrackAsssociation")
11 hltMultiPVanalysis.vertexAssociator = cms.untracked.InputTag(
"VertexAssociatorByPositionAndTracks")
15 vertexAssociatorByPositionAndTracks4pixelTracks = _VertexAssociatorByPositionAndTracks.clone()
16 vertexAssociatorByPositionAndTracks4pixelTracks.trackAssociation = cms.InputTag(
"tpToHLTpixelTrackAssociation")
18 tpToHLTpfMuonMergingTrackAssociation = tpToHLTpixelTrackAssociation.clone(
19 label_tr =
"hltPFMuonMerging"
21 vertexAssociatorByPositionAndTracks4pfMuonMergingTracks = _VertexAssociatorByPositionAndTracks.clone()
22 vertexAssociatorByPositionAndTracks4pfMuonMergingTracks.trackAssociation = cms.InputTag(
"tpToHLTpfMuonMergingTrackAssociation")
26 hltPixelPVanalysis = hltMultiPVanalysis.clone()
27 hltPixelPVanalysis.do_generic_sim_plots =
True
28 hltPixelPVanalysis.trackAssociatorMap = cms.untracked.InputTag(
"tpToHLTpixelTrackAssociation")
29 hltPixelPVanalysis.vertexAssociator = cms.untracked.InputTag(
"vertexAssociatorByPositionAndTracks4pixelTracks")
30 hltPixelPVanalysis.vertexRecoCollections = cms.VInputTag(
32 "hltTrimmedPixelVertices",
37 hltPVanalysis = hltMultiPVanalysis.clone()
38 hltPVanalysis.trackAssociatorMap = cms.untracked.InputTag(
"tpToHLTpfMuonMergingTrackAssociation")
39 hltPVanalysis.vertexAssociator = cms.untracked.InputTag(
"vertexAssociatorByPositionAndTracks4pfMuonMergingTracks")
40 hltPVanalysis.vertexRecoCollections = cms.VInputTag(
45 hltMultiPVAssociations = cms.Task(
46 hltTrackAssociatorByHits,
47 tpToHLTpixelTrackAssociation,
48 vertexAssociatorByPositionAndTracks4pixelTracks,
49 tpToHLTpfMuonMergingTrackAssociation,
50 vertexAssociatorByPositionAndTracks4pfMuonMergingTracks
53 hltMultiPVValidation = cms.Sequence(
56 hltMultiPVAssociations