7 selectedMuons = cms.EDFilter(
9 src = cms.InputTag(
'muons'),
10 cut = cms.string(
"(isTrackerMuon) && pt > 5"
12 "&& globalTrack.isNonnull"+
13 "&& innerTrack.hitPattern.numberOfValidPixelHits > 0"+
14 "&& innerTrack.normalizedChi2 < 10"+
15 "&& numberOfMatches > 0"+
16 "&& innerTrack.hitPattern.numberOfValidTrackerHits>5"+
17 "&& globalTrack.hitPattern.numberOfValidHits>0"+
18 "&& (pfIsolationR03.sumChargedHadronPt+max(0.,pfIsolationR03.sumNeutralHadronEt+pfIsolationR03.sumPhotonEt - 0.5*pfIsolationR03.sumPUPt))/pt < 0.3"+
19 "&& abs(innerTrack().dxy)<2.0"
21 filter = cms.bool(
False)
29 selectedElectrons = cms.EDFilter(
30 "GsfElectronSelector",
31 src = cms.InputTag(
'gedGsfElectrons'),
33 "abs(eta) < 2.5 && pt > 19.5" +
34 "&& (gsfTrack.hitPattern().numberOfHits(\'MISSING_INNER_HITS\')<=1 )" +
35 "&& (pfIsolationVariables.sumChargedHadronPt+max(0.,pfIsolationVariables.sumNeutralHadronEt+pfIsolationVariables.sumPhotonEt - 0.5*pfIsolationVariables.sumPUPt))/et < 0.3" +
36 "&& ((abs(eta) < 1.4442 " +
37 "&& abs(deltaEtaSuperClusterTrackAtVtx) < 0.007"+
38 "&& abs(deltaPhiSuperClusterTrackAtVtx) < 0.8" +
39 "&& sigmaIetaIeta < 0.01" +
40 "&& hcalOverEcal < 0.15" +
41 "&& abs(1./superCluster.energy - 1./p) < 0.05)"+
42 "|| (abs(eta) > 1.566 "+
43 "&& abs(deltaEtaSuperClusterTrackAtVtx) < 0.009"+
44 "&& abs(deltaPhiSuperClusterTrackAtVtx) < 0.10" +
45 "&& sigmaIetaIeta < 0.03" +
46 "&& hcalOverEcal < 0.10" +
47 "&& abs(1./superCluster.energy - 1./p) < 0.05))"
49 filter = cms.bool(
False)
57 selectedPhotons = cms.EDFilter(
"PhotonSelector",
58 src = cms.InputTag(
"photons"),
60 "abs(eta) < 2.5 && pt > 19.5" +
61 "&& sigmaIetaIeta < 0.03" +
62 "&& hadronicOverEm < 0.05" +
63 "&& hasPixelSeed == 0" +
64 "&& (chargedHadronIso + neutralHadronIso + photonIso)/pt < 0.2"
69 selectionSequenceForMETSig = cms.Sequence(