00001 import FWCore.ParameterSet.Config as cms 00002 00003 #from RecoTauTag.RecoTau.PFRecoTauQualityCuts_cfi import * 00004 from RecoTauTag.RecoTau.TauDiscriminatorTools import requireLeadTrack 00005 00006 CaloRecoTauDiscriminationByTauPolarization = cms.EDProducer("CaloRecoTauDiscriminationByTauPolarization", 00007 CaloTauProducer = cms.InputTag('caloRecoTauProducer'), #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 = cms.InputTag('offlinePrimaryVertices'), # needed for quality cuts 00016 )