CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PFRecoTauChargedHadronProducer_cfi.py
Go to the documentation of this file.
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 
8 ak5PFJetsRecoTauChargedHadrons = cms.EDProducer("PFRecoTauChargedHadronProducer",
9  jetSrc = cms.InputTag("ak5PFJets"),
10  jetRegionSrc = cms.InputTag("recoTauAK5PFJets08Region"),
11  outputSelection = cms.string('pt > %1.1f' % PFTauQualityCuts.signalQualityCuts.minTrackPt.value()), # CV: apply minimum Pt cut as sanity check
12  builders = cms.VPSet(
13  builders.chargedPFCandidates,
14  builders.tracks,
15  builders.PFNeutralHadrons
16  ),
17  ranking = cms.VPSet(
18  ranking.isChargedPFCandidate,
19  ranking.isTrack,
20  ranking.isPFNeutralHadron
21  )
22 )