CMS 3D CMS Logo

topSingleLeptonDQM_PU_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 topSingleLeptonDQM = DQMEDAnalyzer('TopSingleLeptonDQM',
5 
11  setup = cms.PSet(
12 
15  directory = cms.string("Physics/Top/TopSingleLeptonDQM/"),
16 
17  sources = cms.PSet(
18  muons = cms.InputTag("muons"),
19  elecs = cms.InputTag("gedGsfElectrons"),
20  jets = cms.InputTag("ak5PFJetsCHS"),
21  mets = cms.VInputTag("met", "tcMet", "pfMet"),
22  pvs = cms.InputTag("offlinePrimaryVertices")
23  ),
24 
25  monitoring = cms.PSet(
26  verbosity = cms.string("DEBUG")
27  ),
28 
30  pvExtras = cms.PSet(
31 
33  select = cms.string("abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake")
34  ),
35 
37  elecExtras = cms.PSet(
38 
39  electronId = cms.PSet( src = cms.InputTag("eidRobustLoose"), pattern = cms.int32(1) ),
40 
42  select = cms.string("pt>15 & abs(eta)<2.5 & abs(gsfTrack.d0)<1 & abs(gsfTrack.dz)<20"),
43 
45  isolation = cms.string("(dr03TkSumPt+dr04EcalRecHitSumEt+dr04HcalTowerSumEt)/pt<0.1"),
46  ),
47 
49  muonExtras = cms.PSet(
50 
52  select = cms.string("pt>10 & abs(eta)<2.1 & isGlobalMuon & abs(globalTrack.d0)<1 & abs(globalTrack.dz)<20"),
53 
55  isolation = cms.string("(isolationR03.sumPt+isolationR03.emEt+isolationR03.hadEt)/pt<0.1"),
56  ),
57 
59  jetExtras = cms.PSet(
60 
62  jetCorrector = cms.string("ak5PFL2L3"),
63 
72  select = cms.string("pt>30 & abs(eta)<2.5"),
73  ),
74 
76  massExtras = cms.PSet(
77  lowerEdge = cms.double( 70.),
78  upperEdge = cms.double(110.)
79  ),
80 
89  ),
90 
97  preselection = cms.PSet(
98 
104  vertex = cms.PSet(
105  src = cms.InputTag("offlinePrimaryVertices"),
106  select = cms.string('abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake')
107  )
108  ),
109 
118  selection = cms.VPSet(
119  cms.PSet(
120  label = cms.string("jets/pf:step0"),
121  src = cms.InputTag("ak5PFJetsCHS"),
122  #select = cms.string("pt>20 & abs(eta)<2.1 & 0.05<emEnergyFraction"),
123  select = cms.string("pt>20 & abs(eta)<2.1 "),
124 # jetID = cms.PSet(
125 # label = cms.InputTag("ak5JetID"),
126 # select = cms.string("fHPD < 0.98 & n90Hits>1 & restrictedEMF<1")
127 # ),
128  min = cms.int32(2),
129  ),
130  )
131 )
132 
133 topSingleMuonLooseDQM_PU = DQMEDAnalyzer('TopSingleLeptonDQM',
134 
140  setup = cms.PSet(
141 
144  directory = cms.string("Physics/Top/TopSingleMuonLooseDQM_PU/"),
145 
146  sources = cms.PSet(
147  muons = cms.InputTag("muons"),
148  elecs = cms.InputTag("gedGsfElectrons"),
149  jets = cms.InputTag("ak5PFJetsCHS"),
150  mets = cms.VInputTag("met", "tcMet", "pfMet"),
151  pvs = cms.InputTag("offlinePrimaryVertices")
152  ),
153 
154  monitoring = cms.PSet(
155  verbosity = cms.string("DEBUG")
156  ),
157  pvExtras = cms.PSet(
158 
160  select = cms.string("abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake")
161  ),
162 
164  muonExtras = cms.PSet(
165 
167  select = cms.string("pt > 10 & abs(eta)<2.1 & isGlobalMuon & innerTrack.numberOfValidHits>10 & globalTrack.normalizedChi2>-1 & globalTrack.normalizedChi2<10"),
168 
170  isolation = cms.string("(isolationR03.sumPt+isolationR03.emEt+isolationR03.hadEt)/pt<0.1")
171  ),
172 
174  jetExtras = cms.PSet(
175 
177  jetCorrector = cms.string("ak5PFL2L3"),
178 
187  select = cms.string("pt>30 & abs(eta)<2.5"),
188 
189  jetBTaggers = cms.PSet(
190  trackCountingEff = cms.PSet(
191  label = cms.InputTag("pfTrackCountingHighEffBJetTags" ),
192  workingPoint = cms.double(1.25)
193  ),
194  trackCountingPur = cms.PSet(
195  label = cms.InputTag("pfTrackCountingHighPurBJetTags" ),
196  workingPoint = cms.double(3.00)
197  ),
198  secondaryVertex = cms.PSet(
199  label = cms.InputTag("pfSimpleSecondaryVertexHighEffBJetTags"),
200  workingPoint = cms.double(2.05)
201  ),
202  cvsVertex = cms.PSet(
203  label = cms.InputTag("pfCombinedInclusiveSecondaryVertexV2BJetTags"),
204  workingPoint = cms.double(0.970)
205  # CSV Tight from https://twiki.cern.ch/twiki/bin/viewauth/CMS/BtagRecommendation74X
206  )
207  ),
208  ),
209 
211  massExtras = cms.PSet(
212  lowerEdge = cms.double( 70.),
213  upperEdge = cms.double(110.)
214  ),
215 
225  ),
226 
233  preselection = cms.PSet(
234 
240  vertex = cms.PSet(
241  src = cms.InputTag("offlinePrimaryVertices"),
242  select = cms.string('abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake')
243  )
244  ),
245 
253  selection = cms.VPSet(
254  cms.PSet(
255  label = cms.string("muons:step0"),
256  src = cms.InputTag("muons"),
257  select = cms.string("pt>10 & abs(eta)<2.1 & isGlobalMuon & innerTrack.numberOfValidHits>10 & globalTrack.normalizedChi2>-1 & globalTrack.normalizedChi2<10"),
258  min = cms.int32(1),
259  ),
260  cms.PSet(
261  label = cms.string("pvs:step1"),
262  src = cms.InputTag("offlinePrimaryVertices"),
263  select = cms.string("abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake"),
264  max = cms.int32(10),
265  ),
266  cms.PSet(
267  label = cms.string("pvs:step2"),
268  src = cms.InputTag("offlinePrimaryVertices"),
269  select = cms.string("abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake"),
270  max = cms.int32(8),
271  ),
272  cms.PSet(
273  label = cms.string("pvs:step3"),
274  src = cms.InputTag("offlinePrimaryVertices"),
275  select = cms.string("abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake"),
276  max = cms.int32(6),
277  ),
278  cms.PSet(
279  label = cms.string("pvs:step4"),
280  src = cms.InputTag("offlinePrimaryVertices"),
281  select = cms.string("abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake"),
282  max = cms.int32(4),
283  ),
284  cms.PSet(
285  label = cms.string("pvs:step5"),
286  src = cms.InputTag("offlinePrimaryVertices"),
287  select = cms.string("abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake"),
288  max = cms.int32(2),
289  ),
290  )
291 )
292 
293 topSingleMuonMediumDQM_PU = DQMEDAnalyzer('TopSingleLeptonDQM',
294 
300  setup = cms.PSet(
301 
304  directory = cms.string("Physics/Top/TopSingleMuonMediumDQM_PU/"),
305 
306  sources = cms.PSet(
307  muons = cms.InputTag("muons"),
308  elecs = cms.InputTag("gedGsfElectrons"),
309  jets = cms.InputTag("ak5PFJetsCHS"),
310  mets = cms.VInputTag("met", "tcMet", "pfMet"),
311  pvs = cms.InputTag("offlinePrimaryVertices")
312 
313  ),
314 
315  monitoring = cms.PSet(
316  verbosity = cms.string("DEBUG")
317  ),
318 
320  pvExtras = cms.PSet(
321 
323  select = cms.string("abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake")
324  ),
325 
327  muonExtras = cms.PSet(
328 
330  select = cms.string("pt>20 & abs(eta)<2.1 & isGlobalMuon & innerTrack.numberOfValidHits>10 & globalTrack.normalizedChi2>-1 & globalTrack.normalizedChi2<10 & (isolationR03.sumPt+isolationR03.emEt+isolationR03.hadEt)/pt<0.1"),
331 
333  isolation = cms.string("(isolationR03.sumPt+isolationR03.emEt+isolationR03.hadEt)/pt<0.1")
334  ),
335 
337  jetExtras = cms.PSet(
338 
340  jetCorrector = cms.string("ak5PFL2L3"),
341 
351  select = cms.string("pt>30 & abs(eta)<2.5"),
352 
353  jetBTaggers = cms.PSet(
354  cvsVertex = cms.PSet(
355  label = cms.InputTag("pfCombinedInclusiveSecondaryVertexV2BJetTags"),
356  workingPoint = cms.double(0.970)
357  # CSV Tight from https://twiki.cern.ch/twiki/bin/viewauth/CMS/BtagRecommendation74X
358  )
359  ),
360  ),
361 
363  massExtras = cms.PSet(
364  lowerEdge = cms.double( 70.),
365  upperEdge = cms.double(110.)
366  ),
367 
377  ),
378 
385  preselection = cms.PSet(
386 
392  vertex = cms.PSet(
393  src = cms.InputTag("offlinePrimaryVertices"),
394  select = cms.string('abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake')
395  )
396  ),
397 
405  selection = cms.VPSet(
406  cms.PSet(
407  label = cms.string("muons:step0"),
408  src = cms.InputTag("muons"),
409  select = cms.string("pt>20 & abs(eta)<2.1 & isGlobalMuon & innerTrack.numberOfValidHits>10 & globalTrack.normalizedChi2>-1 & globalTrack.normalizedChi2<10 & (isolationR03.sumPt+isolationR03.emEt+isolationR03.hadEt)/pt<0.1"),
410  min = cms.int32(1),
411  max = cms.int32(1),
412  ),
413  cms.PSet(
414  label = cms.string("pvs:step1"),
415  src = cms.InputTag("offlinePrimaryVertices"),
416  select = cms.string("abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake"),
417  max = cms.int32(10),
418  ),
419  cms.PSet(
420  label = cms.string("pvs:step2"),
421  src = cms.InputTag("offlinePrimaryVertices"),
422  select = cms.string("abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake"),
423  max = cms.int32(8),
424  ),
425  cms.PSet(
426  label = cms.string("pvs:step3"),
427  src = cms.InputTag("offlinePrimaryVertices"),
428  select = cms.string("abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake"),
429  max = cms.int32(6),
430  ),
431  cms.PSet(
432  label = cms.string("pvs:step4"),
433  src = cms.InputTag("offlinePrimaryVertices"),
434  select = cms.string("abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake"),
435  max = cms.int32(4),
436  ),
437  cms.PSet(
438  label = cms.string("pvs:step5"),
439  src = cms.InputTag("offlinePrimaryVertices"),
440  select = cms.string("abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake"),
441  max = cms.int32(2),
442  ),
443  )
444 )
445 
446 topSingleElectronLooseDQM_PU = DQMEDAnalyzer('TopSingleLeptonDQM',
447 
453  setup = cms.PSet(
454 
457  directory = cms.string("Physics/Top/TopSingleElectronLooseDQM_PU/"),
458 
459  sources = cms.PSet(
460  muons = cms.InputTag("muons"),
461  elecs = cms.InputTag("gedGsfElectrons"),
462  jets = cms.InputTag("ak5PFJetsCHS"),
463  mets = cms.VInputTag("met", "tcMet", "pfMet"),
464  pvs = cms.InputTag("offlinePrimaryVertices")
465 
466  ),
467 
468  monitoring = cms.PSet(
469  verbosity = cms.string("DEBUG")
470  ),
471 
473  pvExtras = cms.PSet(
474 
476  select = cms.string("abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake")
477  ),
478 
480  elecExtras = cms.PSet(
481 
482  electronId = cms.PSet( src = cms.InputTag("simpleEleId70cIso"), pattern = cms.int32(1) ),
483 
485  select = cms.string("pt>15 & abs(eta)<2.5"),
486 
488  isolation = cms.string("(dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/pt<0.1"),
489  ),
490 
492  jetExtras = cms.PSet(
493 
495  jetCorrector = cms.string("ak5PFL2L3"),
496 
505  select = cms.string("pt>30 & abs(eta)<2.5"),
506 
507  jetBTaggers = cms.PSet(
508  trackCountingEff = cms.PSet(
509  label = cms.InputTag("pfTrackCountingHighEffBJetTags" ),
510  workingPoint = cms.double(1.25)
511  ),
512  trackCountingPur = cms.PSet(
513  label = cms.InputTag("pfTrackCountingHighPurBJetTags" ),
514  workingPoint = cms.double(3.00)
515  ),
516  secondaryVertex = cms.PSet(
517  label = cms.InputTag("pfSimpleSecondaryVertexHighEffBJetTags"),
518  workingPoint = cms.double(2.05)
519  ),
520  cvsVertex = cms.PSet(
521  label = cms.InputTag("pfCombinedInclusiveSecondaryVertexV2BJetTags"),
522  workingPoint = cms.double(0.970)
523  # CSV Tight from https://twiki.cern.ch/twiki/bin/viewauth/CMS/BtagRecommendation74X
524  )
525  ),
526  ),
527 
529  massExtras = cms.PSet(
530  lowerEdge = cms.double( 70.),
531  upperEdge = cms.double(110.)
532  ),
533 
539  ),
540 
547  preselection = cms.PSet(
548 
554  vertex = cms.PSet(
555  src = cms.InputTag("offlinePrimaryVertices"),
556  select = cms.string('abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake')
557  )
558  ),
559 
567  selection = cms.VPSet(
568  cms.PSet(
569  label = cms.string("elecs:step0"),
570  src = cms.InputTag("gedGsfElectrons"),
571  electronId = cms.PSet( src = cms.InputTag("simpleEleId70cIso"), pattern = cms.int32(1) ),
572  select = cms.string("pt>30 & abs(eta)<2.5"),
573  min = cms.int32(1),
574  ),
575  cms.PSet(
576  label = cms.string("pvs:step1"),
577  src = cms.InputTag("offlinePrimaryVertices"),
578  select = cms.string("abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake"),
579  max = cms.int32(10),
580  ),
581  cms.PSet(
582  label = cms.string("pvs:step2"),
583  src = cms.InputTag("offlinePrimaryVertices"),
584  select = cms.string("abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake"),
585  max = cms.int32(8),
586  ),
587  cms.PSet(
588  label = cms.string("pvs:step3"),
589  src = cms.InputTag("offlinePrimaryVertices"),
590  select = cms.string("abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake"),
591  max = cms.int32(6),
592  ),
593  cms.PSet(
594  label = cms.string("pvs:step4"),
595  src = cms.InputTag("offlinePrimaryVertices"),
596  select = cms.string("abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake"),
597  max = cms.int32(4),
598  ),
599  cms.PSet(
600  label = cms.string("pvs:step5"),
601  src = cms.InputTag("offlinePrimaryVertices"),
602  select = cms.string("abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake"),
603  max = cms.int32(2),
604  ),
605  )
606 )
607 
608 topSingleElectronMediumDQM_PU = DQMEDAnalyzer('TopSingleLeptonDQM',
609 
615  setup = cms.PSet(
616 
619  directory = cms.string("Physics/Top/TopSingleElectronMediumDQM_PU/"),
620 
621  sources = cms.PSet(
622  muons = cms.InputTag("muons"),
623  elecs = cms.InputTag("gedGsfElectrons"),
624  jets = cms.InputTag("ak5PFJetsCHS"),
625  mets = cms.VInputTag("met", "tcMet", "pfMet"),
626  pvs = cms.InputTag("offlinePrimaryVertices")
627 
628  ),
629 
630  monitoring = cms.PSet(
631  verbosity = cms.string("DEBUG")
632  ),
633 
635  pvExtras = cms.PSet(
636 
638  select = cms.string("abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake")
639  ),
640 
642  elecExtras = cms.PSet(
643 
644  electronId = cms.PSet( src = cms.InputTag("simpleEleId70cIso"), pattern = cms.int32(1) ),
645 
647  select = cms.string("pt>25 & abs(eta)<2.5 & (dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/pt<0.1"),
648 
650  isolation = cms.string("(dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/pt<0.1"),
651  ),
652 
654  jetExtras = cms.PSet(
655 
657  jetCorrector = cms.string("ak5PFL2L3"),
658 
667  select = cms.string("pt>30 & abs(eta)<2.5"),
668 
669  jetBTaggers = cms.PSet(
670  trackCountingEff = cms.PSet(
671  label = cms.InputTag("pfTrackCountingHighEffBJetTags" ),
672  workingPoint = cms.double(1.25)
673  ),
674  trackCountingPur = cms.PSet(
675  label = cms.InputTag("pfTrackCountingHighPurBJetTags" ),
676  workingPoint = cms.double(3.00)
677  ),
678  secondaryVertex = cms.PSet(
679  label = cms.InputTag("pfSimpleSecondaryVertexHighEffBJetTags"),
680  workingPoint = cms.double(2.05)
681  ),
682  cvsVertex = cms.PSet(
683  label = cms.InputTag("pfCombinedInclusiveSecondaryVertexV2BJetTags"),
684  workingPoint = cms.double(0.970)
685  # CSV Tight from https://twiki.cern.ch/twiki/bin/viewauth/CMS/BtagRecommendation74X
686  )
687  ),
688  ),
689 
691  massExtras = cms.PSet(
692  lowerEdge = cms.double( 70.),
693  upperEdge = cms.double(110.)
694  ),
695 
701  ),
702 
709  preselection = cms.PSet(
710 
716  vertex = cms.PSet(
717  src = cms.InputTag("offlinePrimaryVertices"),
718  select = cms.string('abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake')
719  )
720  ),
721 
729  selection = cms.VPSet(
730  cms.PSet(
731  label = cms.string("elecs:step0"),
732  src = cms.InputTag("gedGsfElectrons"),
733  electronId = cms.PSet( src = cms.InputTag("simpleEleId70cIso"), pattern = cms.int32(1) ),
734  select = cms.string("pt>25 & abs(eta)<2.5 & (dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/pt<0.1"),
735  min = cms.int32(1),
736  max = cms.int32(1),
737  ),
738  cms.PSet(
739  label = cms.string("pvs:step1"),
740  src = cms.InputTag("offlinePrimaryVertices"),
741  select = cms.string("abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake"),
742  max = cms.int32(10),
743  ),
744  cms.PSet(
745  label = cms.string("pvs:step2"),
746  src = cms.InputTag("offlinePrimaryVertices"),
747  select = cms.string("abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake"),
748  max = cms.int32(8),
749  ),
750  cms.PSet(
751  label = cms.string("pvs:step3"),
752  src = cms.InputTag("offlinePrimaryVertices"),
753  select = cms.string("abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake"),
754  max = cms.int32(6),
755  ),
756  cms.PSet(
757  label = cms.string("pvs:step4"),
758  src = cms.InputTag("offlinePrimaryVertices"),
759  select = cms.string("abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake"),
760  max = cms.int32(4),
761  ),
762  cms.PSet(
763  label = cms.string("pvs:step5"),
764  src = cms.InputTag("offlinePrimaryVertices"),
765  select = cms.string("abs(x)<1. & abs(y)<1. & abs(z)<20. & tracksSize>3 & !isFake"),
766  max = cms.int32(2),
767  ),
768  )
769 )
770 
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1