00001 import FWCore.ParameterSet.Config as cms 00002 00003 dimuonsOneStandAloneMuon = cms.EDFilter("CandViewRefSelector", 00004 src = cms.InputTag("dimuons"), 00005 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) )') 00006 ) 00007 00008