CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
muonIsolationPUPPI_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('MuonPFIsolationWithConeVeto'),
6  coneSize = cms.double(0.4),
7  VetoThreshold = cms.double(0.0),
8  VetoConeSize = cms.double(0.0001),# VetoConeSize is deltaR^2
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),# VetoConeSize is deltaR^2
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),# VetoConeSize is deltaR^2
21  isolateAgainst = cms.string('gamma'),
22  miniAODVertexCodes = cms.vuint32(2,3) ),
23 )
24 
25 muonIsolationAODPUPPI = _mod.CITKPFIsolationSumProducerForPUPPI.clone(
26  srcToIsolate = "muons",
27  srcForIsolationCone = '',
28  isolationConeDefinitions = IsoConeDefinitions
29 )
30 
31 muonIsolationMiniAODPUPPI = _mod.CITKPFIsolationSumProducerForPUPPI.clone(
32  srcToIsolate = "slimmedMuons",
33  srcForIsolationCone = 'packedPFCandidates',
34  puppiValueMap = '',
35  isolationConeDefinitions = IsoConeDefinitions
36 )
37 
38 muonIsolationMiniAODPUPPINoLeptons = _mod.CITKPFIsolationSumProducerForPUPPI.clone(
39  srcToIsolate = "slimmedMuons",
40  srcForIsolationCone = 'packedPFCandidates',
41  puppiValueMap = '',
42  usePUPPINoLepton = True,
43  isolationConeDefinitions = IsoConeDefinitions
44 )