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.
1 import FWCore.ParameterSet.Config as cms
2 
3 ## string added as general entry for module definition here and use in tauTools.py
4 preselection = cms.string(
5  'tauID("decayModeFinding") > 0.5 &'
6  ' tauID("byLooseCombinedIsolationDeltaBetaCorr3Hits") > 0.5 &'
7  ' tauID("againstMuonTight3") > 0.5 &'
8  ' tauID("againstElectronVLooseMVA6") > 0.5'
9 )
10 
11 cleanPatTaus = cms.EDProducer("PATTauCleaner",
12  src = cms.InputTag("selectedPatTaus"),
13 
14  # preselection (any string-based cut on pat::Tau)
15  preselection = cms.string(
16  'tauID("decayModeFinding") > 0.5 &'
17  ' tauID("byLooseCombinedIsolationDeltaBetaCorr3Hits") > 0.5 &'
18  ' tauID("againstMuonTight3") > 0.5 &'
19  ' tauID("againstElectronVLooseMVA6") > 0.5'
20  ),
21 
22  # overlap checking configurables
23  checkOverlaps = cms.PSet(
24  muons = cms.PSet(
25  src = cms.InputTag("cleanPatMuons"),
26  algorithm = cms.string("byDeltaR"),
27  preselection = cms.string(""),
28  deltaR = cms.double(0.3),
29  checkRecoComponents = cms.bool(False), # don't check if they share some AOD object ref
30  pairCut = cms.string(""),
31  requireNoOverlaps = cms.bool(False), # overlaps don't cause the electron to be discared
32  ),
33  electrons = cms.PSet(
34  src = cms.InputTag("cleanPatElectrons"),
35  algorithm = cms.string("byDeltaR"),
36  preselection = cms.string(""),
37  deltaR = cms.double(0.3),
38  checkRecoComponents = cms.bool(False), # don't check if they share some AOD object ref
39  pairCut = cms.string(""),
40  requireNoOverlaps = cms.bool(False), # overlaps don't cause the electron to be discared
41  ),
42  ),
43 
44  # finalCut (any string-based cut on pat::Tau)
45  finalCut = cms.string('pt > 18. & abs(eta) < 2.3'),
46 )