CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
topObjectSelection_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 ## ---
4 ##
5 ## this cff file keep all object selections used for the TopPAG
6 ## reference selection for ICHEP 2010
7 ##
8 ## ---
10 looseMuons = cleanPatMuons.clone(
11  preselection =
12  'isGlobalMuon & isTrackerMuon &'
13  'pt > 20. &'
14  'abs(eta) < 2.1 &'
15  '(trackIso+caloIso)/pt < 0.1 &'
16  'innerTrack.numberOfValidHits > 10 &'
17  'globalTrack.normalizedChi2 < 10.0 &'
18  'globalTrack.hitPattern.numberOfValidMuonHits > 0 &'
19  'abs(dB) < 0.02',
20  checkOverlaps = cms.PSet(
21  jets = cms.PSet(
22  src = cms.InputTag("goodJets"),
23  algorithm = cms.string("byDeltaR"),
24  preselection = cms.string(""),
25  deltaR = cms.double(0.3),
26  checkRecoComponents = cms.bool(False),
27  pairCut = cms.string(""),
28  requireNoOverlaps = cms.bool(True),
29  )
30  )
31 )
32 
33 tightMuons = cleanPatMuons.clone(
34  src = 'looseMuons',
35  preselection = '(trackIso+caloIso)/pt < 0.05'
36 )
37 
39 vetoMuons = selectedPatMuons.clone(
40  src = 'selectedPatMuons',
41  cut =
42  'isGlobalMuon &'
43  'pt > 10. &'
44  'abs(eta) < 2.5 &'
45  '(trackIso+caloIso)/pt < 0.2'
46 )
47 
49 vetoElecs = selectedPatElectrons.clone(
50  src = 'selectedPatElectrons',
51  cut =
52  'et > 15. &'
53  'abs(eta) < 2.5 &'
54  '(dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/et < 0.2'
55  )
56 
58 goodJets = selectedPatJets.clone(
59  src = 'selectedPatJets',
60  cut =
61  'pt > 30. &'
62  'abs(eta) < 2.4 &'
63  'emEnergyFraction > 0.01 &'
64  'jetID.n90Hits > 1 &'
65  'jetID.fHPD < 0.98'
66 )
67 
68 topObjectSelection = cms.Sequence(
69  goodJets *
70  vetoElecs *
71  vetoMuons *
72  looseMuons *
73  tightMuons
74  )