CMS 3D CMS Logo

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