CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/PhysicsTools/PatAlgos/python/cleaningLayer1/tauCleaner_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 cleanPatTaus = cms.EDProducer("PATTauCleaner",
00004     src = cms.InputTag("selectedPatTaus"),
00005 
00006     # preselection (any string-based cut on pat::Tau)
00007     preselection = cms.string(
00008         'tauID("decayModeFinding") > 0.5 &'
00009         ' tauID("byLooseCombinedIsolationDeltaBetaCorr") > 0.5 &'
00010         ' tauID("againstMuonMedium") > 0.5 &'
00011         ' tauID("againstElectronMedium") > 0.5'
00012     ),
00013 
00014     # overlap checking configurables
00015     checkOverlaps = cms.PSet(
00016         muons = cms.PSet(
00017            src       = cms.InputTag("cleanPatMuons"),
00018            algorithm = cms.string("byDeltaR"),
00019            preselection        = cms.string(""),
00020            deltaR              = cms.double(0.3),
00021            checkRecoComponents = cms.bool(False), # don't check if they share some AOD object ref
00022            pairCut             = cms.string(""),
00023            requireNoOverlaps   = cms.bool(False), # overlaps don't cause the electron to be discared
00024         ),
00025         electrons = cms.PSet(
00026            src       = cms.InputTag("cleanPatElectrons"),
00027            algorithm = cms.string("byDeltaR"),
00028            preselection        = cms.string(""),
00029            deltaR              = cms.double(0.3),
00030            checkRecoComponents = cms.bool(False), # don't check if they share some AOD object ref
00031            pairCut             = cms.string(""),
00032            requireNoOverlaps   = cms.bool(False), # overlaps don't cause the electron to be discared
00033         ),
00034     ),
00035 
00036     # finalCut (any string-based cut on pat::Tau)
00037     finalCut = cms.string('pt > 20. & abs(eta) < 2.3'),
00038 )