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")
25 photonIsolationHIProducerppIsland = photonIsolationHIProducerpp.clone(
26 photonProducer=cms.InputTag(
"islandPhotons")
31 islandBasicClustersGED = islandBasicClusters.clone()
32 photonIsolationHISequence = cms.Sequence(islandBasicClusters * photonIsolationHIProducerpp)
33 photonIsolationHISequenceGED = cms.Sequence(islandBasicClustersGED * photonIsolationHIProducerppGED)
34 photonIsolationHISequenceIsland = cms.Sequence(islandBasicClusters * photonIsolationHIProducerppIsland)