CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_4_5_patch3/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("leadingTrackFinding") > 0.5 &'
00009         ' tauID("leadingPionPtCut") > 0.5 &'
00010         ' tauID("byIsolationUsingLeadingPion") > 0.5 &'
00011         ' tauID("againstMuon") > 0.5 &'
00012         ' tauID("againstElectron") > 0.5 &'
00013         ' (signalPFChargedHadrCands.size() = 1 | signalPFChargedHadrCands.size() = 3)'
00014     ),
00015 
00016     # overlap checking configurables
00017     checkOverlaps = cms.PSet(
00018         muons = cms.PSet(
00019            src       = cms.InputTag("cleanPatMuons"),
00020            algorithm = cms.string("byDeltaR"),
00021            preselection        = cms.string(""),
00022            deltaR              = cms.double(0.3),
00023            checkRecoComponents = cms.bool(False), # don't check if they share some AOD object ref
00024            pairCut             = cms.string(""),
00025            requireNoOverlaps   = cms.bool(False), # overlaps don't cause the electron to be discared
00026         ),
00027         electrons = cms.PSet(
00028            src       = cms.InputTag("cleanPatElectrons"),
00029            algorithm = cms.string("byDeltaR"),
00030            preselection        = cms.string(""),
00031            deltaR              = cms.double(0.3),
00032            checkRecoComponents = cms.bool(False), # don't check if they share some AOD object ref
00033            pairCut             = cms.string(""),
00034            requireNoOverlaps   = cms.bool(False), # overlaps don't cause the electron to be discared
00035         ),
00036     ),
00037 
00038     # finalCut (any string-based cut on pat::Tau)
00039     finalCut = cms.string(''),
00040 )