00001 import FWCore.ParameterSet.Config as cms 00002 from RecoTauTag.RecoTau.TauDiscriminatorTools import requireLeadTrack 00003 00004 PFRecoTauDiscriminationAgainstElectronDeadECAL = cms.EDProducer( 00005 "PFRecoTauDiscriminationAgainstElectronDeadECAL", 00006 00007 # tau collection to discriminate 00008 PFTauProducer = cms.InputTag('pfTauProducer'), 00009 00010 # Require leading pion ensures that: 00011 # 1) these is at least one track above threshold (0.5 GeV) in the signal cone 00012 # 2) a track OR a pi-zero in the signal cone has pT > 5 GeV 00013 Prediscriminants = requireLeadTrack, 00014 00015 # status flag indicating dead/masked ECAL crystals 00016 minStatus = cms.uint32(12), 00017 00018 # region around dead/masked ECAL crystals that is to be cut 00019 dR = cms.double(0.08) 00020 )