CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/Configuration/Skimming/python/PDWG_OniaSkim_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 
00004 OniaSkimGoodMuons = cms.EDFilter("MuonRefSelector",
00005     src = cms.InputTag("muons"),
00006     cut = cms.string("isGlobalMuon || (isTrackerMuon && numberOfMatches('SegmentAndTrackArbitration')>0)"),
00007 )
00008 OniaSkimDiMuons = cms.EDProducer("CandViewShallowCloneCombiner",
00009     decay       = cms.string("OniaSkimGoodMuons OniaSkimGoodMuons"),
00010     checkCharge = cms.bool(False),
00011     cut         = cms.string("mass > 2"),
00012 )
00013 OniaSkimDiMuonFilter = cms.EDFilter("CandViewCountFilter",
00014     src       = cms.InputTag("OniaSkimDiMuons"),
00015     minNumber = cms.uint32(1),
00016 )
00017 
00018 oniaSkimSequence = cms.Sequence(
00019     OniaSkimGoodMuons *
00020     OniaSkimDiMuons *
00021     OniaSkimDiMuonFilter
00022     )