File indexing completed on 2024-04-06 11:58:38
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def EcalRecal(process):
0004 recalibElectronSrc = cms.InputTag("electronRecalibSCAssociator")
0005 process.alCaIsolatedElectrons.srcLabels = cms.VInputTag( "electronRecalibSCAssociator")
0006 process.alCaIsolatedElectrons.electronLabel = "electronRecalibSCAssociator"
0007 process.alCaIsolatedElectrons.ebRecHitsLabel = cms.InputTag("ecalRecHit","EcalRecHitsEB")
0008 process.alCaIsolatedElectrons.eeRecHitsLabel = cms.InputTag("ecalRecHit","EcalRecHitsEE")
0009 process.alCaIsolatedElectrons.EESuperClusterCollection = process.reducedEcalRecHitsES.EndcapSuperClusterCollection
0010
0011 process.selectedElectrons.src = cms.InputTag("electronRecalibSCAssociator")
0012 process.PassingVetoId.src = recalibElectronSrc
0013
0014 return process