test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PDWG_OniaSkim_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 
4 OniaSkimGoodMuons = cms.EDFilter("MuonRefSelector",
5  src = cms.InputTag("muons"),
6  cut = cms.string("isGlobalMuon || (isTrackerMuon && numberOfMatches('SegmentAndTrackArbitration')>0)"),
7 )
8 OniaSkimDiMuons = cms.EDProducer("CandViewShallowCloneCombiner",
9  decay = cms.string("OniaSkimGoodMuons OniaSkimGoodMuons"),
10  checkCharge = cms.bool(False),
11  cut = cms.string("mass > 2"),
12 )
13 OniaSkimDiMuonFilter = cms.EDFilter("CandViewCountFilter",
14  src = cms.InputTag("OniaSkimDiMuons"),
15  minNumber = cms.uint32(1),
16 )
17 
18 oniaSkimSequence = cms.Sequence(
19  OniaSkimGoodMuons *
20  OniaSkimDiMuons *
21  OniaSkimDiMuonFilter
22  )