CMS 3D CMS Logo

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