CMS 3D CMS Logo

PFRecoTauChargedHadronProducer_cff.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.pfRecoTauChargedHadronProducer_cfi import pfRecoTauChargedHadronProducer
7 from RecoTauTag.RecoTau.PFRecoTauQualityCuts_cfi import PFTauQualityCuts
8 from RecoTauTag.RecoTau.PFRecoTauPFJetInputs_cfi import PFRecoTauPFJetInputs
9 
10 ak4PFJetsRecoTauChargedHadrons = pfRecoTauChargedHadronProducer.clone(
11  jetSrc = PFRecoTauPFJetInputs.inputJetCollection,
12  minJetPt = PFRecoTauPFJetInputs.minJetPt,
13  maxJetAbsEta = PFRecoTauPFJetInputs.maxJetAbsEta,
14  outputSelection = 'pt > %1.1f' % PFTauQualityCuts.signalQualityCuts.minTrackPt.value(), # CV: apply minimum Pt cut as sanity check
15  builders = cms.VPSet(
16  builders.chargedPFCandidates,
17  builders.tracks,
18  builders.PFNeutralHadrons
19  ),
20  ranking = cms.VPSet(
21  ranking.isChargedPFCandidate,
22  ranking.isTrack,
23  ranking.isPFNeutralHadron
24  )
25 )
PFRecoTauQualityCuts_cfi