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 from RecoTauTag.RecoTau.PFRecoTauPFJetInputs_cfi import PFRecoTauPFJetInputs
8 
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()), # CV: apply minimum Pt cut as sanity check
13  builders = cms.VPSet(
14  builders.chargedPFCandidates,
15  builders.tracks,
16  builders.PFNeutralHadrons
17  ),
18  ranking = cms.VPSet(
19  ranking.isChargedPFCandidate,
20  ranking.isTrack,
21  ranking.isPFNeutralHadron
22  )
23 )