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 jetRegionSrc = cms.InputTag(
"recoTauAK4PFJets08Region"),
12 outputSelection = cms.string(
'pt > %1.1f' % PFTauQualityCuts.signalQualityCuts.minTrackPt.value()),
14 builders.chargedPFCandidates,
16 builders.PFNeutralHadrons
19 ranking.isChargedPFCandidate,
21 ranking.isPFNeutralHadron