Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:24:55

0001 import FWCore.ParameterSet.Config as cms
0002 import PhysicsTools.IsolationAlgos.CITKPFIsolationSumProducerForPUPPI_cfi as _mod
0003 
0004 IsoConeDefinitions = cms.VPSet(
0005         cms.PSet( isolationAlgo = cms.string('ElectronPFIsolationWithConeVeto'), 
0006                   coneSize = cms.double(0.3),
0007                   VetoConeSizeBarrel = cms.double(0.0),
0008                   VetoConeSizeEndcaps = cms.double(0.015),
0009                   isolateAgainst = cms.string('h+'),
0010                   miniAODVertexCodes = cms.vuint32(2,3) ),
0011         cms.PSet( isolationAlgo = cms.string('ElectronPFIsolationWithConeVeto'), 
0012                   coneSize = cms.double(0.3),
0013                   VetoConeSizeBarrel = cms.double(0.0),
0014                   VetoConeSizeEndcaps = cms.double(0.0),
0015                   isolateAgainst = cms.string('h0'),
0016                   miniAODVertexCodes = cms.vuint32(2,3) ),
0017         cms.PSet( isolationAlgo = cms.string('ElectronPFIsolationWithConeVeto'), 
0018                   coneSize = cms.double(0.3),
0019                   VetoConeSizeBarrel = cms.double(0.0),
0020                   VetoConeSizeEndcaps = cms.double(0.08),
0021                   isolateAgainst = cms.string('gamma'),
0022                   miniAODVertexCodes = cms.vuint32(2,3) )
0023         )
0024 
0025 egmElectronIsolationAODPUPPI = _mod.CITKPFIsolationSumProducerForPUPPI.clone(
0026                 srcToIsolate = "gedGsfElectrons",
0027                 srcForIsolationCone = '',
0028                 isolationConeDefinitions = IsoConeDefinitions
0029 )
0030 
0031 egmElectronIsolationMiniAODPUPPI = _mod.CITKPFIsolationSumProducerForPUPPI.clone(
0032                 srcToIsolate = "slimmedElectrons",
0033                 srcForIsolationCone = 'packedPFCandidates',
0034                 puppiValueMap = '',
0035                 isolationConeDefinitions = IsoConeDefinitions
0036 )
0037 
0038 egmElectronIsolationMiniAODPUPPINoLeptons = _mod.CITKPFIsolationSumProducerForPUPPI.clone(
0039                 srcToIsolate = "slimmedElectrons",
0040                 srcForIsolationCone = 'packedPFCandidates',
0041                 puppiValueMap = '',
0042                 usePUPPINoLepton = True,
0043                 isolationConeDefinitions = IsoConeDefinitions
0044 )