CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
egmElectronIsolationPUPPI_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 import PhysicsTools.IsolationAlgos.CITKPFIsolationSumProducerForPUPPI_cfi as _mod
3 
4 IsoConeDefinitions = cms.VPSet(
5  cms.PSet( isolationAlgo = cms.string('ElectronPFIsolationWithConeVeto'),
6  coneSize = cms.double(0.3),
7  VetoConeSizeBarrel = cms.double(0.0),
8  VetoConeSizeEndcaps = cms.double(0.015),
9  isolateAgainst = cms.string('h+'),
10  miniAODVertexCodes = cms.vuint32(2,3) ),
11  cms.PSet( isolationAlgo = cms.string('ElectronPFIsolationWithConeVeto'),
12  coneSize = cms.double(0.3),
13  VetoConeSizeBarrel = cms.double(0.0),
14  VetoConeSizeEndcaps = cms.double(0.0),
15  isolateAgainst = cms.string('h0'),
16  miniAODVertexCodes = cms.vuint32(2,3) ),
17  cms.PSet( isolationAlgo = cms.string('ElectronPFIsolationWithConeVeto'),
18  coneSize = cms.double(0.3),
19  VetoConeSizeBarrel = cms.double(0.0),
20  VetoConeSizeEndcaps = cms.double(0.08),
21  isolateAgainst = cms.string('gamma'),
22  miniAODVertexCodes = cms.vuint32(2,3) )
23  )
24 
25 egmElectronIsolationAODPUPPI = _mod.CITKPFIsolationSumProducerForPUPPI.clone(
26  srcToIsolate = "gedGsfElectrons",
27  srcForIsolationCone = '',
28  isolationConeDefinitions = IsoConeDefinitions
29 )
30 
31 egmElectronIsolationMiniAODPUPPI = _mod.CITKPFIsolationSumProducerForPUPPI.clone(
32  srcToIsolate = "slimmedElectrons",
33  srcForIsolationCone = 'packedPFCandidates',
34  puppiValueMap = '',
35  isolationConeDefinitions = IsoConeDefinitions
36 )
37 
38 egmElectronIsolationMiniAODPUPPINoLeptons = _mod.CITKPFIsolationSumProducerForPUPPI.clone(
39  srcToIsolate = "slimmedElectrons",
40  srcForIsolationCone = 'packedPFCandidates',
41  puppiValueMap = '',
42  usePUPPINoLepton = True,
43  isolationConeDefinitions = IsoConeDefinitions
44 )