00001 import FWCore.ParameterSet.Config as cms 00002 00003 from RecoTauTag.RecoTau.PFRecoTauQualityCuts_cfi import PFTauQualityCuts 00004 from RecoTauTag.RecoTau.TauDiscriminatorTools import requireLeadTrack 00005 00006 PFRecoTauDiscriminationByTauPolarization = cms.EDProducer("PFRecoTauDiscriminationByTauPolarization", 00007 PFTauProducer = cms.InputTag('pfRecoTauProducer'), #tau collection to discriminate 00008 00009 Prediscriminants = requireLeadTrack, 00010 BooleanOutput = cms.bool(True), 00011 00012 rtau = cms.double(0.8), # minimum value for the polarization variable 00013 00014 qualityCuts = PFTauQualityCuts,# set the standard quality cuts 00015 PVProducer = PFTauQualityCuts.primaryVertexSrc # needed for quality cuts 00016 )