1 import FWCore.ParameterSet.Config
as cms
7 selectedMuons = cms.EDFilter(
9 src = cms.InputTag(
'muons'),
10 cut = cms.string(
"(isTrackerMuon) && std::abs(eta) < 2.5 && pt > 19.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+std::max(0.,pfIsolationR03.sumNeutralHadronEt+pfIsolationR03.sumPhotonEt - 0.5*pfIsolationR03.sumPUPt))/pt < 0.3"+
19 "&& std::abs(innerTrack().dxy)<2.0" 21 filter = cms.bool(
False)
30 selectedElectrons = cms.EDFilter(
31 "GsfElectronSelector",
32 src = cms.InputTag(
'gedGsfElectrons'),
34 "std::abs(eta) < 2.5 && pt > 19.5" +
35 "&& (gsfTrack.hitPattern().numberOfHits(\'MISSING_INNER_HITS\')<=1 )" +
36 "&& (pfIsolationVariables.sumChargedHadronPt+std::max(0.,pfIsolationVariables.sumNeutralHadronEt+pfIsolationVariables.sumPhotonEt - 0.5*pfIsolationVariables.sumPUPt))/et < 0.3" +
37 "&& ((std::abs(eta) < 1.4442 " +
38 "&& std::abs(deltaEtaSuperClusterTrackAtVtx) < 0.007"+
39 "&& std::abs(deltaPhiSuperClusterTrackAtVtx) < 0.8" +
40 "&& sigmaIetaIeta < 0.01" +
41 "&& hcalOverEcal < 0.15" +
42 "&& std::abs(1./superCluster.energy - 1./p) < 0.05)"+
43 "|| (std::abs(eta) > 1.566 "+
44 "&& std::abs(deltaEtaSuperClusterTrackAtVtx) < 0.009"+
45 "&& std::abs(deltaPhiSuperClusterTrackAtVtx) < 0.10" +
46 "&& sigmaIetaIeta < 0.03" +
47 "&& hcalOverEcal < 0.10" +
48 "&& std::abs(1./superCluster.energy - 1./p) < 0.05))" 50 filter = cms.bool(
False)
58 selectedTaus = cms.EDFilter(
"PFTauSelector",
59 src = cms.InputTag(
'hpsPFTauProducer'),
60 discriminators = cms.VPSet(
62 discriminator = cms.InputTag(
'hpsPFTauDiscriminationByDecayModeFinding'),
63 selectionCut = cms.double(0.5)
66 discriminator = cms.InputTag(
'hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr3Hits'),
67 selectionCut = cms.double(0.5)
70 cut = cms.string(
"pt > 20. & std::abs(eta) < 2.3")
79 selectedPhotons = cms.EDFilter(
"PhotonSelector",
80 src = cms.InputTag(
"photons"),
82 "std::abs(eta) < 2.5 && pt > 19.5" +
83 "&& sigmaIetaIeta < 0.03" +
84 "&& hadronicOverEm < 0.05" +
85 "&& hasPixelSeed == 0" +
86 "&& (chargedHadronIso + neutralHadronIso + photonIso)/pt < 0.2" 96 jet_acc =
'(pt >= 30 && std::abs(eta)<2.5)' 99 selectedJets = cms.EDFilter(
"PFJetSelector",
100 src = cms.InputTag(
"ak4PFJets"),
102 "(pt >= 30 && std::abs(eta)<2.5)" +
103 "&& neutralHadronEnergyFraction < 0.99" +
104 "&& neutralEmEnergyFraction < 0.99" +
105 "&& getPFConstituents.size > 1" 110 selectionSequenceForMVANoPUMET = cms.Sequence(