File indexing completed on 2024-04-06 12:27:53
0001 import FWCore.ParameterSet.Config as cms
0002
0003 import RecoTauTag.RecoTau.RecoTauPiZeroBuilderPlugins_cfi as builders
0004 import RecoTauTag.RecoTau.RecoTauPiZeroQualityPlugins_cfi as ranking
0005 from RecoTauTag.RecoTau.PFRecoTauPFJetInputs_cfi import PFRecoTauPFJetInputs
0006 from RecoTauTag.RecoTau.recoTauPiZeroProducer_cfi import recoTauPiZeroProducer
0007
0008 from Configuration.Eras.Modifier_phase2_common_cff import phase2_common
0009
0010
0011 ak4PFJetsLegacyHPSPiZeros = recoTauPiZeroProducer.clone(
0012 jetSrc = PFRecoTauPFJetInputs.inputJetCollection,
0013 minJetPt = PFRecoTauPFJetInputs.minJetPt,
0014 maxJetAbsEta = PFRecoTauPFJetInputs.maxJetAbsEta,
0015 builders = cms.VPSet(
0016 builders.modStrips2
0017 ),
0018 ranking = cms.VPSet(
0019 ranking.isInStrip
0020 ),
0021 )
0022 phase2_common.toModify(ak4PFJetsLegacyHPSPiZeros,
0023 builders = cms.VPSet(builders.modStrips) )
0024
0025
0026 ak4PFJetsRecoTauGreedyPiZeros = recoTauPiZeroProducer.clone(
0027 jetSrc = PFRecoTauPFJetInputs.inputJetCollection,
0028 minJetPt = PFRecoTauPFJetInputs.minJetPt,
0029 maxJetAbsEta = PFRecoTauPFJetInputs.maxJetAbsEta,
0030 outputSelection = 'pt > 1.5',
0031 builders = cms.VPSet(
0032 builders.comboStrips
0033 ),
0034 ranking = cms.VPSet(
0035 ranking.greedy
0036 ),
0037 )
0038
0039
0040 ak4PFJetsRecoTauPiZeros = recoTauPiZeroProducer.clone(
0041 jetSrc = PFRecoTauPFJetInputs.inputJetCollection,
0042 minJetPt = PFRecoTauPFJetInputs.minJetPt,
0043 maxJetAbsEta = PFRecoTauPFJetInputs.maxJetAbsEta,
0044 outputSelection = 'pt > 1.5',
0045 builders = cms.VPSet(
0046 builders.combinatoricPhotonPairs,
0047 builders.modStrips2
0048 ),
0049 ranking = cms.VPSet(
0050 ranking.nearPiZeroMassBarrel,
0051 ranking.nearPiZeroMassEndcap,
0052 ranking.isInStrip
0053 ),
0054 )
0055
0056
0057 ak4PFJetsLegacyTaNCPiZeros = recoTauPiZeroProducer.clone(
0058 jetSrc = PFRecoTauPFJetInputs.inputJetCollection,
0059 minJetPt = PFRecoTauPFJetInputs.minJetPt,
0060 maxJetAbsEta = PFRecoTauPFJetInputs.maxJetAbsEta,
0061 outputSelection = 'pt > 1.5',
0062 builders = cms.VPSet(
0063 builders.allSinglePhotons,
0064 builders.combinatoricPhotonPairs
0065 ),
0066 ranking = cms.VPSet(
0067 ranking.legacyPFTauDecayModeSelection
0068 ),
0069 )