89 process.load(
"RecoEgamma.EgammaTools.egammaGainSwitchFixForPAT_cff")
90 process.load(
"RecoParticleFlow.PFProducer.pfGSFixLinkerForPAT_cff")
91 process.load(
"RecoEgamma.EgammaIsolationAlgos.pfClusterIsolationRemapForPAT_cff")
92 process.load(
"RecoEgamma.ElectronIdentification.idExternalRemapForPAT_cff")
93 process.load(
"RecoEgamma.EgammaTools.egammaGainSwitchFlag_cff")
99 [
'keep *_reducedEgammaBeforeGSFix_*_*',
100 'keep *_slimmedElectronsBeforeGSFix_*_*',
101 'keep *_slimmedPhotonsBeforeGSFix_*_*',
102 'keep EBDigiCollection_selectDigi_*_*',
103 'keep EEDigiCollection_selectDigi_*_*',
104 'drop *_reducedEgammaBeforeGSFix_reducedGedGsfElectrons_*',
105 'drop *_reducedEgammaBeforeGSFix_reducedGedPhotons_*',
106 'keep *_ecalMultiAndGSGlobalRecHitEB_hitsNotReplaced_*',
107 'keep *_particleFlowEGammaGSFixed_dupECALClusters_*',
108 'keep *_particleFlowEGammaGSFixed_dupESClusters_*',
110 process.reducedEgamma.gsfElectrons = cms.InputTag(
"gedGsfElectronsGSFixed")
111 process.reducedEgamma.gsfElectronsPFValMap = cms.InputTag(
"particleBasedIsolationGSFixed",
"gedGsfElectrons")
112 process.reducedEgamma.gsfElectronPFClusterIsoSources = cms.VInputTag(
113 cms.InputTag(
"electronEcalPFClusterIsolationProducerGSFixed"),
114 cms.InputTag(
"electronHcalPFClusterIsolationProducerGSFixed"),
116 process.reducedEgamma.gsfElectronIDSources = cms.VInputTag(
117 cms.InputTag(
"eidLooseGSFixed"),
118 cms.InputTag(
"eidRobustHighEnergyGSFixed"),
119 cms.InputTag(
"eidRobustLooseGSFixed"),
120 cms.InputTag(
"eidRobustTightGSFixed"),
121 cms.InputTag(
"eidTightGSFixed"),
123 process.reducedEgamma.photons = cms.InputTag(
"gedPhotonsGSFixed")
124 process.reducedEgamma.conversions = cms.InputTag(
"allConversions", processName=cms.InputTag.skipCurrentProcess())
125 process.reducedEgamma.singleConversions = cms.InputTag(
"particleFlowEGamma", processName=cms.InputTag.skipCurrentProcess())
126 process.reducedEgamma.photonsPFValMap = cms.InputTag(
"particleBasedIsolationGSFixed",
"gedPhotons")
127 process.reducedEgamma.photonPFClusterIsoSources = cms.VInputTag(
128 cms.InputTag(
"photonEcalPFClusterIsolationProducerGSFixed"),
129 cms.InputTag(
"photonHcalPFClusterIsolationProducerGSFixed"),
131 process.reducedEgamma.photonIDSources = cms.VInputTag(
132 cms.InputTag(
"PhotonCutBasedIDLooseGSFixed"),
133 cms.InputTag(
"PhotonCutBasedIDLooseEMGSFixed"),
134 cms.InputTag(
"PhotonCutBasedIDTightGSFixed")
136 process.reducedEgamma.barrelEcalHits = cms.InputTag(
"ecalMultiAndGSGlobalRecHitEB")
137 process.reducedEgamma.endcapEcalHits = cms.InputTag(
"reducedEcalRecHitsEE")
138 process.reducedEgamma.preshowerEcalHits = cms.InputTag(
"reducedEcalRecHitsES")
140 for modification
in process.slimmedPhotons.modifierConfig.modifications:
141 if modification.modifierName !=
'EGExtraInfoModifierFromIntValueMaps':
continue
142 modification.photon_config.hasGainSwitchFlag = cms.InputTag(
'PhotonGainSwitchFlagProducer:hasGainSwitchFlag')
143 for modification
in process.slimmedElectrons.modifierConfig.modifications:
144 if modification.modifierName !=
'EGExtraInfoModifierFromIntValueMaps':
continue
145 modification.electron_config.hasGainSwitchFlag = cms.InputTag(
'ElectronGainSwitchFlagProducer:hasGainSwitchFlag')