CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
tauCleaner_cfi.py
Go to the documentation of this file.
2 
3 cleanPatTaus = cms.EDProducer("PATTauCleaner",
4  src = cms.InputTag("selectedPatTaus"),
5 
6  # preselection (any string-based cut on pat::Tau)
7  preselection = cms.string(
8  'tauID("decayModeFinding") > 0.5 &'
9  ' tauID("byLooseCombinedIsolationDeltaBetaCorr3Hits") > 0.5 &'
10  ' tauID("againstMuonTight") > 0.5 &'
11  ' tauID("againstElectronMedium") > 0.5'
12  ),
13 
14  # overlap checking configurables
15  checkOverlaps = cms.PSet(
16  muons = cms.PSet(
17  src = cms.InputTag("cleanPatMuons"),
18  algorithm = cms.string("byDeltaR"),
19  preselection = cms.string(""),
20  deltaR = cms.double(0.3),
21  checkRecoComponents = cms.bool(False), # don't check if they share some AOD object ref
22  pairCut = cms.string(""),
23  requireNoOverlaps = cms.bool(False), # overlaps don't cause the electron to be discared
24  ),
25  electrons = cms.PSet(
26  src = cms.InputTag("cleanPatElectrons"),
27  algorithm = cms.string("byDeltaR"),
28  preselection = cms.string(""),
29  deltaR = cms.double(0.3),
30  checkRecoComponents = cms.bool(False), # don't check if they share some AOD object ref
31  pairCut = cms.string(""),
32  requireNoOverlaps = cms.bool(False), # overlaps don't cause the electron to be discared
33  ),
34  ),
35 
36  # finalCut (any string-based cut on pat::Tau)
37  finalCut = cms.string('pt > 20. & abs(eta) < 2.3'),
38 )