CMS 3D CMS Logo

photonIsolationHIProducer_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
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")
15 )
16 
17 photonIsolationHIProducerpp = photonIsolationHIProducer.clone(
18  trackCollection = "generalTracks"
19 )
20 
21 photonIsolationHIProducerppGED = photonIsolationHIProducerpp.clone(
22  photonProducer = "gedPhotons"
23 )
24 
25 photonIsolationHIProducerppIsland = photonIsolationHIProducerpp.clone(
26  photonProducer = "islandPhotons"
27 )
28 
30 
31 islandBasicClustersGED = islandBasicClusters.clone()
32 photonIsolationHITask = cms.Task(islandBasicClusters , photonIsolationHIProducerpp)
33 photonIsolationHITaskGED = cms.Task(islandBasicClustersGED , photonIsolationHIProducerppGED)
34 photonIsolationHITaskIsland = cms.Task(islandBasicClusters , photonIsolationHIProducerppIsland)
islandBasicClusters_cfi