CMS 3D CMS Logo

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