CMS 3D CMS Logo

muonIsolationPUPPI_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('MuonPFIsolationWithConeVeto'),
5  coneSize = cms.double(0.4),
6  VetoThreshold = cms.double(0.0),
7  VetoConeSize = cms.double(0.0001),# VetoConeSize is deltaR^2
8  isolateAgainst = cms.string('h+'),
9  miniAODVertexCodes = cms.vuint32(2,3) ),
10  cms.PSet( isolationAlgo = cms.string('MuonPFIsolationWithConeVeto'),
11  coneSize = cms.double(0.4),
12  VetoThreshold = cms.double(0.0),
13  VetoConeSize = cms.double(0.01),# VetoConeSize is deltaR^2
14  isolateAgainst = cms.string('h0'),
15  miniAODVertexCodes = cms.vuint32(2,3) ),
16  cms.PSet( isolationAlgo = cms.string('MuonPFIsolationWithConeVeto'),
17  coneSize = cms.double(0.4),
18  VetoThreshold = cms.double(0.0),
19  VetoConeSize = cms.double(0.01),# VetoConeSize is deltaR^2
20  isolateAgainst = cms.string('gamma'),
21  miniAODVertexCodes = cms.vuint32(2,3) ),
22 )
23 
24 muonIsolationAODPUPPI = cms.EDProducer( "CITKPFIsolationSumProducerForPUPPI",
25  srcToIsolate = cms.InputTag("muons"),
26  srcForIsolationCone = cms.InputTag(''),
27  isolationConeDefinitions = IsoConeDefinitions
28 )
29 
30 muonIsolationMiniAODPUPPI = cms.EDProducer( "CITKPFIsolationSumProducerForPUPPI",
31  srcToIsolate = cms.InputTag("slimmedMuons"),
32  srcForIsolationCone = cms.InputTag('packedPFCandidates'),
33  puppiValueMap = cms.InputTag(''),
34  isolationConeDefinitions = IsoConeDefinitions
35 )
36 
37 muonIsolationMiniAODPUPPINoLeptons = cms.EDProducer( "CITKPFIsolationSumProducerForPUPPI",
38  srcToIsolate = cms.InputTag("slimmedMuons"),
39  srcForIsolationCone = cms.InputTag('packedPFCandidates'),
40  puppiValueMap = cms.InputTag(''),
41  usePUPPINoLepton = cms.bool(True),
42  isolationConeDefinitions = IsoConeDefinitions
43 )