1 import FWCore.ParameterSet.Config
as cms
2 import PhysicsTools.IsolationAlgos.CITKPFIsolationSumProducerForPUPPI_cfi
as _mod
4 IsoConeDefinitions = cms.VPSet(
5 cms.PSet( isolationAlgo = cms.string(
'MuonPFIsolationWithConeVeto'),
6 coneSize = cms.double(0.4),
7 VetoThreshold = cms.double(0.0),
8 VetoConeSize = cms.double(0.0001),
9 isolateAgainst = cms.string(
'h+'),
10 miniAODVertexCodes = cms.vuint32(2,3) ),
11 cms.PSet( isolationAlgo = cms.string(
'MuonPFIsolationWithConeVeto'),
12 coneSize = cms.double(0.4),
13 VetoThreshold = cms.double(0.0),
14 VetoConeSize = cms.double(0.01),
15 isolateAgainst = cms.string(
'h0'),
16 miniAODVertexCodes = cms.vuint32(2,3) ),
17 cms.PSet( isolationAlgo = cms.string(
'MuonPFIsolationWithConeVeto'),
18 coneSize = cms.double(0.4),
19 VetoThreshold = cms.double(0.0),
20 VetoConeSize = cms.double(0.01),
21 isolateAgainst = cms.string(
'gamma'),
22 miniAODVertexCodes = cms.vuint32(2,3) ),
25 muonIsolationAODPUPPI = _mod.CITKPFIsolationSumProducerForPUPPI.clone(
26 srcToIsolate =
"muons",
27 srcForIsolationCone =
'',
28 isolationConeDefinitions = IsoConeDefinitions
31 muonIsolationMiniAODPUPPI = _mod.CITKPFIsolationSumProducerForPUPPI.clone(
32 srcToIsolate =
"slimmedMuons",
33 srcForIsolationCone =
'packedPFCandidates',
35 isolationConeDefinitions = IsoConeDefinitions
38 muonIsolationMiniAODPUPPINoLeptons = _mod.CITKPFIsolationSumProducerForPUPPI.clone(
39 srcToIsolate =
"slimmedMuons",
40 srcForIsolationCone =
'packedPFCandidates',
42 usePUPPINoLepton =
True,
43 isolationConeDefinitions = IsoConeDefinitions