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
6 from RecoTauTag.RecoTau.recoTauPiZeroProducer_cfi
import recoTauPiZeroProducer
8 from Configuration.Eras.Modifier_phase2_common_cff
import phase2_common
11 ak4PFJetsLegacyHPSPiZeros = recoTauPiZeroProducer.clone(
12 jetSrc = PFRecoTauPFJetInputs.inputJetCollection,
13 minJetPt = PFRecoTauPFJetInputs.minJetPt,
14 maxJetAbsEta = PFRecoTauPFJetInputs.maxJetAbsEta,
22 phase2_common.toModify(ak4PFJetsLegacyHPSPiZeros,
23 builders = cms.VPSet(builders.modStrips) )
26 ak4PFJetsRecoTauGreedyPiZeros = recoTauPiZeroProducer.clone(
27 jetSrc = PFRecoTauPFJetInputs.inputJetCollection,
28 minJetPt = PFRecoTauPFJetInputs.minJetPt,
29 maxJetAbsEta = PFRecoTauPFJetInputs.maxJetAbsEta,
30 outputSelection = cms.string(
'pt > 1.5'),
40 ak4PFJetsRecoTauPiZeros = recoTauPiZeroProducer.clone(
41 jetSrc = PFRecoTauPFJetInputs.inputJetCollection,
42 minJetPt = PFRecoTauPFJetInputs.minJetPt,
43 maxJetAbsEta = PFRecoTauPFJetInputs.maxJetAbsEta,
44 outputSelection = cms.string(
'pt > 1.5'),
46 builders.combinatoricPhotonPairs,
50 ranking.nearPiZeroMassBarrel,
51 ranking.nearPiZeroMassEndcap,
57 ak4PFJetsLegacyTaNCPiZeros = recoTauPiZeroProducer.clone(
58 jetSrc = PFRecoTauPFJetInputs.inputJetCollection,
59 minJetPt = PFRecoTauPFJetInputs.minJetPt,
60 maxJetAbsEta = PFRecoTauPFJetInputs.maxJetAbsEta,
61 outputSelection = cms.string(
'pt > 1.5'),
63 builders.allSinglePhotons,
64 builders.combinatoricPhotonPairs
67 ranking.legacyPFTauDecayModeSelection