CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
goodvertexSkim_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 primaryVertexFilter = cms.EDFilter("GoodVertexFilter",
4  vertexCollection = cms.InputTag('offlinePrimaryVertices'),
5  minimumNDOF = cms.uint32(4) ,
6  maxAbsZ = cms.double(24),
7  maxd0 = cms.double(2)
8  )
9 
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)
15  )
16 
17 goodvertexSkim=cms.Sequence(primaryVertexFilter+noscraping)
18