CMS 3D CMS Logo

JetMETHLTOfflineSource_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 jetMETHLTOfflineSourceAK4 = cms.EDAnalyzer(
4  "JetMETHLTOfflineSource",
5  dirname = cms.untracked.string("HLT/JME/Jets/AK4"),
6  #
7  processname = cms.string("HLT"),
8  triggerSummaryLabel = cms.InputTag("hltTriggerSummaryAOD","","HLT"),
9  triggerResultsLabel = cms.InputTag("TriggerResults","","HLT"),
10  pathnameMuon = cms.untracked.vstring("HLT_IsoMu24_IterTrk02_v"),
11  pathnameMB = cms.untracked.vstring("HLT_Physics_v"),
12  #
13  verbose = cms.untracked.bool(False),
14  runStandalone = cms.untracked.bool(False),
15  #
16  plotAll = cms.untracked.bool(True),
17  plotEff = cms.untracked.bool(True),
18  nameForEff = cms.untracked.bool(True),
19  #
20  CaloMETCollectionLabel = cms.InputTag("caloMet"),
21  PFMETCollectionLabel = cms.InputTag("pfMet"),
22  #Use on-the-fly correction
23  CaloJetCollectionLabel = cms.InputTag("ak4CaloJets"),
24  PFJetCollectionLabel = cms.InputTag("ak4PFJets"),
25  CaloJetCorLabel = cms.InputTag("ak4CaloL1FastL2L3ResidualCorrector"), #dummy residual corrections now also provided for MC GTs
26  PFJetCorLabel = cms.InputTag("ak4PFL1FastL2L3ResidualCorrector"), #dummy residual corrections now also provided for MC GTs
27  #
28  fEMF = cms.untracked.double(0.01),
29  feta = cms.untracked.double(2.6),
30  fHPD = cms.untracked.double(0.98),
31  n90Hits = cms.untracked.double(1),
32  minNHEF = cms.untracked.double(0.),
33  maxNHEF = cms.untracked.double(1.),
34  minCHEF = cms.untracked.double(0.),
35  maxCHEF = cms.untracked.double(1.),
36  minNEMF = cms.untracked.double(0.),
37  maxNEMF = cms.untracked.double(1.),
38  minCEMF = cms.untracked.double(0.),
39  maxCEMF = cms.untracked.double(1.),
40  #
41  pathFilter = cms.untracked.vstring("HLT_CaloJet",
42  "HLT_PFJet",
43  "HLT_PFNoPUJet",
44  "HLT_DiPFJetAve",
45  "HLT_DiCaloJetAve",
46  "HLT_PFMET",
47  "HLT_PFchMET",
48  "HLT_MET",
49  "HLT_CaloMET"),
50  pathRejectKeyword = cms.untracked.vstring("dEdx","NoBPTX"),
51  #
52  pathPairs = cms.VPSet(
53  cms.PSet(
54  pathname = cms.string("HLT_PFJet60_v"),
55  denompathname = cms.string("HLT_PFJet40_v"),
56  ),
57  cms.PSet(
58  pathname = cms.string("HLT_PFJet80_v"),
59  denompathname = cms.string("HLT_PFJet60_v"),
60  ),
61  cms.PSet(
62  pathname = cms.string("HLT_PFJet140_v"),
63  denompathname = cms.string("HLT_PFJet80_v"),
64  ),
65  cms.PSet(
66  pathname = cms.string("HLT_PFJet200_v"),
67  denompathname = cms.string("HLT_PFJet140_v"),
68  ),
69  cms.PSet(
70  pathname = cms.string("HLT_PFJet260_v"),
71  denompathname = cms.string("HLT_PFJet200_v"),
72  ),
73  cms.PSet(
74  pathname = cms.string("HLT_PFJet320_v"),
75  denompathname = cms.string("HLT_PFJet260_v"),
76  ),
77  cms.PSet(
78  pathname = cms.string("HLT_PFJet400_v"),
79  denompathname = cms.string("HLT_PFJet320_v"),
80  ),
81  cms.PSet(
82  pathname = cms.string("HLT_PFJet450_v"),
83  denompathname = cms.string("HLT_PFJet400_v"),
84  ),
85  cms.PSet(
86  pathname = cms.string("HLT_PFJet500_v"),
87  denompathname = cms.string("HLT_PFJet450_v"),
88  )
89  ),
90  #
91  JetIDParams = cms.PSet(
92  useRecHits = cms.bool(True),
93  hbheRecHitsColl = cms.InputTag("hbhereco"),
94  hoRecHitsColl = cms.InputTag("horeco"),
95  hfRecHitsColl = cms.InputTag("hfreco"),
96  ebRecHitsColl = cms.InputTag("ecalRecHit", "EcalRecHitsEB"),
97  eeRecHitsColl = cms.InputTag("ecalRecHit", "EcalRecHitsEE")
98  )
99 )
100 
101 
102 jetMETHLTOfflineSourceAK8 = jetMETHLTOfflineSourceAK4.clone(
103  dirname = cms.untracked.string('HLT/JME/Jets/AK8'),
104  # CaloJetCollectionLabel = cms.InputTag("ak4CaloJets"), #ak8 not available in RECO anymore, so keep ak4...
105  # PFJetCollectionLabel = cms.InputTag("ak8PFJetsCHS"), # does not work in all matrix tests, yet
106  # PFJetCorLabel = cms.InputTag("ak8PFCHSL1FastjetL2L3ResidualCorrector"), # does not work in all matrix tests, yet
107  PFJetCollectionLabel = cms.InputTag("ak4PFJets"),
108  PFJetCorLabel = cms.InputTag("ak4PFL1FastL2L3ResidualCorrector"), #dummy residual corrections now also provided for MC GTs
109 
110 
111  pathFilter = cms.untracked.vstring('HLT_AK8PFJet',
112  ),
113  pathPairs = cms.VPSet(cms.PSet(
114  denompathname = cms.string('HLT_AK8PFJet40_v'),
115  pathname = cms.string('HLT_AK8PFJet60_v')
116  ),
117  cms.PSet(
118  denompathname = cms.string('HLT_AK8PFJet60_v'),
119  pathname = cms.string('HLT_AK8PFJet80_v')
120  ),
121  cms.PSet(
122  denompathname = cms.string('HLT_AK8PFJet80_v'),
123  pathname = cms.string('HLT_AK8PFJet140_v')
124  ),
125  cms.PSet(
126  denompathname = cms.string('HLT_AK8PFJet140_v'),
127  pathname = cms.string('HLT_AK8PFJet200_v')
128  ),
129  cms.PSet(
130  denompathname = cms.string('HLT_AK8PFJet200_v'),
131  pathname = cms.string('HLT_AK8PFJet260_v')
132  ),
133  cms.PSet(
134  denompathname = cms.string('HLT_AK8PFJet260_v'),
135  pathname = cms.string('HLT_AK8PFJet320_v')
136  ),
137  cms.PSet(
138  denompathname = cms.string('HLT_AK8PFJet320_v'),
139  pathname = cms.string('HLT_AK8PFJet400_v')
140  ),
141  cms.PSet(
142  denompathname = cms.string('HLT_AK8PFJet400_v'),
143  pathname = cms.string('HLT_AK8PFJet450_v')
144  ),
145  cms.PSet(
146  denompathname = cms.string('HLT_AK8PFJet450_v'),
147  pathname = cms.string('HLT_AK8PFJet500_v')
148  )),
149 
150 )
151 
152 jetMETHLTOfflineSourceAK8Fwd = jetMETHLTOfflineSourceAK4.clone(
153  dirname = cms.untracked.string('HLT/JME/Jets/AK8Fwd'),
154  PFJetCollectionLabel = cms.InputTag("ak4PFJets"),
155  PFJetCorLabel = cms.InputTag("ak4PFL1FastL2L3ResidualCorrector"), #dummy residual corrections now also provided for MC GTs
156 
157  pathFilter = cms.untracked.vstring('HLT_AK8PFJetFwd',
158  ),
159  pathPairs = cms.VPSet(cms.PSet(
160  denompathname = cms.string('HLT_AK8PFJetFwd40_v'),
161  pathname = cms.string('HLT_AK8PFJetFwd60_v')
162  ),
163  cms.PSet(
164  denompathname = cms.string('HLT_AK8PFJetFwd60_v'),
165  pathname = cms.string('HLT_AK8PFJetFwd80_v')
166  ),
167  cms.PSet(
168  denompathname = cms.string('HLT_AK8PFJetFwd80_v'),
169  pathname = cms.string('HLT_AK8PFJetFwd140_v')
170  ),
171  cms.PSet(
172  denompathname = cms.string('HLT_AK8PFJetFwd140_v'),
173  pathname = cms.string('HLT_AK8PFJetFwd200_v')
174  ),
175  cms.PSet(
176  denompathname = cms.string('HLT_AK8PFJetFwd200_v'),
177  pathname = cms.string('HLT_AK8PFJetFwd260_v')
178  ),
179  cms.PSet(
180  denompathname = cms.string('HLT_AK8PFJetFwd260_v'),
181  pathname = cms.string('HLT_AK8PFJetFwd320_v')
182  ),
183  cms.PSet(
184  denompathname = cms.string('HLT_AK8PFJetFwd320_v'),
185  pathname = cms.string('HLT_AK8PFJetFwd400_v')
186  ),
187  cms.PSet(
188  denompathname = cms.string('HLT_AK8PFJetFwd400_v'),
189  pathname = cms.string('HLT_AK8PFJetFwd450_v')
190  ),
191  cms.PSet(
192  denompathname = cms.string('HLT_AK8PFJetFwd450_v'),
193  pathname = cms.string('HLT_AK8PFJetFwd500_v')
194  )),
195 
196 )
197 
198 jetMETHLTOfflineSourceAK4Fwd = jetMETHLTOfflineSourceAK4.clone(
199  dirname = cms.untracked.string('HLT/JME/Jets/AK4Fwd'),
200  PFJetCollectionLabel = cms.InputTag("ak4PFJets"),
201  PFJetCorLabel = cms.InputTag("ak4PFL1FastL2L3ResidualCorrector"), #dummy residual corrections now also provided for MC GTs
202 
203  pathFilter = cms.untracked.vstring('HLT_PFJetFwd',
204  ),
205  pathPairs = cms.VPSet(cms.PSet(
206  denompathname = cms.string('HLT_PFJetFwd40_v'),
207  pathname = cms.string('HLT_PFJetFwd60_v')
208  ),
209  cms.PSet(
210  denompathname = cms.string('HLT_PFJetFwd60_v'),
211  pathname = cms.string('HLT_PFJetFwd80_v')
212  ),
213  cms.PSet(
214  denompathname = cms.string('HLT_PFJetFwd80_v'),
215  pathname = cms.string('HLT_PFJetFwd140_v')
216  ),
217  cms.PSet(
218  denompathname = cms.string('HLT_PFJetFwd140_v'),
219  pathname = cms.string('HLT_PFJetFwd200_v')
220  ),
221  cms.PSet(
222  denompathname = cms.string('HLT_PFJetFwd200_v'),
223  pathname = cms.string('HLT_PFJetFwd260_v')
224  ),
225  cms.PSet(
226  denompathname = cms.string('HLT_PFJetFwd260_v'),
227  pathname = cms.string('HLT_PFJetFwd320_v')
228  ),
229  cms.PSet(
230  denompathname = cms.string('HLT_PFJetFwd320_v'),
231  pathname = cms.string('HLT_PFJetFwd400_v')
232  ),
233  cms.PSet(
234  denompathname = cms.string('HLT_PFJetFwd400_v'),
235  pathname = cms.string('HLT_PFJetFwd450_v')
236  ),
237  cms.PSet(
238  denompathname = cms.string('HLT_PFJetFwd450_v'),
239  pathname = cms.string('HLT_PFJetFwd500_v')
240  )),
241 
242 )
243 
244 jetMETHLTOfflineSource = cms.Sequence( jetMETHLTOfflineSourceAK4 * jetMETHLTOfflineSourceAK8 * jetMETHLTOfflineSourceAK4Fwd * jetMETHLTOfflineSourceAK8Fwd)