Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:33:07

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 ## ---
0004 ##
0005 ## this cff file keep all object selections used for the TopPAG
0006 ## reference selection for ICHEP 2010
0007 ##
0008 ## ---
0009 from PhysicsTools.PatAlgos.cleaningLayer1.muonCleaner_cfi import *
0010 looseMuons = cleanPatMuons.clone(
0011     preselection =
0012     'isGlobalMuon & isTrackerMuon &'
0013     'pt > 20. &'
0014     'abs(eta) < 2.1 &'
0015     '(trackIso+caloIso)/pt < 0.1 &'
0016     'innerTrack.numberOfValidHits > 10 &'
0017     'globalTrack.normalizedChi2 < 10.0 &'
0018     'globalTrack.hitPattern.numberOfValidMuonHits > 0 &'
0019     'abs(dB) < 0.02',
0020     checkOverlaps = cms.PSet(
0021       jets = cms.PSet(
0022         src                 = cms.InputTag("goodJets"),
0023         algorithm           = cms.string("byDeltaR"),
0024         preselection        = cms.string(""),
0025         deltaR              = cms.double(0.3),
0026         checkRecoComponents = cms.bool(False),
0027         pairCut             = cms.string(""),
0028         requireNoOverlaps   = cms.bool(True),
0029       )
0030     )
0031 )
0032 
0033 tightMuons = cleanPatMuons.clone(
0034     src = 'looseMuons',
0035     preselection = '(trackIso+caloIso)/pt < 0.05'
0036 )
0037 
0038 from PhysicsTools.PatAlgos.selectionLayer1.muonSelector_cfi import *
0039 vetoMuons = selectedPatMuons.clone(
0040     src = 'selectedPatMuons',
0041     cut =
0042     'isGlobalMuon &'
0043     'pt > 10. &'
0044     'abs(eta) < 2.5 &'
0045     '(trackIso+caloIso)/pt < 0.2'
0046 )
0047 
0048 from PhysicsTools.PatAlgos.selectionLayer1.electronSelector_cfi import *
0049 vetoElecs = selectedPatElectrons.clone(
0050     src = 'selectedPatElectrons',
0051     cut =
0052     'et > 15. &'
0053     'abs(eta) < 2.5 &'
0054     '(dr03TkSumPt+dr03EcalRecHitSumEt+dr03HcalTowerSumEt)/et <  0.2'
0055  )
0056 
0057 from PhysicsTools.PatAlgos.selectionLayer1.jetSelector_cfi import *
0058 goodJets = selectedPatJets.clone(
0059     src = 'selectedPatJets',
0060     cut =
0061     'pt > 30. &'
0062     'abs(eta) < 2.4 &'
0063     'emEnergyFraction > 0.01 &'
0064     'jetID.n90Hits > 1 &'
0065     'jetID.fHPD < 0.98'
0066 )
0067 
0068 topObjectSelection = cms.Sequence(
0069     goodJets   *
0070     vetoElecs  *
0071     vetoMuons  *
0072     looseMuons *
0073     tightMuons
0074  )