1 import FWCore.ParameterSet.Config
as cms
3 import RecoTauTag.RecoTau.RecoTauPiZeroBuilderPlugins_cfi
as builders
4 import RecoTauTag.RecoTau.RecoTauPiZeroQualityPlugins_cfi
as ranking
5 from RecoTauTag.RecoTau.PFRecoTauPFJetInputs_cfi
import PFRecoTauPFJetInputs
8 ak4PFJetsLegacyHPSPiZeros = cms.EDProducer(
9 "RecoTauPiZeroProducer",
10 jetSrc = PFRecoTauPFJetInputs.inputJetCollection,
11 minJetPt = PFRecoTauPFJetInputs.minJetPt,
12 maxJetAbsEta = PFRecoTauPFJetInputs.maxJetAbsEta,
13 massHypothesis = cms.double(0.136),
14 outputSelection = cms.string(
'pt > 0'),
26 ak4PFJetsRecoTauGreedyPiZeros = ak4PFJetsLegacyHPSPiZeros.clone(
27 jetSrc = PFRecoTauPFJetInputs.inputJetCollection,
28 minJetPt = PFRecoTauPFJetInputs.minJetPt,
29 maxJetAbsEta = PFRecoTauPFJetInputs.maxJetAbsEta,
30 massHypothesis = cms.double(0.136),
31 outputSelection = cms.string(
'pt > 1.5'),
40 ak4PFJetsRecoTauPiZeros = ak4PFJetsLegacyHPSPiZeros.clone(
41 jetSrc = PFRecoTauPFJetInputs.inputJetCollection,
42 minJetPt = PFRecoTauPFJetInputs.minJetPt,
43 maxJetAbsEta = PFRecoTauPFJetInputs.maxJetAbsEta,
44 massHypothesis = cms.double(0.136),
45 outputSelection = cms.string(
'pt > 1.5'),
47 builders.combinatoricPhotonPairs,
53 ranking.nearPiZeroMassBarrel,
54 ranking.nearPiZeroMassEndcap,
59 ak4PFJetsLegacyTaNCPiZeros = ak4PFJetsLegacyHPSPiZeros.clone(
60 jetSrc = PFRecoTauPFJetInputs.inputJetCollection,
61 minJetPt = PFRecoTauPFJetInputs.minJetPt,
62 maxJetAbsEta = PFRecoTauPFJetInputs.maxJetAbsEta,
63 massHypothesis = cms.double(0.136),
64 outputSelection = cms.string(
'pt > 1.5'),
66 builders.allSinglePhotons,
67 builders.combinatoricPhotonPairs
70 ranking.legacyPFTauDecayModeSelection