CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
JetValidation_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 ### kt6 PF jets - UnCorr
4 ###-------------------------------------------------------------------------------
5 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
6 #JetAnalyzerKt6PF = DQMEDAnalyzer('JetTester',
7 # JetType = cms.untracked.string('calo'),
8 # OutputFile = cms.untracked.string(''),
9 # src = cms.InputTag("kt6PFJets"),
10 # srcRho = cms.InputTag("fixedGridRhoFastjetAll"),
11 # srcGen = cms.InputTag("kt6GenJets"),
12 # JetCorrections = cms.string(""),
13 # recoJetPtThreshold = cms.double(40),
14 # genEnergyFractionThreshold = cms.double(0.05),
15 # matchGenPtThreshold = cms.double(20.0),
16 # RThreshold = cms.double(0.3)
17 # )
18 
19 ## kt6 Calo jets - UnCorr
20 ##-------------------------------------------------------------------------------
21 #JetAnalyzerKt6Calo = DQMEDAnalyzer('JetTester',
22 # JetType = cms.untracked.string('calo'),
23 # OutputFile = cms.untracked.string(''),
24 # src = cms.InputTag("kt6CaloJets"),
25 # srcRho = cms.InputTag("fixedGridRhoFastjetAllCalo"),
26 # srcGen = cms.InputTag("kt6GenJets"),
27 # JetCorrections = cms.string(""),
28 # recoJetPtThreshold = cms.double(40),
29 # genEnergyFractionThreshold = cms.double(0.05),
30 # matchGenPtThreshold = cms.double(20.0),
31 # RThreshold = cms.double(0.3)
32 # )
33 
34 # AntiKt5 Calo jets
35 #-------------------------------------------------------------------------------
36 JetAnalyzerAk4Calo = DQMEDAnalyzer('JetTester',
37  JetType = cms.untracked.string('calo'),
38  src = cms.InputTag("ak4CaloJets"),
39 # srcRho = cms.InputTag("rho", "ak4CaloJets"),
40  srcGen = cms.InputTag("ak4GenJetsNoNu"),
41  JetCorrections = cms.InputTag("newAk4CaloL2L3Corrector"),
42  primVertex = cms.InputTag("offlinePrimaryVertices"),
43  recoJetPtThreshold = cms.double(40),
44  matchGenPtThreshold = cms.double(20.0),
45  RThreshold = cms.double(0.3)
46  )
47 
48 ## AntiKt7 Calo jets
49 ##-------------------------------------------------------------------------------
50 #JetAnalyzerAk7Calo = DQMEDAnalyzer('JetTester',
51 # JetType = cms.untracked.string('calo'),
52 # OutputFile = cms.untracked.string(''),
53 # src = cms.InputTag("ak7CaloJets"),
54 # srcRho = cms.InputTag("ak7CaloJets","rho"),
55 # srcGen = cms.InputTag("ak7GenJets"),
56 # JetCorrections = cms.string("newAk7CaloL2L3"),
57 # recoJetPtThreshold = cms.double(40),
58 # genEnergyFractionThreshold = cms.double(0.05),
59 # matchGenPtThreshold = cms.double(20.0),
60 # RThreshold = cms.double(0.3)
61 # )
62 #
63 
64 # AntiKt5 PF jets
65 #-------------------------------------------------------------------------------
66 JetAnalyzerAk4PF = DQMEDAnalyzer('JetTester',
67  JetType = cms.untracked.string('pf'),
68  src = cms.InputTag("ak4PFJets"),
69 # srcRho = cms.InputTag("ak4PFJets","rho"),
70  srcGen = cms.InputTag("ak4GenJetsNoNu"),
71  JetCorrections = cms.InputTag("newAk4PFL1FastL2L3Corrector"),
72  primVertex = cms.InputTag("offlinePrimaryVertices"),
73  recoJetPtThreshold = cms.double(40),
74  matchGenPtThreshold = cms.double(20.0),
75  RThreshold = cms.double(0.3)
76  )
77 
78 # AntiKt5 JPT jets
79 #-------------------------------------------------------------------------------
80 #JetAnalyzerAk4JPT = DQMEDAnalyzer('JetTester',
81 # JetType = cms.untracked.string('jpt'),
82 # OutputFile = cms.untracked.string(''),
83 # src = cms.InputTag("JetPlusTrackZSPCorJetAntiKt4"),
84 ## srcRho = cms.InputTag("JetPlusTrackZSPCorJetAntiKt4","rho"),
85 # srcGen = cms.InputTag("ak4GenJetsNoNu"),
86 # JetCorrections = cms.string("newAk4JPTL1FastL2L3"),
87 # recoJetPtThreshold = cms.double(40),
88 # genEnergyFractionThreshold = cms.double(0.05),
89 # matchGenPtThreshold = cms.double(20.0),
90 # RThreshold = cms.double(0.3)
91 # )
92 # AntiKt5 PF CHS jets
93 #-------------------------------------------------------------------------------
94 JetAnalyzerAk4PFCHS = DQMEDAnalyzer('JetTester',
95  JetType = cms.untracked.string('pf'),
96  src = cms.InputTag("ak4PFJetsCHS"),
97 # srcRho = cms.InputTag("ak4PFJetsCHS","rho"),
98  srcGen = cms.InputTag("ak4GenJetsNoNu"),
99  JetCorrections = cms.InputTag("newAk4PFCHSL1FastL2L3Corrector"),
100  primVertex = cms.InputTag("offlinePrimaryVertices"),
101  recoJetPtThreshold = cms.double(40),
102  matchGenPtThreshold = cms.double(20.0),
103  RThreshold = cms.double(0.3)
104  )
105 ## AntiKt8 PF jets
106 ##-------------------------------------------------------------------------------
107 #JetAnalyzerAk8PF = DQMEDAnalyzer('JetTester',
108 # JetType = cms.untracked.string('pf'),
109 # OutputFile = cms.untracked.string(''),
110 # src = cms.InputTag("ak8PFJets"),
111 # srcRho = cms.InputTag("ak8PFJets","rho"),
112 ## srcGen = cms.InputTag("ak8GenJets"),
113 # srcGen = cms.InputTag(""),
114 # JetCorrections = cms.string("Ak8PFL1FastL2L3"),
115 # recoJetPtThreshold = cms.double(40),
116 # genEnergyFractionThreshold = cms.double(0.05),
117 # matchGenPtThreshold = cms.double(20.0),
118 # RThreshold = cms.double(0.3)
119 # )
120 ## AntiKt8 PF CHS jets
121 ##-------------------------------------------------------------------------------
122 #JetAnalyzerAk8PFCHS = DQMEDAnalyzer('JetTester',
123 # JetType = cms.untracked.string('pf'),
124 # OutputFile = cms.untracked.string(''),
125 # src = cms.InputTag("ak8PFJetsCHS"),
126 # srcRho = cms.InputTag("ak8PFJetsCHS","rho"),
127 ## srcGen = cms.InputTag("ak8GenJets"),
128 # srcGen = cms.InputTag(""),
129 # JetCorrections = cms.string("Ak8PFL1FastL2L3CHS"),
130 # recoJetPtThreshold = cms.double(40),
131 # genEnergyFractionThreshold = cms.double(0.05),
132 # matchGenPtThreshold = cms.double(20.0),
133 # RThreshold = cms.double(0.3)
134 # )
135 ## CA8 PF CHS jets
136 ##-------------------------------------------------------------------------------
137 #JetAnalyzerCA8PFCHS = DQMEDAnalyzer('JetTester',
138 # JetType = cms.untracked.string('pf'),
139 # OutputFile = cms.untracked.string(''),
140 # src = cms.InputTag("ca8PFJetsCHS"),
141 # srcRho = cms.InputTag("ca8PFJetsCHS","rho"),
142 ## srcGen = cms.InputTag("ca8GenJets"),
143 # srcGen = cms.InputTag(""),
144 # JetCorrections = cms.string("CA8PFL1FastL2L3CHS"),
145 # recoJetPtThreshold = cms.double(40),
146 # genEnergyFractionThreshold = cms.double(0.05),
147 # matchGenPtThreshold = cms.double(20.0),
148 # RThreshold = cms.double(0.3)
149 # )
150 JetAnalyzerAk4PFCHSMiniAOD = DQMEDAnalyzer('JetTester',
151  JetType = cms.untracked.string('miniaod'),
152  src = cms.InputTag("slimmedJets"),
153  srcGen = cms.InputTag("slimmedGenJets"),
154  JetCorrections = cms.InputTag(""),#not called for MiniAOD
155  primVertex = cms.InputTag("offlineSlimmedPrimaryVertices"),
156  recoJetPtThreshold = cms.double(40),
157  matchGenPtThreshold = cms.double(20.0),
158  RThreshold = cms.double(0.3)
159  )
160 
161 JetAnalyzerAk4PFPUPPIMiniAOD = DQMEDAnalyzer('JetTester',
162  JetType = cms.untracked.string('miniaod'),
163  src = cms.InputTag("slimmedJetsPuppi"),
164  srcGen = cms.InputTag("slimmedGenJets"),
165  JetCorrections = cms.InputTag(""),#not called for MiniAOD
166  primVertex = cms.InputTag("offlineSlimmedPrimaryVertices"),
167  recoJetPtThreshold = cms.double(40),
168  matchGenPtThreshold = cms.double(20.0),
169  RThreshold = cms.double(0.3)
170  )
171 
172 JetAnalyzerAk8PFPUPPIMiniAOD = DQMEDAnalyzer('JetTester',
173  JetType = cms.untracked.string('miniaod'),
174  src = cms.InputTag("slimmedJetsAK8"),
175  srcGen = cms.InputTag("slimmedGenJetsAK8"),
176  JetCorrections = cms.InputTag(""),#not called for MiniAOD
177  primVertex = cms.InputTag("offlineSlimmedPrimaryVertices"),
178  recoJetPtThreshold = cms.double(40),
179  matchGenPtThreshold = cms.double(20.0),
180  RThreshold = cms.double(0.3)
181  )
182 
183