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.
2 
3 ##------------------ IMPORT THE SERVICES ----------------------
5 
6 ##------------------ DEFINE THE PRODUCER MODULES --------------
7 
8 ##------------------ CALO JETS ---------------------------------
9 ak5CaloJetsL2L3 = cms.EDProducer('CaloJetCorrectionProducer',
10  src = cms.InputTag('ak5CaloJets'),
11  correctors = cms.vstring('ak5CaloL2L3')
12  )
13 
14 ak7CaloJetsL2L3 = ak5CaloJetsL2L3.clone(src = 'ak7CaloJets', correctors = ['ak7CaloL2L3'])
15 kt4CaloJetsL2L3 = ak5CaloJetsL2L3.clone(src = 'kt4CaloJets', correctors = ['kt4CaloL2L3'])
16 kt6CaloJetsL2L3 = ak5CaloJetsL2L3.clone(src = 'kt6CaloJets', correctors = ['kt6CaloL2L3'])
17 ic5CaloJetsL2L3 = ak5CaloJetsL2L3.clone(src = 'iterativeCone5CaloJets', correctors = ['ic5CaloL2L3'])
18 
19 ak5CaloJetsL2L3Residual = ak5CaloJetsL2L3.clone(src = 'ak5CaloJets', correctors = ['ak5CaloL2L3Residual'])
20 ak7CaloJetsL2L3Residual = ak5CaloJetsL2L3.clone(src = 'ak7CaloJets', correctors = ['ak7CaloL2L3Residual'])
21 kt4CaloJetsL2L3Residual = ak5CaloJetsL2L3.clone(src = 'kt4CaloJets', correctors = ['kt4CaloL2L3Residual'])
22 kt6CaloJetsL2L3Residual = ak5CaloJetsL2L3.clone(src = 'kt6CaloJets', correctors = ['kt6CaloL2L3Residual'])
23 ic5CaloJetsL2L3Residual = ak5CaloJetsL2L3.clone(src = 'iterativeCone5CaloJets', correctors = ['ic5CaloL2L3Residual'])
24 
25 ak5CaloJetsL1L2L3 = ak5CaloJetsL2L3.clone(src = 'ak5CaloJets', correctors = ['ak5CaloL1L2L3'])
26 ak7CaloJetsL1L2L3 = ak5CaloJetsL2L3.clone(src = 'ak7CaloJets', correctors = ['ak7CaloL1L2L3'])
27 kt4CaloJetsL1L2L3 = ak5CaloJetsL2L3.clone(src = 'kt4CaloJets', correctors = ['kt4CaloL1L2L3'])
28 kt6CaloJetsL1L2L3 = ak5CaloJetsL2L3.clone(src = 'kt6CaloJets', correctors = ['kt6CaloL1L2L3'])
29 ic5CaloJetsL1L2L3 = ak5CaloJetsL2L3.clone(src = 'iterativeCone5CaloJets', correctors = ['ic5CaloL1L2L3'])
30 
31 ak5CaloJetsL1FastL2L3 = ak5CaloJetsL2L3.clone(src = 'ak5CaloJets', correctors = ['ak5CaloL1FastL2L3'])
32 ak7CaloJetsL1FastL2L3 = ak5CaloJetsL2L3.clone(src = 'ak7CaloJets', correctors = ['ak7CaloL1FastL2L3'])
33 kt4CaloJetsL1FastL2L3 = ak5CaloJetsL2L3.clone(src = 'kt4CaloJets', correctors = ['kt4CaloL1FastL2L3'])
34 kt6CaloJetsL1FastL2L3 = ak5CaloJetsL2L3.clone(src = 'kt6CaloJets', correctors = ['kt6CaloL1FastL2L3'])
35 ic5CaloJetsL1FastL2L3 = ak5CaloJetsL2L3.clone(src = 'iterativeCone5CaloJets', correctors = ['ic5CaloL1FastL2L3'])
36 
37 ak5CaloJetsL1L2L3Residual = ak5CaloJetsL2L3.clone(src = 'ak5CaloJets', correctors = ['ak5CaloL1L2L3Residual'])
38 ak7CaloJetsL1L2L3Residual = ak5CaloJetsL2L3.clone(src = 'ak7CaloJets', correctors = ['ak7CaloL1L2L3Residual'])
39 kt4CaloJetsL1L2L3Residual = ak5CaloJetsL2L3.clone(src = 'kt4CaloJets', correctors = ['kt4CaloL1L2L3Residual'])
40 kt6CaloJetsL1L2L3Residual = ak5CaloJetsL2L3.clone(src = 'kt6CaloJets', correctors = ['kt6CaloL1L2L3Residual'])
41 ic5CaloJetsL1L2L3Residual = ak5CaloJetsL2L3.clone(src = 'iterativeCone5CaloJets', correctors = ['ic5CaloL1L2L3Residual'])
42 
43 ak5CaloJetsL1FastL2L3Residual = ak5CaloJetsL2L3.clone(src = 'ak5CaloJets', correctors = ['ak5CaloL1FastL2L3Residual'])
44 ak7CaloJetsL1FastL2L3Residual = ak5CaloJetsL2L3.clone(src = 'ak7CaloJets', correctors = ['ak7CaloL1FastL2L3Residual'])
45 kt4CaloJetsL1FastL2L3Residual = ak5CaloJetsL2L3.clone(src = 'kt4CaloJets', correctors = ['kt4CaloL1FastL2L3Residual'])
46 kt6CaloJetsL1FastL2L3Residual = ak5CaloJetsL2L3.clone(src = 'kt6CaloJets', correctors = ['kt6CaloL1FastL2L3Residual'])
47 ic5CaloJetsL1FastL2L3Residual = ak5CaloJetsL2L3.clone(src = 'iterativeCone5CaloJets', correctors = ['ic5CaloL1FastL2L3Residual'])
48 
49 ##------------------ PF JETS -----------------------------------
50 ak5PFJetsL2L3 = cms.EDProducer('PFJetCorrectionProducer',
51  src = cms.InputTag('ak5PFJets'),
52  correctors = cms.vstring('ak5PFL2L3')
53  )
54 
55 ak7PFJetsL2L3 = ak5PFJetsL2L3.clone(src = 'ak7PFJets', correctors = ['ak7PFL2L3'])
56 kt4PFJetsL2L3 = ak5PFJetsL2L3.clone(src = 'kt4PFJets', correctors = ['kt4PFL2L3'])
57 kt6PFJetsL2L3 = ak5PFJetsL2L3.clone(src = 'kt6PFJets', correctors = ['kt6PFL2L3'])
58 ic5PFJetsL2L3 = ak5PFJetsL2L3.clone(src = 'iterativeCone5PFJets', correctors = ['ic5PFL2L3'])
59 
60 ak5PFJetsL2L3Residual = ak5PFJetsL2L3.clone(src = 'ak5PFJets', correctors = ['ak5PFL2L3Residual'])
61 ak7PFJetsL2L3Residual = ak5PFJetsL2L3.clone(src = 'ak7PFJets', correctors = ['ak7PFL2L3Residual'])
62 kt4PFJetsL2L3Residual = ak5PFJetsL2L3.clone(src = 'kt4PFJets', correctors = ['kt4PFL2L3Residual'])
63 kt6PFJetsL2L3Residual = ak5PFJetsL2L3.clone(src = 'kt6PFJets', correctors = ['kt6PFL2L3Residual'])
64 ic5PFJetsL2L3Residual = ak5PFJetsL2L3.clone(src = 'iterativeCone5PFJets', correctors = ['ic5PFL2L3Residual'])
65 
66 ak5PFJetsL1L2L3 = ak5PFJetsL2L3.clone(src = 'ak5PFJets', correctors = ['ak5PFL1L2L3'])
67 ak7PFJetsL1L2L3 = ak5PFJetsL2L3.clone(src = 'ak7PFJets', correctors = ['ak7PFL1L2L3'])
68 kt4PFJetsL1L2L3 = ak5PFJetsL2L3.clone(src = 'kt4PFJets', correctors = ['kt4PFL1L2L3'])
69 kt6PFJetsL1L2L3 = ak5PFJetsL2L3.clone(src = 'kt6PFJets', correctors = ['kt6PFL1L2L3'])
70 ic5PFJetsL1L2L3 = ak5PFJetsL2L3.clone(src = 'iterativeCone5PFJets', correctors = ['ic5PFL1L2L3'])
71 
72 ak5PFJetsL1FastL2L3 = ak5PFJetsL2L3.clone(src = 'ak5PFJets', correctors = ['ak5PFL1FastL2L3'])
73 ak7PFJetsL1FastL2L3 = ak5PFJetsL2L3.clone(src = 'ak7PFJets', correctors = ['ak7PFL1FastL2L3'])
74 kt4PFJetsL1FastL2L3 = ak5PFJetsL2L3.clone(src = 'kt4PFJets', correctors = ['kt4PFL1FastL2L3'])
75 kt6PFJetsL1FastL2L3 = ak5PFJetsL2L3.clone(src = 'kt6PFJets', correctors = ['kt6PFL1FastL2L3'])
76 ic5PFJetsL1FastL2L3 = ak5PFJetsL2L3.clone(src = 'iterativeCone5PFJets', correctors = ['ic5PFL1FastL2L3'])
77 
78 ak5PFJetsL1L2L3Residual = ak5PFJetsL2L3.clone(src = 'ak5PFJets', correctors = ['ak5PFL1L2L3Residual'])
79 ak7PFJetsL1L2L3Residual = ak5PFJetsL2L3.clone(src = 'ak7PFJets', correctors = ['ak7PFL1L2L3Residual'])
80 kt4PFJetsL1L2L3Residual = ak5PFJetsL2L3.clone(src = 'kt4PFJets', correctors = ['kt4PFL1L2L3Residual'])
81 kt6PFJetsL1L2L3Residual = ak5PFJetsL2L3.clone(src = 'kt6PFJets', correctors = ['kt6PFL1L2L3Residual'])
82 ic5PFJetsL1L2L3Residual = ak5PFJetsL2L3.clone(src = 'iterativeCone5PFJets', correctors = ['ic5PFL1L2L3Residual'])
83 
84 ak5PFJetsL1FastL2L3Residual = ak5PFJetsL2L3.clone(src = 'ak5PFJets', correctors = ['ak5PFL1FastL2L3Residual'])
85 ak7PFJetsL1FastL2L3Residual = ak5PFJetsL2L3.clone(src = 'ak7PFJets', correctors = ['ak7PFL1FastL2L3Residual'])
86 kt4PFJetsL1FastL2L3Residual = ak5PFJetsL2L3.clone(src = 'kt4PFJets', correctors = ['kt4PFL1FastL2L3Residual'])
87 kt6PFJetsL1FastL2L3Residual = ak5PFJetsL2L3.clone(src = 'kt6PFJets', correctors = ['kt6PFL1FastL2L3Residual'])
88 ic5PFJetsL1FastL2L3Residual = ak5PFJetsL2L3.clone(src = 'iterativeCone5PFJets', correctors = ['ic5PFL1FastL2L3Residual'])
89 
90 ##------------------ JPT JETS ----------------------------------
91 ak5JPTJetsL2L3 = cms.EDProducer('JPTJetCorrectionProducer',
92  src = cms.InputTag('JetPlusTrackZSPCorJetAntiKt5'),
93  correctors = cms.vstring('ak5JPTL2L3')
94  )
95 
96 ak5JPTJetsL1L2L3 = ak5JPTJetsL2L3.clone(correctors = ['ak5JPTL1L2L3'])
97 ak5JPTJetsL1FastL2L3 = ak5JPTJetsL2L3.clone(correctors = ['ak5JPTL1FastL2L3'])
98 ak5JPTJetsL2L3Residual = ak5JPTJetsL2L3.clone(correctors = ['ak5JPTL2L3Residual'])
99 ak5JPTJetsL1L2L3Residual = ak5JPTJetsL2L3.clone(correctors = ['ak5JPTL1L2L3Residual'])
100 ak5JPTJetsL1FastL2L3Residual = ak5JPTJetsL2L3.clone(correctors = ['ak5JPTL1FastL2L3Residual'])
101 
102 ##------------------ TRK JETS ----------------------------------
103 ak5TrackJetsL2L3 = cms.EDProducer('TrackJetCorrectionProducer',
104  src = cms.InputTag('ak5TrackJets'),
105  correctors = cms.vstring('ak5TrackL2L3')
106  )