CMS 3D CMS Logo

PFRecoTauChargedHadronProducer_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 import RecoTauTag.RecoTau.PFRecoTauChargedHadronBuilderPlugins_cfi as builders
4 import RecoTauTag.RecoTau.PFRecoTauChargedHadronQualityPlugins_cfi as ranking
5 
6 from RecoTauTag.RecoTau.PFRecoTauQualityCuts_cfi import PFTauQualityCuts
7 from RecoTauTag.RecoTau.PFRecoTauPFJetInputs_cfi import PFRecoTauPFJetInputs
8 
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()), # CV: apply minimum Pt cut as sanity check
14  builders = cms.VPSet(
15  builders.chargedPFCandidates,
16  builders.tracks,
17  builders.PFNeutralHadrons
18  ),
19  ranking = cms.VPSet(
20  ranking.isChargedPFCandidate,
21  ranking.isTrack,
22  ranking.isPFNeutralHadron
23  )
24 )