CMS 3D CMS Logo

METSignificanceParams_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 METSignificanceParams = cms.PSet(
4 
5  # jet resolutions
6  jetThreshold = cms.double(15),
7 
8  #jet-lepton matching dR
9  dRMatch = cms.double(0.4),
10 
11  # eta bins for jet resolution tuning
12  jeta = cms.vdouble(0.8, 1.3, 1.9, 2.5),
13 
14  # tuning parameters
15  #Run I, based on 53X / JME-13-003
16  #jpar = cms.vdouble(1.20,1.13,1.03,0.96,1.08),
17  #pjpar = cms.vdouble(-1.9,0.6383)
18  #Run II MC, based on 80X
19  jpar = cms.vdouble(1.39,1.26,1.21,1.23,1.28),
20  pjpar = cms.vdouble(-0.2586,0.6173),
21  useDeltaRforFootprint = cms.bool(False)
22  )
23 
24 METSignificanceParams_Data=cms.PSet(
25 
26  # jet resolutions
27  jetThreshold = cms.double(15),
28 
29  #jet-lepton matching dR
30  dRMatch = cms.double(0.4),
31 
32  # eta bins for jet resolution tuning
33  jeta = cms.vdouble(0.8, 1.3, 1.9, 2.5),
34 
35  # tuning parameters
36  #Run I, based on 53X / JME-13-003
37  #jpar = cms.vdouble(1.20,1.13,1.03,0.96,1.08),
38  #pjpar = cms.vdouble(-1.9,0.6383)
39  #Run II data, based on 80X
40  jpar = cms.vdouble(1.38,1.28,1.22,1.16,1.10),
41  pjpar = cms.vdouble(0.0033,0.5802),
42  useDeltaRforFootprint = cms.bool(False)
43  )
44 
45 from Configuration.ProcessModifiers.run2_miniAOD_UL_cff import run2_miniAOD_UL
46 from Configuration.Eras.Modifier_run2_nanoAOD_106Xv1_cff import run2_nanoAOD_106Xv1
47 (run2_miniAOD_UL|run2_nanoAOD_106Xv1).toModify(METSignificanceParams, useDeltaRforFootprint = True)
48 (run2_miniAOD_UL|run2_nanoAOD_106Xv1).toModify(METSignificanceParams_Data, useDeltaRforFootprint = True)