CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 = cms.untracked.string('HLT/JME/Jets/AK8'),
105  # CaloJetCollectionLabel = cms.InputTag("ak4CaloJets"), #ak8 not available in RECO anymore, so keep ak4...
106  # PFJetCollectionLabel = cms.InputTag("ak8PFJetsPuppi"), # does not work in all matrix tests, yet
107  # PFJetCorLabel = cms.InputTag("ak8PFCHSL1FastjetL2L3ResidualCorrector"), # does not work in all matrix tests, yet
108  PFJetCollectionLabel = cms.InputTag("ak4PFJets"),
109  PFJetCorLabel = cms.InputTag("ak4PFL1FastL2L3ResidualCorrector"), #dummy residual corrections now also provided for MC GTs
110 
111 
112  pathFilter = cms.untracked.vstring('HLT_AK8PFJet',
113  ),
114  pathPairs = cms.VPSet(cms.PSet(
115  denompathname = cms.string('HLT_AK8PFJet40_v'),
116  pathname = cms.string('HLT_AK8PFJet60_v')
117  ),
118  cms.PSet(
119  denompathname = cms.string('HLT_AK8PFJet60_v'),
120  pathname = cms.string('HLT_AK8PFJet80_v')
121  ),
122  cms.PSet(
123  denompathname = cms.string('HLT_AK8PFJet80_v'),
124  pathname = cms.string('HLT_AK8PFJet140_v')
125  ),
126  cms.PSet(
127  denompathname = cms.string('HLT_AK8PFJet140_v'),
128  pathname = cms.string('HLT_AK8PFJet200_v')
129  ),
130  cms.PSet(
131  denompathname = cms.string('HLT_AK8PFJet200_v'),
132  pathname = cms.string('HLT_AK8PFJet260_v')
133  ),
134  cms.PSet(
135  denompathname = cms.string('HLT_AK8PFJet260_v'),
136  pathname = cms.string('HLT_AK8PFJet320_v')
137  ),
138  cms.PSet(
139  denompathname = cms.string('HLT_AK8PFJet320_v'),
140  pathname = cms.string('HLT_AK8PFJet400_v')
141  ),
142  cms.PSet(
143  denompathname = cms.string('HLT_AK8PFJet400_v'),
144  pathname = cms.string('HLT_AK8PFJet450_v')
145  ),
146  cms.PSet(
147  denompathname = cms.string('HLT_AK8PFJet450_v'),
148  pathname = cms.string('HLT_AK8PFJet500_v')
149  )),
150 
151 )
152 
153 jetMETHLTOfflineSourceAK8Fwd = jetMETHLTOfflineSourceAK4.clone(
154  dirname = cms.untracked.string('HLT/JME/Jets/AK8Fwd'),
155  PFJetCollectionLabel = cms.InputTag("ak4PFJets"),
156  PFJetCorLabel = cms.InputTag("ak4PFL1FastL2L3ResidualCorrector"), #dummy residual corrections now also provided for MC GTs
157 
158  pathFilter = cms.untracked.vstring('HLT_AK8PFJetFwd',
159  ),
160  pathPairs = cms.VPSet(cms.PSet(
161  denompathname = cms.string('HLT_AK8PFJetFwd40_v'),
162  pathname = cms.string('HLT_AK8PFJetFwd60_v')
163  ),
164  cms.PSet(
165  denompathname = cms.string('HLT_AK8PFJetFwd60_v'),
166  pathname = cms.string('HLT_AK8PFJetFwd80_v')
167  ),
168  cms.PSet(
169  denompathname = cms.string('HLT_AK8PFJetFwd80_v'),
170  pathname = cms.string('HLT_AK8PFJetFwd140_v')
171  ),
172  cms.PSet(
173  denompathname = cms.string('HLT_AK8PFJetFwd140_v'),
174  pathname = cms.string('HLT_AK8PFJetFwd200_v')
175  ),
176  cms.PSet(
177  denompathname = cms.string('HLT_AK8PFJetFwd200_v'),
178  pathname = cms.string('HLT_AK8PFJetFwd260_v')
179  ),
180  cms.PSet(
181  denompathname = cms.string('HLT_AK8PFJetFwd260_v'),
182  pathname = cms.string('HLT_AK8PFJetFwd320_v')
183  ),
184  cms.PSet(
185  denompathname = cms.string('HLT_AK8PFJetFwd320_v'),
186  pathname = cms.string('HLT_AK8PFJetFwd400_v')
187  ),
188  cms.PSet(
189  denompathname = cms.string('HLT_AK8PFJetFwd400_v'),
190  pathname = cms.string('HLT_AK8PFJetFwd450_v')
191  ),
192  cms.PSet(
193  denompathname = cms.string('HLT_AK8PFJetFwd450_v'),
194  pathname = cms.string('HLT_AK8PFJetFwd500_v')
195  )),
196 
197 )
198 
199 jetMETHLTOfflineSourceAK4Fwd = jetMETHLTOfflineSourceAK4.clone(
200  dirname = cms.untracked.string('HLT/JME/Jets/AK4Fwd'),
201  PFJetCollectionLabel = cms.InputTag("ak4PFJets"),
202  PFJetCorLabel = cms.InputTag("ak4PFL1FastL2L3ResidualCorrector"), #dummy residual corrections now also provided for MC GTs
203 
204  pathFilter = cms.untracked.vstring('HLT_PFJetFwd',
205  ),
206  pathPairs = cms.VPSet(cms.PSet(
207  denompathname = cms.string('HLT_PFJetFwd40_v'),
208  pathname = cms.string('HLT_PFJetFwd60_v')
209  ),
210  cms.PSet(
211  denompathname = cms.string('HLT_PFJetFwd60_v'),
212  pathname = cms.string('HLT_PFJetFwd80_v')
213  ),
214  cms.PSet(
215  denompathname = cms.string('HLT_PFJetFwd80_v'),
216  pathname = cms.string('HLT_PFJetFwd140_v')
217  ),
218  cms.PSet(
219  denompathname = cms.string('HLT_PFJetFwd140_v'),
220  pathname = cms.string('HLT_PFJetFwd200_v')
221  ),
222  cms.PSet(
223  denompathname = cms.string('HLT_PFJetFwd200_v'),
224  pathname = cms.string('HLT_PFJetFwd260_v')
225  ),
226  cms.PSet(
227  denompathname = cms.string('HLT_PFJetFwd260_v'),
228  pathname = cms.string('HLT_PFJetFwd320_v')
229  ),
230  cms.PSet(
231  denompathname = cms.string('HLT_PFJetFwd320_v'),
232  pathname = cms.string('HLT_PFJetFwd400_v')
233  ),
234  cms.PSet(
235  denompathname = cms.string('HLT_PFJetFwd400_v'),
236  pathname = cms.string('HLT_PFJetFwd450_v')
237  ),
238  cms.PSet(
239  denompathname = cms.string('HLT_PFJetFwd450_v'),
240  pathname = cms.string('HLT_PFJetFwd500_v')
241  )),
242 
243 )
244 
245 jetMETHLTOfflineSource = cms.Sequence( jetMETHLTOfflineSourceAK4 * jetMETHLTOfflineSourceAK8 * jetMETHLTOfflineSourceAK4Fwd * jetMETHLTOfflineSourceAK8Fwd)