1 import FWCore.ParameterSet.Config
as cms
3 photonIsolationHIProducer = cms.EDProducer(
4 "photonIsolationHIProducer",
5 photonProducer = cms.InputTag(
"photons"),
6 ebRecHitCollection = cms.InputTag(
"ecalRecHit:EcalRecHitsEB"),
7 eeRecHitCollection = cms.InputTag(
"ecalRecHit:EcalRecHitsEE"),
8 hbhe = cms.InputTag(
"hbhereco"),
9 hf = cms.InputTag(
"hfreco"),
10 ho = cms.InputTag(
"horeco"),
11 basicClusterBarrel = cms.InputTag(
"islandBasicClusters:islandBarrelBasicClusters"),
12 basicClusterEndcap = cms.InputTag(
"islandBasicClusters:islandEndcapBasicClusters"),
13 trackCollection = cms.InputTag(
"hiGeneralTracks"),
14 trackQuality = cms.string(
"highPurity")
17 photonIsolationHIProducerpp = photonIsolationHIProducer.clone(
18 trackCollection = cms.InputTag(
"generalTracks")
21 photonIsolationHIProducerppGED = photonIsolationHIProducerpp.clone(
22 photonProducer=cms.InputTag(
"gedPhotons")
27 islandBasicClustersGED = islandBasicClusters.clone()
28 photonIsolationHISequence = cms.Sequence(islandBasicClusters * photonIsolationHIProducerpp)
29 photonIsolationHISequenceGED = cms.Sequence(islandBasicClustersGED * photonIsolationHIProducerppGED)