1 import FWCore.ParameterSet.Config
as cms
3 primaryVertexFilter = cms.EDFilter(
"GoodVertexFilter",
4 vertexCollection = cms.InputTag(
'offlinePrimaryVertices'),
5 minimumNDOF = cms.uint32(4) ,
6 maxAbsZ = cms.double(24),
10 noscraping = cms.EDFilter(
"FilterOutScraping",
11 applyfilter = cms.untracked.bool(
True),
12 debugOn = cms.untracked.bool(
False),
13 numtrack = cms.untracked.uint32(10),
14 thresh = cms.untracked.double(0.25)
17 goodvertexSkim=cms.Sequence(primaryVertexFilter+noscraping)