CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
topSingleLeptonHLTEventDQM_cfi.py
Go to the documentation of this file.
2 
3 topSingleLeptonHLTOfflineDQM = cms.EDAnalyzer("TopSingleLeptonHLTOfflineDQM",
4  ## ------------------------------------------------------
5  ## SETUP
6  ##
7  ## configuration of the MonitoringEnsemble(s)
8  ## [mandatory] : optional PSets may be omitted
9  ##
10  setup = cms.PSet(
11  ## sub-directory to write the monitor histograms to
12  ## [mandatory] : should not be changed w/o explicit
13  ## communication to TopCom!
14  directory = cms.string("HLT/TopHLTOffline/Top/SemiLeptonic/"),
15  ## [mandatory]
16  sources = cms.PSet(
17  muons = cms.InputTag("muons"),
18  elecs = cms.InputTag("gedGsfElectrons"),
19  jets = cms.InputTag("ak4PFJetsCHS"),
20  mets = cms.VInputTag("met", "tcMet", "pfMet"),
21  pvs = cms.InputTag("offlinePrimaryVertices")
22  ),
23  ## [optional] : when omitted all monitoring plots for primary vertices
24  ## will be filled w/o extras
25  pvExtras = cms.PSet(
26  ## when omitted electron plots will be filled w/o additional pre-
27  ## selection of the primary vertex candidates
28  select = cms.string("abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake")
29  ),
30  ## [optional] : when omitted all monitoring plots for electrons
31  ## will be filled w/o extras
32  elecExtras = cms.PSet(
33  ## when omitted electron plots will be filled w/o cut on electronId
34  #electronId = cms.PSet( src = cms.InputTag("mvaTrigV0"), pattern = cms.int32(1) ),
35  ## when omitted electron plots will be filled w/o additional pre-
36  ## selection of the electron candidates
37  select = cms.string("pt>30 & abs(eta)<2.5"),
38  ## when omitted isolated electron multiplicity plot will be equi-
39  ## valent to inclusive electron multiplicity plot
40  isolation = cms.string("(dr03TkSumPt+dr04EcalRecHitSumEt+dr04HcalTowerSumEt)/pt<0.1"),
41  ),
42  ## [optional] : when omitted all monitoring plots for muons
43  ## will be filled w/o extras
44  muonExtras = cms.PSet(
45  ## when omitted muon plots will be filled w/o additional pre-
46  ## selection of the muon candidates
47  select = cms.string("pt>26 & abs(eta)<2.1 & isPFMuon & isGlobalMuon & globalTrack.normalizedChi2<10 & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 & numberOfMatches>1"),
48  ## when omitted isolated muon multiplicity plot will be equi-
49  ## valent to inclusive muon multiplicity plot
50  isolation = cms.string("(pfIsolationR04.sumChargedHadronPt+pfIsolationR04.sumPhotonEt+pfIsolationR04.sumNeutralHadronEt)/pt<0.2"),
51  ),
52  ## [optional] : when omitted all monitoring plots for jets will
53  ## be filled from uncorrected jets
54  jetExtras = cms.PSet(
55  ## when omitted monitor plots for pt will be filled from uncorrected
56  ## jets
57  #jetCorrector = cms.string("ak4PFCHSL2L3"),
58  ## when omitted no extra selection will be applied on jets before
59  ## filling the monitor histograms; if jetCorrector is present the
60  ## selection will be applied to corrected jets
61  select = cms.string("pt>20 & abs(eta)<2.5"),
62  ),
63  ## [optional] : when omitted no mass window will be applied
64  ## for the W mass befor filling the event monitoring plots
65  massExtras = cms.PSet(
66  lowerEdge = cms.double( 70.),
67  upperEdge = cms.double(110.)
68  ),
69  ## [optional] : when omitted the monitoring plots for triggering
70  ## will be empty
71  #triggerExtras = cms.PSet(
72  # src = cms.InputTag("TriggerResults","","HLT"),
73  # paths = cms.vstring(['HLT_Mu3:HLT_QuadJet15U',
74  # 'HLT_Mu5:HLT_QuadJet15U',
75  # 'HLT_Mu7:HLT_QuadJet15U',
76  # 'HLT_Mu9:HLT_QuadJet15U'])
77  #)
78  ),
79  ## ------------------------------------------------------
80  ## PRESELECTION
81  ##
82  ## setup of the event preselection, which will not
83  ## be monitored
84  ## [mandatory] : but may be empty
85  ##
86  preselection = cms.PSet(
87  trigger = cms.PSet(
88  src = cms.InputTag("TriggerResults","","HLT"),
89  select = cms.vstring(['HLT_IsoMu17_eta2p1_TriCentralPFNoPUJet45_35_25','HLT_IsoMu17_eta2p1_TriCentralPFNoPUJet30','HLT_Ele25_CaloIdVT_CaloIsoVL_TrkIdVL_TrkIsoT_TriCentralPFNoPUJet45_35_25','HLT_Ele25_CaloIdVT_CaloIsoVL_TrkIdVL_TrkIsoT_TriCentralPFNoPUJet30'])
90  ),
91  ## [optional] : when omitted no preselection is applied
92  vertex = cms.PSet(
93  src = cms.InputTag("offlinePrimaryVertices"),
94  select = cms.string('abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake')
95  )
96  ),
97  ## ------------------------------------------------------
98  ## SELECTION
99  ##
100  ## monitor histrograms are filled after each selection
101  ## step, the selection is applied in the order defined
102  ## by this vector
103  ## [mandatory] : may be empty or contain an arbitrary
104  ## number of PSets
105  ##
106  selection = cms.VPSet(
107  cms.PSet(
108  label = cms.string("Hlt:step0"),
109  src = cms.InputTag(""),
110  select = cms.string(""),
111  min = cms.int32(0),
112  max = cms.int32(0),
113  ),
114  cms.PSet(
115  label = cms.string("jets/pf:step1"),
116  src = cms.InputTag("ak4PFJetsCHS"),
117  select = cms.string("pt>20 & abs(eta)<2.5"),
118  min = cms.int32(4),
119  ),
120  )
121 )
122 
123 topSingleMuonHLTOfflineDQM = cms.EDAnalyzer("TopSingleLeptonHLTOfflineDQM",
124  ## ------------------------------------------------------
125  ## SETUP
126  ##
127  ## configuration of the MonitoringEnsemble(s)
128  ## [mandatory] : optional PSets may be omitted
129  ##
130  setup = cms.PSet(
131  ## sub-directory to write the monitor histograms to
132  ## [mandatory] : should not be changed w/o explicit
133  ## communication to TopCom!
134  directory = cms.string("HLT/TopHLTOffline/Top/SemiMuonic/"),
135  ## [mandatory]
136  sources = cms.PSet(
137  muons = cms.InputTag("muons"),
138  elecs = cms.InputTag("gedGsfElectrons"),
139  jets = cms.InputTag("ak4PFJetsCHS"),
140  mets = cms.VInputTag("met", "tcMet", "pfMet"),
141  pvs = cms.InputTag("offlinePrimaryVertices")
142 
143  ),
144  ## [optional] : when omitted all monitoring plots for primary vertices
145  ## will be filled w/o extras
146  pvExtras = cms.PSet(
147  ## when omitted electron plots will be filled w/o additional pre-
148  ## selection of the primary vertex candidates
149  select = cms.string("abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake")
150  ),
151  ## [optional] : when omitted all monitoring plots for muons
152  ## will be filled w/o extras
153  muonExtras = cms.PSet(
154  ## when omitted muon plots will be filled w/o additional pre-
155  ## selection of the muon candidates
156  select = cms.string("pt>26 & abs(eta)<2.1 & isPFMuon & isGlobalMuon & globalTrack.normalizedChi2<10 & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 & numberOfMatches>1"),
157  ## when omitted isolated muon multiplicity plot will be equi-
158  ## valent to inclusive muon multiplicity plot
159  isolation = cms.string("(pfIsolationR04.sumChargedHadronPt+pfIsolationR04.sumPhotonEt+pfIsolationR04.sumNeutralHadronEt)/pt<0.2"),
160  ),
161  ## [optional] : when omitted all monitoring plots for jets
162  ## will be filled w/o extras
163  jetExtras = cms.PSet(
164  ## when omitted monitor plots for pt will be filled from uncorrected
165  ## jets
166  #jetCorrector = cms.string("ak4PFCHSL2L3"),
167  ## when omitted no extra selection will be applied on jets before
168  ## filling the monitor histograms; if jetCorrector is present the
169  ## selection will be applied to corrected jets
170  select = cms.string("pt>20 & abs(eta)<2.5"),
171  ## when omitted monitor histograms for b-tagging will not be filled
172  jetBTaggers = cms.PSet(
173  trackCountingEff = cms.PSet(
174  label = cms.InputTag("jetProbabilityBJetTags" ),
175  workingPoint = cms.double(0.275)
176  ),
177  trackCountingPur = cms.PSet(
178  label = cms.InputTag("trackCountingHighPurBJetTags" ),
179  workingPoint = cms.double(3.41)
180  ),
181  secondaryVertex = cms.PSet(
182  label = cms.InputTag("combinedSecondaryVertexBJetTags"),
183  workingPoint = cms.double(0.679)
184  )
185  ),
186  ),
187  ## [optional] : when omitted no mass window will be applied
188  ## for the W mass before filling the event monitoring plots
189  massExtras = cms.PSet(
190  lowerEdge = cms.double( 70.),
191  upperEdge = cms.double(110.)
192  ),
193  ## [optional] : when omitted the monitoring plots for triggering
194  ## will be empty
195  triggerExtras = cms.PSet(
196  src = cms.InputTag("TriggerResults","","HLT"),
197  paths = cms.vstring(['HLT_IsoMu17_eta2p1_TriCentralPFNoPUJet45_35_25','HLT_IsoMu17_eta2p1_TriCentralPFNoPUJet30'])
198  )
199  ),
200  ## ------------------------------------------------------
201  ## PRESELECTION
202  ##
203  ## setup of the event preselection, which will not
204  ## be monitored
205  ## [mandatory] : but may be empty
206  ##
207  preselection = cms.PSet(
208  trigger = cms.PSet(
209  src = cms.InputTag("TriggerResults","","HLT"),
210  select = cms.vstring(['HLT_IsoMu17_eta2p1_TriCentralPFNoPUJet45_35_25','HLT_IsoMu17_eta2p1_TriCentralPFNoPUJet30'])
211  ),
212  ## [optional] : when omitted no preselection is applied
213  vertex = cms.PSet(
214  src = cms.InputTag("offlinePrimaryVertices"),
215  select = cms.string('abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake')
216  )
217  ),
218  ## ------------------------------------------------------
219  ## SELECTION
220  ##
221  ## monitor histrograms are filled after each selection
222  ## step, the selection is applied in the order defined
223  ## by this vector
224  ## [mandatory] : may be empty or contain an arbitrary
225  ## number of PSets
226  selection = cms.VPSet(
227  cms.PSet(
228  label = cms.string("Hlt:step0"),
229  src = cms.InputTag(""),
230  select = cms.string(""),
231  min = cms.int32(0),
232  max = cms.int32(0),
233  ),
234  cms.PSet(
235  label = cms.string("muons:step1"),
236  src = cms.InputTag("muons"),
237  select = cms.string("pt>26 & abs(eta)<2.1 & isPFMuon & isGlobalMuon & globalTrack.normalizedChi2<10 & innerTrack.hitPattern.trackerLayersWithMeasurement>5 & innerTrack.hitPattern.numberOfValidPixelHits>0 & numberOfMatches>1 & (pfIsolationR04.sumChargedHadronPt+pfIsolationR04.sumPhotonEt+pfIsolationR04.sumNeutralHadronEt)/pt<0.12"),
238  min = cms.int32(1),
239  max = cms.int32(1),
240  ),
241 # cms.PSet(
242 # label = cms.string("jets/pf:step2"),
243 # src = cms.InputTag("ak4PFJetsCHS"),
244 # jetCorrector = cms.string("ak4PFCHSL2L3"),
245 # select = cms.string("pt>20 & abs(eta)<2.5"),
246 # min = cms.int32(1),
247 # ),
248 # cms.PSet(
249 # label = cms.string("jets/pf:step3"),
250 # src = cms.InputTag("ak4PFJetsCHS"),
251 # jetCorrector = cms.string("ak4PFCHSL2L3"),
252 # select = cms.string("pt>20 & abs(eta)<2.5"),
253 # min = cms.int32(2),
254 # ),
255 # cms.PSet(
256 # label = cms.string("jets/pf:step4"),
257 # src = cms.InputTag("ak4PFJetsCHS"),
258 # jetCorrector = cms.string("ak4PFCHSL2L3"),
259 # select = cms.string("pt>20 & abs(eta)<2.5"),
260 # min = cms.int32(3),
261 # ),
262  cms.PSet(
263 # label = cms.string("jets/pf:step5"),
264  label = cms.string("jets/pf:step2"),
265  src = cms.InputTag("ak4PFJetsCHS"),
266  #jetCorrector = cms.string("ak4PFCHSL2L3"),
267  select = cms.string("pt>20 & abs(eta)<2.5"),
268  min = cms.int32(4),
269  ),
270  )
271 )
272 
273 topSingleElectronHLTOfflineDQM = cms.EDAnalyzer("TopSingleLeptonHLTOfflineDQM",
274  ## ------------------------------------------------------
275  ## SETUP
276  ##
277  ## configuration of the MonitoringEnsemble(s)
278  ## [mandatory] : optional PSets may be omitted
279  ##
280  setup = cms.PSet(
281  ## sub-directory to write the monitor histograms to
282  ## [mandatory] : should not be changed w/o explicit
283  ## communication to TopCom!
284  directory = cms.string("HLT/TopHLTOffline/Top/SemiElectronic/"),
285  ## [mandatory]
286  sources = cms.PSet(
287  muons = cms.InputTag("muons"),
288  elecs = cms.InputTag("gedGsfElectrons"),
289  jets = cms.InputTag("ak4PFJetsCHS"),
290  mets = cms.VInputTag("met", "tcMet", "pfMet"),
291  pvs = cms.InputTag("offlinePrimaryVertices")
292 
293  ),
294  ## [optional] : when omitted all monitoring plots for primary vertices
295  ## will be filled w/o extras
296  pvExtras = cms.PSet(
297  ## when omitted electron plots will be filled w/o additional pre-
298  ## selection of the primary vertex candidates
299  select = cms.string("abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake")
300  ),
301  ## [optional] : when omitted all monitoring plots for electrons
302  ## will be filled w/o extras
303  elecExtras = cms.PSet(
304  ## when omitted electron plots will be filled w/o cut on electronId
305  #electronId = cms.PSet( src = cms.InputTag("mvaTrigV0"), pattern = cms.int32(1) ),
306  ## when omitted electron plots will be filled w/o additional pre-
307  ## selection of the electron candidates
308  select = cms.string("pt>30 & abs(eta)<2.5"),
309  ## when omitted isolated electron multiplicity plot will be equi-
310  ## valent to inclusive electron multiplicity plot
311  isolation = cms.string("(dr03TkSumPt+dr04EcalRecHitSumEt+dr04HcalTowerSumEt)/pt<0.1"),
312  ),
313  ## [optional] : when omitted all monitoring plots for jets
314  ## will be filled w/o extras
315  jetExtras = cms.PSet(
316  ## when omitted monitor plots for pt will be filled from uncorrected
317  ## jets
318  #jetCorrector = cms.string("ak4PFCHSL2L3"),
319  ## when omitted no extra selection will be applied on jets before
320  ## filling the monitor histograms; if jetCorrector is present the
321  ## selection will be applied to corrected jets
322  select = cms.string("pt>20 & abs(eta)<2.5"),
323  ## when omitted monitor histograms for b-tagging will not be filled
324  jetBTaggers = cms.PSet(
325  trackCountingEff = cms.PSet(
326  label = cms.InputTag("jetProbabilityBJetTags" ),
327  workingPoint = cms.double(0.275)
328  ),
329  trackCountingPur = cms.PSet(
330  label = cms.InputTag("trackCountingHighPurBJetTags" ),
331  workingPoint = cms.double(3.41)
332  ),
333  secondaryVertex = cms.PSet(
334  label = cms.InputTag("combinedSecondaryVertexBJetTags"),
335  workingPoint = cms.double(0.679)
336  )
337  ),
338  ),
339  ## [optional] : when omitted no mass window will be applied
340  ## for the W mass before filling the event monitoring plots
341  massExtras = cms.PSet(
342  lowerEdge = cms.double( 70.),
343  upperEdge = cms.double(110.)
344  ),
345  ## [optional] : when omitted the monitoring plots for triggering
346  ## will be empty
347  triggerExtras = cms.PSet(
348  src = cms.InputTag("TriggerResults","","HLT"),
349  paths = cms.vstring(['HLT_Ele25_CaloIdVT_CaloIsoVL_TrkIdVL_TrkIsoT_TriCentralPFNoPUJet45_35_25','HLT_Ele25_CaloIdVT_CaloIsoVL_TrkIdVL_TrkIsoT_TriCentralPFNoPUJet30'])
350  )
351  ),
352  ## ------------------------------------------------------
353  ## PRESELECTION
354  ##
355  ## setup of the event preselection, which will not
356  ## be monitored
357  ## [mandatory] : but may be empty
358  ##
359  preselection = cms.PSet(
360  trigger = cms.PSet(
361  src = cms.InputTag("TriggerResults","","HLT"),
362  select = cms.vstring(['HLT_Ele25_CaloIdVT_CaloIsoVL_TrkIdVL_TrkIsoT_TriCentralPFNoPUJet45_35_25','HLT_Ele25_CaloIdVT_CaloIsoVL_TrkIdVL_TrkIsoT_TriCentralPFNoPUJet30'])
363  ),
364  ## [optional] : when omitted no preselection is applied
365  vertex = cms.PSet(
366  src = cms.InputTag("offlinePrimaryVertices"),
367  select = cms.string('abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake')
368  )
369  ),
370  ## ------------------------------------------------------
371  ## SELECTION
372  ##
373  ## monitor histrograms are filled after each selection
374  ## step, the selection is applied in the order defined
375  ## by this vector
376  ## [mandatory] : may be empty or contain an arbitrary
377  ## number of PSets
378  selection = cms.VPSet(
379  cms.PSet(
380  label = cms.string("Hlt:step0"),
381  src = cms.InputTag(""),
382  select = cms.string(""),
383  min = cms.int32(0),
384  max = cms.int32(0),
385  ),
386  cms.PSet(
387  label = cms.string("elecs:step1"),
388  src = cms.InputTag("gedGsfElectrons"),
389  #electronId = cms.PSet( src = cms.InputTag("mvaTrigV0"), pattern = cms.int32(1) ),
390  select = cms.string("pt>30 & abs(eta)<2.5 & (dr03TkSumPt+dr04EcalRecHitSumEt+dr04HcalTowerSumEt)/pt<0.1"),
391  min = cms.int32(1),
392  max = cms.int32(1),
393  ),
394 # cms.PSet(
395 # label = cms.string("jets/pf:step2"),
396 # src = cms.InputTag("ak4PFJetsCHS"),
397 # jetCorrector = cms.string("ak4PFCHSL2L3"),
398 # select = cms.string("pt>20 & abs(eta)<2.5"),
399 # min = cms.int32(1),
400 # ),
401 # cms.PSet(
402 # label = cms.string("jets/pf:step3"),
403 # src = cms.InputTag("ak4PFJetsCHS"),
404 # jetCorrector = cms.string("ak4PFCHSL2L3"),
405 # select = cms.string("pt>20 & abs(eta)<2.5"),
406 # min = cms.int32(2),
407 # ),
408 # cms.PSet(
409 # label = cms.string("jets/pf:step4"),
410 # src = cms.InputTag("ak4PFJetsCHS"),
411 # jetCorrector = cms.string("ak4PFCHSL2L3"),
412 # select = cms.string("pt>20 & abs(eta)<2.5"),
413 # min = cms.int32(3),
414 # ),
415  cms.PSet(
416 # label = cms.string("jets/pf:step5"),
417  label = cms.string("jets/pf:step2"),
418  src = cms.InputTag("ak4PFJetsCHS"),
419  #jetCorrector = cms.string("ak4PFCHSL2L3"),
420  select = cms.string("pt>20 & abs(eta)<2.5"),
421  min = cms.int32(4),
422  ),
423  )
424 )