1 import FWCore.ParameterSet.Config
as cms
3 selectedOfflinePrimaryVertices = cms.EDFilter(
"VertexSelector",
4 src = cms.InputTag(
'offlinePrimaryVertices'),
5 cut = cms.string(
"isValid & ndof > 4 & tracksSize > 0 & abs(z) <= 24 & abs(position.Rho) <= 2."),
6 filter = cms.bool(
False)
9 selectedOfflinePrimaryVerticesWithBS = selectedOfflinePrimaryVertices.clone()
10 selectedOfflinePrimaryVerticesWithBS.src = cms.InputTag(
'offlinePrimaryVerticesWithBS')
15 vertexAnalysis = cms.EDAnalyzer(
"PrimaryVertexAnalyzer4PUSlimmed",
16 use_only_charged_tracks = cms.untracked.bool(
True),
17 verbose = cms.untracked.bool(
False),
18 sigma_z_match = cms.untracked.double(3.0),
19 abs_z_match = cms.untracked.double(0.1),
20 root_folder = cms.untracked.string(
"Vertexing/PrimaryVertexV"),
21 recoTrackProducer = cms.untracked.InputTag(
"generalTracks"),
22 trackingParticleCollection = cms.untracked.InputTag(
"mix",
"MergedTrackTruth"),
23 trackingVertexCollection = cms.untracked.InputTag(
"mix",
"MergedTrackTruth"),
24 trackAssociatorMap = cms.untracked.InputTag(
"trackingParticleRecoTrackAsssociation"),
25 vertexAssociator = cms.untracked.InputTag(
"VertexAssociatorByPositionAndTracks"),
26 vertexRecoCollections = cms.VInputTag(
"offlinePrimaryVertices",
27 "offlinePrimaryVerticesWithBS",
29 "selectedOfflinePrimaryVertices",
30 "selectedOfflinePrimaryVerticesWithBS",
35 vertexAnalysisSequence = cms.Sequence(cms.ignore(selectedOfflinePrimaryVertices)
36 * cms.ignore(selectedOfflinePrimaryVerticesWithBS)