CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
egmPhotonIsolationMiniAOD_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 IsoConeDefinitions = cms.VPSet(cms.PSet( isolationAlgo = cms.string('PhotonPFIsolationWithMapBasedVeto'),
4  coneSize = cms.double(0.3),
5  isolateAgainst = cms.string('h+'),
6  miniAODVertexCodes = cms.vuint32(2,3),
7  vertexIndex = cms.int32(0),
8  ),
9  cms.PSet( isolationAlgo = cms.string('PhotonPFIsolationWithMapBasedVeto'),
10  coneSize = cms.double(0.3),
11  isolateAgainst = cms.string('h0'),
12  miniAODVertexCodes = cms.vuint32(2,3),
13  vertexIndex = cms.int32(0),
14  ),
15  cms.PSet( isolationAlgo = cms.string('PhotonPFIsolationWithMapBasedVeto'),
16  coneSize = cms.double(0.3),
17  isolateAgainst = cms.string('gamma'),
18  miniAODVertexCodes = cms.vuint32(2,3),
19  vertexIndex = cms.int32(0),
20  )
21  )
22 
23 egmPhotonIsolationMiniAOD = cms.EDProducer( "CITKPFIsolationSumProducer",
24  srcToIsolate = cms.InputTag("slimmedPhotons"),
25  srcForIsolationCone = cms.InputTag('packedPFCandidates'),
26  isolationConeDefinitions = IsoConeDefinitions
27  )