30 pfPileUpEI = pfPileUp.clone( PFCandidates = cms.InputTag(
'particleFlowPtrs') )
31 pfNoPileUpEI = pfNoPileUp.clone( bottomCollection = cms.InputTag(
'particleFlowPtrs'),
32 topCollection = cms.InputTag(
'pfPileUpEI') )
34 pfPileUpJMEEI = pfPileUpJME.clone( PFCandidates = cms.InputTag(
'particleFlowPtrs') )
35 pfNoPileUpJMEEI = pfNoPileUpJME.clone( bottomCollection = cms.InputTag(
'particleFlowPtrs'),
36 topCollection = cms.InputTag(
'pfPileUpJMEEI') )
41 pfAllMuonsEI = cms.EDFilter(
42 "PFCandidateFwdPtrCollectionStringFilter",
43 src = cms.InputTag(
"pfNoPileUpEI"),
44 cut = cms.string(
"abs(pdgId())==13"
46 makeClones = cms.bool(
True)
49 pfMuonsFromVertexEI = pfMuonsFromVertex.clone( src = cms.InputTag(
'pfAllMuonsEI') )
51 pfIsolatedMuonsEI = cms.EDFilter(
52 "PFCandidateFwdPtrCollectionStringFilter",
53 src = cms.InputTag(
"pfMuonsFromVertexEI"),
54 cut = cms.string(
"pt > 5 & muonRef.isAvailable() & "\
55 "muonRef.pfIsolationR04().sumChargedHadronPt + "\
56 "muonRef.pfIsolationR04().sumNeutralHadronEt + "\
57 "muonRef.pfIsolationR04().sumPhotonEt "\
60 makeClones = cms.bool(
True)
63 pfNoMuon.topCollection =
'pfIsolatedMuonsEI'
64 pfNoMuon.bottomCollection =
'pfNoPileUpEI'
67 pfNoMuonJME.topCollection =
'pfIsolatedMuonsEI'
68 pfNoMuonJME.bottomCollection =
'pfNoPileUpJMEEI'
74 pfAllElectronsEI = cms.EDFilter(
75 "PFCandidateFwdPtrCollectionStringFilter",
76 src = cms.InputTag(
"pfNoMuon"),
77 cut = cms.string(
"abs(pdgId())==11"
79 makeClones = cms.bool(
True)
82 pfElectronsFromVertexEI = pfElectronsFromVertex.clone( src = cms.InputTag(
'pfAllElectronsEI') )
85 pfIsolatedElectronsEI = cms.EDFilter(
86 "PFCandidateFwdPtrCollectionStringFilter",
87 src = cms.InputTag(
"pfElectronsFromVertexEI"),
88 cut = cms.string(
" pt > 5 & gsfElectronRef.isAvailable() & gsfTrackRef.trackerExpectedHitsInner.numberOfLostHits<2 & "\
89 "gsfElectronRef.pfIsolationVariables().chargedHadronIso + "\
90 "gsfElectronRef.pfIsolationVariables().neutralHadronIso + "\
91 "gsfElectronRef.pfIsolationVariables().photonIso "\
94 makeClones = cms.bool(
True)
98 pfNoElectron.topCollection =
'pfIsolatedElectronsEI'
99 pfNoElectron.bottomCollection =
'pfNoMuon'
101 pfNoElectronJME.topCollection =
'pfIsolatedElectronsEI'
102 pfNoElectronJME.bottomCollection =
'pfNoMuonJME'
107 pfJetsEI = pfJets.clone()
108 pfJetsPtrsEI = pfJetsPtrs.clone(src=cms.InputTag(
"pfJetsEI"))
110 pfJetSequenceEI = cms.Sequence( pfJetsEI+ pfJetsPtrsEI )
112 pfNoJetEI = pfNoJet.clone(
113 topCollection =
'pfJetsPtrsEI',
114 bottomCollection =
'pfNoElectronJME'
118 pfTausEI = pfTaus.clone()
119 pfTausPtrsEI = pfTausPtrs.clone(src=cms.InputTag(
"pfTausEI") )
120 pfNoTauEI = pfNoTau.clone(
121 topCollection = cms.InputTag(
'pfTausPtrsEI'),
122 bottomCollection = cms.InputTag(
'pfJetsPtrsEI')
125 pfTauEISequence = cms.Sequence(
133 pfJetTrackAssociatorEI = ak5JetTracksAssociatorAtVertex.clone (
134 src = cms.InputTag(
"pfJetsEI")
136 impactParameterTagInfosEI = impactParameterTagInfos.clone(
137 jetTracks = cms.InputTag(
'pfJetTrackAssociatorEI' )
139 secondaryVertexTagInfosEI = secondaryVertexTagInfos.clone(
140 trackIPTagInfos = cms.InputTag(
'impactParameterTagInfosEI' )
142 combinedSecondaryVertexBJetTagsEI = combinedSecondaryVertexBJetTags.clone(
143 tagInfos = cms.VInputTag(cms.InputTag(
"impactParameterTagInfosEI"),
144 cms.InputTag(
"secondaryVertexTagInfosEI"))
150 pfMetEI = pfMET.clone(jets=cms.InputTag(
"pfJetsEI"))
153 EIsequence = cms.Sequence(
159 pfMuonsFromVertexEI +
164 pfElectronsFromVertexEI +
165 pfIsolatedElectronsEI +
173 pfJetTrackAssociatorEI+
174 impactParameterTagInfosEI+
175 secondaryVertexTagInfosEI+
176 combinedSecondaryVertexBJetTagsEI