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 CaloRecoTauDiscriminationByFlightPathSignificance = cms.EDProducer("CaloRecoTauDiscriminationByFlightPathSignificance", 00007 CaloTauProducer = cms.InputTag('caloRecoTauProducer'), #tau collection to discriminate 00008 00009 Prediscriminants = requireLeadTrack, 00010 BooleanOutput = cms.bool(True), 00011 00012 flightPathSig = cms.double(1.5), # used only if threeProngSelection == true 00013 UsePVerror = cms.bool(True), 00014 00015 qualityCuts = PFTauQualityCuts,# set the standard quality cuts 00016 PVProducer = PFTauQualityCuts.primaryVertexSrc # needed for quality cuts 00017 )