CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/DPGAnalysis/Skims/python/goodvertexSkim_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 primaryVertexFilter = cms.EDFilter("GoodVertexFilter",
00004                                                       vertexCollection = cms.InputTag('offlinePrimaryVertices'),
00005                                                       minimumNDOF = cms.uint32(4) ,
00006                                                       maxAbsZ = cms.double(24), 
00007                                                       maxd0 = cms.double(2)     
00008                                                       )
00009 
00010 noscraping = cms.EDFilter("FilterOutScraping",
00011                                   applyfilter = cms.untracked.bool(True),
00012                                   debugOn = cms.untracked.bool(False),
00013                                   numtrack = cms.untracked.uint32(10),
00014                                   thresh = cms.untracked.double(0.25)
00015                                   )
00016 
00017 goodvertexSkim=cms.Sequence(primaryVertexFilter+noscraping)
00018