Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003 from PhysicsTools.PatAlgos.selectionLayer1.electronSelector_cfi import selectedPatElectrons
00004 isolatedPatElectrons = selectedPatElectrons.clone(src="selectedPatElectrons", cut="pt>10 & abs(eta)<2.5 & (trackIso+caloIso)/pt<0.05")
00005
00006 from PhysicsTools.PatAlgos.selectionLayer1.muonSelector_cfi import selectedPatMuons
00007 isolatedPatMuons = selectedPatMuons.clone(src="selectedPatMuons", cut="pt>10 & abs(eta)<2.5 & (trackIso+caloIso)/pt<0.05")
00008
00009 customSelection = cms.Sequence(
00010 isolatedPatElectrons *isolatedPatMuons
00011 )