1 import FWCore.ParameterSet.Config
as cms
5 goodVertices = cms.EDFilter(
"VertexSelector",
6 src = cms.InputTag(
"offlinePrimaryVertices"),
9 cut = cms.string(
"!isFake && ndof > 4 && abs(z) <= 30 && position.Rho <= 2"),
10 filter = cms.bool(
False),
13 noFakeVertices = goodVertices.clone(cut=cms.string(
"!isFake"))
15 goodVerticesD0s5 = goodVertices.clone(src =
"offlinePrimaryVerticesD0s5")
16 goodVerticesD0s51mm = goodVertices.clone(src =
"offlinePrimaryVerticesD0s51mm")
17 goodVerticesDA100um = goodVertices.clone(src =
"offlinePrimaryVerticesDA100um")
18 goodVerticesDA100umV7 = goodVertices.clone(src =
"offlinePrimaryVerticesDA100umV7")
19 goodVerticesDA100umV8 = goodVertices.clone(src =
"offlinePrimaryVerticesDA100umV8")
22 seqPVSelection = cms.Sequence(goodVertices + noFakeVertices + goodVerticesD0s5 + goodVerticesD0s51mm +
23 goodVerticesDA100um + goodVerticesDA100umV7 + goodVerticesDA100umV8 )
24 seqSimplePVSelection = cms.Sequence(goodVertices + noFakeVertices)