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 =
"generalTracks" 21 photonIsolationHIProducerppGED = photonIsolationHIProducerpp.clone(
22 photonProducer =
"gedPhotons" 25 photonIsolationHIProducerppIsland = photonIsolationHIProducerpp.clone(
26 photonProducer =
"islandPhotons" 31 islandBasicClustersGED = islandBasicClusters.clone()
32 photonIsolationHITask = cms.Task(islandBasicClusters , photonIsolationHIProducerpp)
33 photonIsolationHITaskGED = cms.Task(islandBasicClustersGED , photonIsolationHIProducerppGED)
34 photonIsolationHITaskIsland = cms.Task(islandBasicClusters , photonIsolationHIProducerppIsland)