CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DefaultJEC_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 ##------------------ IMPORT THE SERVICES ----------------------
5 
6 ##------------------ DEFINE THE PRODUCER MODULES --------------
7 
8 ##------------------ CALO JETS ---------------------------------
9 ak4CaloJetsL2L3 = cms.EDProducer('CaloJetCorrectionProducer',
10  src = cms.InputTag('ak4CaloJets'),
11  correctors = cms.vstring('ak4CaloL2L3')
12  )
13 
14 ak7CaloJetsL2L3 = ak4CaloJetsL2L3.clone(src = 'ak7CaloJets', correctors = ['ak7CaloL2L3'])
15 kt4CaloJetsL2L3 = ak4CaloJetsL2L3.clone(src = 'kt4CaloJets', correctors = ['kt4CaloL2L3'])
16 kt6CaloJetsL2L3 = ak4CaloJetsL2L3.clone(src = 'kt6CaloJets', correctors = ['kt6CaloL2L3'])
17 ic5CaloJetsL2L3 = ak4CaloJetsL2L3.clone(src = 'iterativeCone5CaloJets', correctors = ['ic5CaloL2L3'])
18 
19 ak4CaloJetsL2L3Residual = ak4CaloJetsL2L3.clone(src = 'ak4CaloJets', correctors = ['ak4CaloL2L3Residual'])
20 ak7CaloJetsL2L3Residual = ak4CaloJetsL2L3.clone(src = 'ak7CaloJets', correctors = ['ak7CaloL2L3Residual'])
21 kt4CaloJetsL2L3Residual = ak4CaloJetsL2L3.clone(src = 'kt4CaloJets', correctors = ['kt4CaloL2L3Residual'])
22 kt6CaloJetsL2L3Residual = ak4CaloJetsL2L3.clone(src = 'kt6CaloJets', correctors = ['kt6CaloL2L3Residual'])
23 ic5CaloJetsL2L3Residual = ak4CaloJetsL2L3.clone(src = 'iterativeCone5CaloJets', correctors = ['ic5CaloL2L3Residual'])
24 
25 ak4CaloJetsL1L2L3 = ak4CaloJetsL2L3.clone(src = 'ak4CaloJets', correctors = ['ak4CaloL1L2L3'])
26 ak7CaloJetsL1L2L3 = ak4CaloJetsL2L3.clone(src = 'ak7CaloJets', correctors = ['ak7CaloL1L2L3'])
27 kt4CaloJetsL1L2L3 = ak4CaloJetsL2L3.clone(src = 'kt4CaloJets', correctors = ['kt4CaloL1L2L3'])
28 kt6CaloJetsL1L2L3 = ak4CaloJetsL2L3.clone(src = 'kt6CaloJets', correctors = ['kt6CaloL1L2L3'])
29 ic5CaloJetsL1L2L3 = ak4CaloJetsL2L3.clone(src = 'iterativeCone5CaloJets', correctors = ['ic5CaloL1L2L3'])
30 
31 ak4CaloJetsL1FastL2L3 = ak4CaloJetsL2L3.clone(src = 'ak4CaloJets', correctors = ['ak4CaloL1FastL2L3'])
32 ak7CaloJetsL1FastL2L3 = ak4CaloJetsL2L3.clone(src = 'ak7CaloJets', correctors = ['ak7CaloL1FastL2L3'])
33 kt4CaloJetsL1FastL2L3 = ak4CaloJetsL2L3.clone(src = 'kt4CaloJets', correctors = ['kt4CaloL1FastL2L3'])
34 kt6CaloJetsL1FastL2L3 = ak4CaloJetsL2L3.clone(src = 'kt6CaloJets', correctors = ['kt6CaloL1FastL2L3'])
35 ic5CaloJetsL1FastL2L3 = ak4CaloJetsL2L3.clone(src = 'iterativeCone5CaloJets', correctors = ['ic5CaloL1FastL2L3'])
36 
37 ak4CaloJetsL1L2L3Residual = ak4CaloJetsL2L3.clone(src = 'ak4CaloJets', correctors = ['ak4CaloL1L2L3Residual'])
38 ak7CaloJetsL1L2L3Residual = ak4CaloJetsL2L3.clone(src = 'ak7CaloJets', correctors = ['ak7CaloL1L2L3Residual'])
39 kt4CaloJetsL1L2L3Residual = ak4CaloJetsL2L3.clone(src = 'kt4CaloJets', correctors = ['kt4CaloL1L2L3Residual'])
40 kt6CaloJetsL1L2L3Residual = ak4CaloJetsL2L3.clone(src = 'kt6CaloJets', correctors = ['kt6CaloL1L2L3Residual'])
41 ic5CaloJetsL1L2L3Residual = ak4CaloJetsL2L3.clone(src = 'iterativeCone5CaloJets', correctors = ['ic5CaloL1L2L3Residual'])
42 
43 ak4CaloJetsL1FastL2L3Residual = ak4CaloJetsL2L3.clone(src = 'ak4CaloJets', correctors = ['ak4CaloL1FastL2L3Residual'])
44 ak7CaloJetsL1FastL2L3Residual = ak4CaloJetsL2L3.clone(src = 'ak7CaloJets', correctors = ['ak7CaloL1FastL2L3Residual'])
45 kt4CaloJetsL1FastL2L3Residual = ak4CaloJetsL2L3.clone(src = 'kt4CaloJets', correctors = ['kt4CaloL1FastL2L3Residual'])
46 kt6CaloJetsL1FastL2L3Residual = ak4CaloJetsL2L3.clone(src = 'kt6CaloJets', correctors = ['kt6CaloL1FastL2L3Residual'])
47 ic5CaloJetsL1FastL2L3Residual = ak4CaloJetsL2L3.clone(src = 'iterativeCone5CaloJets', correctors = ['ic5CaloL1FastL2L3Residual'])
48 
49 ##------------------ PF JETS -----------------------------------
50 ak4PFJetsL2L3 = cms.EDProducer('PFJetCorrectionProducer',
51  src = cms.InputTag('ak4PFJets'),
52  correctors = cms.vstring('ak4PFL2L3')
53  )
54 ak1PFJetsL2L3 = ak4PFJetsL2L3.clone(src = 'ak1PFJets', correctors = ['ak1PFL2L3'])
55 ak2PFJetsL2L3 = ak4PFJetsL2L3.clone(src = 'ak2PFJets', correctors = ['ak2PFL2L3'])
56 ak3PFJetsL2L3 = ak4PFJetsL2L3.clone(src = 'ak3PFJets', correctors = ['ak3PFL2L3'])
57 ak5PFJetsL2L3 = ak4PFJetsL2L3.clone(src = 'ak5PFJets', correctors = ['ak5PFL2L3'])
58 ak6PFJetsL2L3 = ak4PFJetsL2L3.clone(src = 'ak6PFJets', correctors = ['ak6PFL2L3'])
59 ak7PFJetsL2L3 = ak4PFJetsL2L3.clone(src = 'ak7PFJets', correctors = ['ak7PFL2L3'])
60 ak8PFJetsL2L3 = ak4PFJetsL2L3.clone(src = 'ak8PFJets', correctors = ['ak8PFL2L3'])
61 ak9PFJetsL2L3 = ak4PFJetsL2L3.clone(src = 'ak9PFJets', correctors = ['ak9PFL2L3'])
62 ak10PFJetsL2L3 = ak4PFJetsL2L3.clone(src = 'ak10PFJets', correctors = ['ak10PFL2L3'])
63 kt4PFJetsL2L3 = ak4PFJetsL2L3.clone(src = 'kt4PFJets', correctors = ['kt4PFL2L3'])
64 kt6PFJetsL2L3 = ak4PFJetsL2L3.clone(src = 'kt6PFJets', correctors = ['kt6PFL2L3'])
65 ic5PFJetsL2L3 = ak4PFJetsL2L3.clone(src = 'iterativeCone5PFJets', correctors = ['ic5PFL2L3'])
66 
67 ak1PFJetsL2L3Residual = ak4PFJetsL2L3.clone(src = 'ak1PFJets', correctors = ['ak1PFL2L3Residual'])
68 ak2PFJetsL2L3Residual = ak4PFJetsL2L3.clone(src = 'ak2PFJets', correctors = ['ak2PFL2L3Residual'])
69 ak3PFJetsL2L3Residual = ak4PFJetsL2L3.clone(src = 'ak3PFJets', correctors = ['ak3PFL2L3Residual'])
70 ak4PFJetsL2L3Residual = ak4PFJetsL2L3.clone(src = 'ak4PFJets', correctors = ['ak4PFL2L3Residual'])
71 ak5PFJetsL2L3Residual = ak4PFJetsL2L3.clone(src = 'ak5PFJets', correctors = ['ak5PFL2L3Residual'])
72 ak6PFJetsL2L3Residual = ak4PFJetsL2L3.clone(src = 'ak6PFJets', correctors = ['ak6PFL2L3Residual'])
73 ak7PFJetsL2L3Residual = ak4PFJetsL2L3.clone(src = 'ak7PFJets', correctors = ['ak7PFL2L3Residual'])
74 ak8PFJetsL2L3Residual = ak4PFJetsL2L3.clone(src = 'ak8PFJets', correctors = ['ak8PFL2L3Residual'])
75 ak9PFJetsL2L3Residual = ak4PFJetsL2L3.clone(src = 'ak9PFJets', correctors = ['ak9PFL2L3Residual'])
76 ak10PFJetsL2L3Residual = ak4PFJetsL2L3.clone(src = 'ak10PFJets', correctors = ['ak10PFL2L3Residual'])
77 kt4PFJetsL2L3Residual = ak4PFJetsL2L3.clone(src = 'kt4PFJets', correctors = ['kt4PFL2L3Residual'])
78 kt6PFJetsL2L3Residual = ak4PFJetsL2L3.clone(src = 'kt6PFJets', correctors = ['kt6PFL2L3Residual'])
79 ic5PFJetsL2L3Residual = ak4PFJetsL2L3.clone(src = 'iterativeCone5PFJets', correctors = ['ic5PFL2L3Residual'])
80 
81 ak1PFJetsL1L2L3 = ak4PFJetsL2L3.clone(src = 'ak1PFJets', correctors = ['ak1PFL1L2L3'])
82 ak2PFJetsL1L2L3 = ak4PFJetsL2L3.clone(src = 'ak2PFJets', correctors = ['ak2PFL1L2L3'])
83 ak3PFJetsL1L2L3 = ak4PFJetsL2L3.clone(src = 'ak3PFJets', correctors = ['ak3PFL1L2L3'])
84 ak4PFJetsL1L2L3 = ak4PFJetsL2L3.clone(src = 'ak4PFJets', correctors = ['ak4PFL1L2L3'])
85 ak5PFJetsL1L2L3 = ak4PFJetsL2L3.clone(src = 'ak5PFJets', correctors = ['ak5PFL1L2L3'])
86 ak6PFJetsL1L2L3 = ak4PFJetsL2L3.clone(src = 'ak6PFJets', correctors = ['ak6PFL1L2L3'])
87 ak7PFJetsL1L2L3 = ak4PFJetsL2L3.clone(src = 'ak7PFJets', correctors = ['ak7PFL1L2L3'])
88 ak8PFJetsL1L2L3 = ak4PFJetsL2L3.clone(src = 'ak8PFJets', correctors = ['ak8PFL1L2L3'])
89 ak9PFJetsL1L2L3 = ak4PFJetsL2L3.clone(src = 'ak9PFJets', correctors = ['ak9PFL1L2L3'])
90 ak10PFJetsL1L2L3 = ak4PFJetsL2L3.clone(src = 'ak10PFJets', correctors = ['ak10PFL1L2L3'])
91 kt4PFJetsL1L2L3 = ak4PFJetsL2L3.clone(src = 'kt4PFJets', correctors = ['kt4PFL1L2L3'])
92 kt6PFJetsL1L2L3 = ak4PFJetsL2L3.clone(src = 'kt6PFJets', correctors = ['kt6PFL1L2L3'])
93 ic5PFJetsL1L2L3 = ak4PFJetsL2L3.clone(src = 'iterativeCone5PFJets', correctors = ['ic5PFL1L2L3'])
94 
95 ak1PFJetsL1FastL2L3 = ak4PFJetsL2L3.clone(src = 'ak1PFJets', correctors = ['ak1PFL1FastL2L3'])
96 ak2PFJetsL1FastL2L3 = ak4PFJetsL2L3.clone(src = 'ak2PFJets', correctors = ['ak2PFL1FastL2L3'])
97 ak3PFJetsL1FastL2L3 = ak4PFJetsL2L3.clone(src = 'ak3PFJets', correctors = ['ak3PFL1FastL2L3'])
98 ak4PFJetsL1FastL2L3 = ak4PFJetsL2L3.clone(src = 'ak4PFJets', correctors = ['ak4PFL1FastL2L3'])
99 ak5PFJetsL1FastL2L3 = ak4PFJetsL2L3.clone(src = 'ak5PFJets', correctors = ['ak5PFL1FastL2L3'])
100 ak6PFJetsL1FastL2L3 = ak4PFJetsL2L3.clone(src = 'ak6PFJets', correctors = ['ak6PFL1FastL2L3'])
101 ak7PFJetsL1FastL2L3 = ak4PFJetsL2L3.clone(src = 'ak7PFJets', correctors = ['ak7PFL1FastL2L3'])
102 ak8PFJetsL1FastL2L3 = ak4PFJetsL2L3.clone(src = 'ak8PFJets', correctors = ['ak8PFL1FastL2L3'])
103 ak9PFJetsL1FastL2L3 = ak4PFJetsL2L3.clone(src = 'ak9PFJets', correctors = ['ak9PFL1FastL2L3'])
104 ak10PFJetsL1FastL2L3 = ak4PFJetsL2L3.clone(src = 'ak10PFJets', correctors = ['ak10PFL1FastL2L3'])
105 
106 kt4PFJetsL1FastL2L3 = ak4PFJetsL2L3.clone(src = 'kt4PFJets', correctors = ['kt4PFL1FastL2L3'])
107 kt6PFJetsL1FastL2L3 = ak4PFJetsL2L3.clone(src = 'kt6PFJets', correctors = ['kt6PFL1FastL2L3'])
108 ic5PFJetsL1FastL2L3 = ak4PFJetsL2L3.clone(src = 'iterativeCone5PFJets', correctors = ['ic5PFL1FastL2L3'])
109 
110 ak1PFJetsL1L2L3Residual = ak4PFJetsL2L3.clone(src = 'ak1PFJets', correctors = ['ak1PFL1L2L3Residual'])
111 ak2PFJetsL1L2L3Residual = ak4PFJetsL2L3.clone(src = 'ak2PFJets', correctors = ['ak2PFL1L2L3Residual'])
112 ak3PFJetsL1L2L3Residual = ak4PFJetsL2L3.clone(src = 'ak3PFJets', correctors = ['ak3PFL1L2L3Residual'])
113 ak4PFJetsL1L2L3Residual = ak4PFJetsL2L3.clone(src = 'ak4PFJets', correctors = ['ak4PFL1L2L3Residual'])
114 ak5PFJetsL1L2L3Residual = ak4PFJetsL2L3.clone(src = 'ak5PFJets', correctors = ['ak5PFL1L2L3Residual'])
115 ak6PFJetsL1L2L3Residual = ak4PFJetsL2L3.clone(src = 'ak6PFJets', correctors = ['ak6PFL1L2L3Residual'])
116 ak7PFJetsL1L2L3Residual = ak4PFJetsL2L3.clone(src = 'ak7PFJets', correctors = ['ak7PFL1L2L3Residual'])
117 ak8PFJetsL1L2L3Residual = ak4PFJetsL2L3.clone(src = 'ak8PFJets', correctors = ['ak8PFL1L2L3Residual'])
118 ak9PFJetsL1L2L3Residual = ak4PFJetsL2L3.clone(src = 'ak9PFJets', correctors = ['ak9PFL1L2L3Residual'])
119 ak10PFJetsL1L2L3Residual = ak4PFJetsL2L3.clone(src = 'ak10PFJets', correctors = ['ak10PFL1L2L3Residual'])
120 
121 kt4PFJetsL1L2L3Residual = ak4PFJetsL2L3.clone(src = 'kt4PFJets', correctors = ['kt4PFL1L2L3Residual'])
122 kt6PFJetsL1L2L3Residual = ak4PFJetsL2L3.clone(src = 'kt6PFJets', correctors = ['kt6PFL1L2L3Residual'])
123 ic5PFJetsL1L2L3Residual = ak4PFJetsL2L3.clone(src = 'iterativeCone5PFJets', correctors = ['ic5PFL1L2L3Residual'])
124 
125 ak1PFJetsL1FastL2L3Residual = ak4PFJetsL2L3.clone(src = 'ak1PFJets', correctors = ['ak1PFL1FastL2L3Residual'])
126 ak2PFJetsL1FastL2L3Residual = ak4PFJetsL2L3.clone(src = 'ak2PFJets', correctors = ['ak2PFL1FastL2L3Residual'])
127 ak3PFJetsL1FastL2L3Residual = ak4PFJetsL2L3.clone(src = 'ak3PFJets', correctors = ['ak3PFL1FastL2L3Residual'])
128 ak4PFJetsL1FastL2L3Residual = ak4PFJetsL2L3.clone(src = 'ak4PFJets', correctors = ['ak4PFL1FastL2L3Residual'])
129 ak5PFJetsL1FastL2L3Residual = ak4PFJetsL2L3.clone(src = 'ak5PFJets', correctors = ['ak5PFL1FastL2L3Residual'])
130 ak6PFJetsL1FastL2L3Residual = ak4PFJetsL2L3.clone(src = 'ak6PFJets', correctors = ['ak6PFL1FastL2L3Residual'])
131 ak7PFJetsL1FastL2L3Residual = ak4PFJetsL2L3.clone(src = 'ak7PFJets', correctors = ['ak7PFL1FastL2L3Residual'])
132 ak8PFJetsL1FastL2L3Residual = ak4PFJetsL2L3.clone(src = 'ak8PFJets', correctors = ['ak8PFL1FastL2L3Residual'])
133 ak9PFJetsL1FastL2L3Residual = ak4PFJetsL2L3.clone(src = 'ak9PFJets', correctors = ['ak9PFL1FastL2L3Residual'])
134 ak10PFJetsL1FastL2L3Residual = ak4PFJetsL2L3.clone(src = 'ak10PFJets', correctors = ['ak10PFL1FastL2L3Residual'])
135 
136 kt4PFJetsL1FastL2L3Residual = ak4PFJetsL2L3.clone(src = 'kt4PFJets', correctors = ['kt4PFL1FastL2L3Residual'])
137 kt6PFJetsL1FastL2L3Residual = ak4PFJetsL2L3.clone(src = 'kt6PFJets', correctors = ['kt6PFL1FastL2L3Residual'])
138 ic5PFJetsL1FastL2L3Residual = ak4PFJetsL2L3.clone(src = 'iterativeCone5PFJets', correctors = ['ic5PFL1FastL2L3Residual'])
139 
140 ##------------------ JPT JETS ----------------------------------
141 ak4JPTJetsL2L3 = cms.EDProducer('JPTJetCorrectionProducer',
142  src = cms.InputTag('JetPlusTrackZSPCorJetAntiKt4'),
143  correctors = cms.vstring('ak4JPTL2L3')
144  )
145 
146 ak4JPTJetsL1L2L3 = ak4JPTJetsL2L3.clone(correctors = ['ak4JPTL1L2L3'])
147 ak4JPTJetsL1FastL2L3 = ak4JPTJetsL2L3.clone(correctors = ['ak4JPTL1FastL2L3'])
148 ak4JPTJetsL2L3Residual = ak4JPTJetsL2L3.clone(correctors = ['ak4JPTL2L3Residual'])
149 ak4JPTJetsL1L2L3Residual = ak4JPTJetsL2L3.clone(correctors = ['ak4JPTL1L2L3Residual'])
150 ak4JPTJetsL1FastL2L3Residual = ak4JPTJetsL2L3.clone(correctors = ['ak4JPTL1FastL2L3Residual'])
151 
152 ##------------------ TRK JETS ----------------------------------
153 ak4TrackJetsL2L3 = cms.EDProducer('TrackJetCorrectionProducer',
154  src = cms.InputTag('ak4TrackJets'),
155  correctors = cms.vstring('ak4TrackL2L3')
156  )