1 import FWCore.ParameterSet.Config
as cms
3 import RecoTauTag.RecoTau.PFRecoTauChargedHadronBuilderPlugins_cfi
as builders
4 import RecoTauTag.RecoTau.PFRecoTauChargedHadronQualityPlugins_cfi
as ranking
7 from RecoTauTag.RecoTau.PFRecoTauPFJetInputs_cfi
import PFRecoTauPFJetInputs
9 ak4PFJetsRecoTauChargedHadrons = cms.EDProducer(
"PFRecoTauChargedHadronProducer",
10 jetSrc = PFRecoTauPFJetInputs.inputJetCollection,
11 minJetPt = PFRecoTauPFJetInputs.minJetPt,
12 maxJetAbsEta = PFRecoTauPFJetInputs.maxJetAbsEta,
13 outputSelection = cms.string(
'pt > %1.1f' % PFTauQualityCuts.signalQualityCuts.minTrackPt.value()),
15 builders.chargedPFCandidates,
17 builders.PFNeutralHadrons
20 ranking.isChargedPFCandidate,
22 ranking.isPFNeutralHadron