5 goodHwwMuons = cms.EDFilter(
"MuonRefSelector",
6 src = cms.InputTag(
"muons"),
7 cut = cms.string(
"pt > 10 && " +
8 "(isolationR03().sumPt+isolationR03().emEt+isolationR03().hadEt)/pt < 1.0 && " +
9 "isGlobalMuon && isTrackerMuon"
14 goodHwwElectrons = cms.EDFilter(
"GsfElectronRefSelector",
15 src = cms.InputTag(
"gsfElectrons"),
16 cut = cms.string(
"pt > 10 &&" +
17 " abs(deltaEtaSuperClusterTrackAtVtx) < 0.010 &&" +
18 " (( isEB && sigmaIetaIeta < 0.011) ||" +
19 " (!isEB && sigmaIetaIeta < 0.031))"),
22 diHwwMuons = cms.EDProducer(
"CandViewShallowCloneCombiner",
23 decay = cms.string(
"goodHwwMuons goodHwwMuons"),
24 checkCharge = cms.bool(
False),
25 cut = cms.string(
"mass > 5"),
28 diHwwElectrons = cms.EDProducer(
"CandViewShallowCloneCombiner",
29 decay = cms.string(
"goodHwwElectrons goodHwwElectrons"),
30 checkCharge = cms.bool(
False),
31 cut = cms.string(
"mass > 5"),
33 crossHwwLeptons = cms.EDProducer(
"CandViewShallowCloneCombiner",
34 decay = cms.string(
"goodHwwMuons goodHwwElectrons"),
35 checkCharge = cms.bool(
False),
36 cut = cms.string(
"mass > 1"),
39 diHwwMuonsFilter = cms.EDFilter(
"CandViewCountFilter",
40 src = cms.InputTag(
"diHwwMuons"),
41 minNumber = cms.uint32(1)
43 diHwwElectronsFilter = cms.EDFilter(
"CandViewCountFilter",
44 src = cms.InputTag(
"diHwwElectrons"),
45 minNumber = cms.uint32(1)
47 crossHwwLeptonsFilter = cms.EDFilter(
"CandViewCountFilter",
48 src = cms.InputTag(
"crossHwwLeptons"),
49 minNumber = cms.uint32(1)
52 diMuonSequence = cms.Sequence( goodHwwMuons * diHwwMuons * diHwwMuonsFilter )
54 diElectronSequence = cms.Sequence( goodHwwElectrons * diHwwElectrons * diHwwElectronsFilter )
56 EleMuSequence = cms.Sequence( goodHwwMuons * goodHwwElectrons * crossHwwLeptons * crossHwwLeptonsFilter )