From a03535d2339fafb2f5bfbd0230480b2e1f3b33cd Mon Sep 17 00:00:00 2001 From: Michal Bluj Date: Tue, 18 Jul 2017 12:33:44 +0200 Subject: [PATCH] customization for phase2: fixed strips and tighter dz for isolation --- RecoTauTag/RecoTau/python/PFRecoTauQualityCuts_cfi.py | 4 ++++ RecoTauTag/RecoTau/python/RecoTauPiZeroProducer_cfi.py | 7 +++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/RecoTauTag/RecoTau/python/PFRecoTauQualityCuts_cfi.py b/RecoTauTag/RecoTau/python/PFRecoTauQualityCuts_cfi.py index d5784136f28f4..243e1b5c3a89e 100644 --- a/RecoTauTag/RecoTau/python/PFRecoTauQualityCuts_cfi.py +++ b/RecoTauTag/RecoTau/python/PFRecoTauQualityCuts_cfi.py @@ -1,4 +1,5 @@ import FWCore.ParameterSet.Config as cms +from Configuration.Eras.Modifier_phase2_common_cff import phase2_common # A set of quality cuts used for the PFTaus. Note that the quality cuts are # different for the signal and isolation regions. (Currently, only in Nhits) @@ -51,3 +52,6 @@ ##leadingTrkOrPFCandOption = cms.string("minLeadTrackOrPFCand") ##leadingTrkOrPFCandOption = cms.string("firstTrack") #default behaviour until 710 (first track in the collection) ) +phase2_common.toModify(PFTauQualityCuts, + isolationQualityCuts = dict( maxDeltaZ = cms.double(0.1) ) ) + diff --git a/RecoTauTag/RecoTau/python/RecoTauPiZeroProducer_cfi.py b/RecoTauTag/RecoTau/python/RecoTauPiZeroProducer_cfi.py index b34c5f0dc29be..1b3a060af37c7 100644 --- a/RecoTauTag/RecoTau/python/RecoTauPiZeroProducer_cfi.py +++ b/RecoTauTag/RecoTau/python/RecoTauPiZeroProducer_cfi.py @@ -3,7 +3,7 @@ import RecoTauTag.RecoTau.RecoTauPiZeroBuilderPlugins_cfi as builders import RecoTauTag.RecoTau.RecoTauPiZeroQualityPlugins_cfi as ranking from RecoTauTag.RecoTau.PFRecoTauPFJetInputs_cfi import PFRecoTauPFJetInputs - +from Configuration.Eras.Modifier_phase2_common_cff import phase2_common ak4PFJetsLegacyHPSPiZeros = cms.EDProducer( "RecoTauPiZeroProducer", @@ -21,7 +21,8 @@ ranking.isInStrip ) ) - +phase2_common.toModify(ak4PFJetsLegacyHPSPiZeros, + builders = cms.VPSet(builders.modStrips) ) ak4PFJetsRecoTauGreedyPiZeros = ak4PFJetsLegacyHPSPiZeros.clone( jetSrc = PFRecoTauPFJetInputs.inputJetCollection, @@ -70,5 +71,3 @@ ranking.legacyPFTauDecayModeSelection ), ) - -