1 import FWCore.ParameterSet.Config
as cms
3 dimuonsOneStandAloneMuon = cms.EDFilter(
"CandViewRefSelector",
4 src = cms.InputTag(
"dimuons"),
5 cut = cms.string(
'charge = 0 & mass > 20 & ( (daughter(0).isStandAloneMuon = 1 & daughter(0).isGlobalMuon = 0 & daughter(1).isGlobalMuon = 1) | (daughter(1).isStandAloneMuon = 1 & daughter(1).isGlobalMuon = 0 & daughter(0).isGlobalMuon = 1) )')