CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
customRereco.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 def EcalRecal(process):
4  recalibElectronSrc = cms.InputTag("electronRecalibSCAssociator")
5  process.alCaIsolatedElectrons.srcLabels = cms.VInputTag( "electronRecalibSCAssociator")
6  process.alCaIsolatedElectrons.electronLabel = "electronRecalibSCAssociator"
7  process.alCaIsolatedElectrons.ebRecHitsLabel = cms.InputTag("ecalRecHit","EcalRecHitsEB")
8  process.alCaIsolatedElectrons.eeRecHitsLabel = cms.InputTag("ecalRecHit","EcalRecHitsEE")
9  process.alCaIsolatedElectrons.EESuperClusterCollection = process.reducedEcalRecHitsES.EndcapSuperClusterCollection
10 
11  process.selectedElectrons.src = cms.InputTag("electronRecalibSCAssociator")
12  process.PassingVetoId.src = recalibElectronSrc
13 # process.myEleCollection = cms.InputTag('electronRecalibSCAssociator')
14  return process