Skip to content

Commit

Permalink
Merge pull request #54 from mbluj/CMSSW_9_3_X_tau-pog_phase2-fixed-st…
Browse files Browse the repository at this point in the history
…rips

Customization for phase2
  • Loading branch information
mbluj authored Jul 18, 2017
2 parents c2f1f6c + a03535d commit be63ade
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 4 additions & 0 deletions RecoTauTag/RecoTau/python/PFRecoTauQualityCuts_cfi.py
Original file line number Diff line number Diff line change
@@ -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)
Expand Down Expand Up @@ -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) ) )

7 changes: 3 additions & 4 deletions RecoTauTag/RecoTau/python/RecoTauPiZeroProducer_cfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -21,7 +21,8 @@
ranking.isInStrip
)
)

phase2_common.toModify(ak4PFJetsLegacyHPSPiZeros,
builders = cms.VPSet(builders.modStrips) )

ak4PFJetsRecoTauGreedyPiZeros = ak4PFJetsLegacyHPSPiZeros.clone(
jetSrc = PFRecoTauPFJetInputs.inputJetCollection,
Expand Down Expand Up @@ -70,5 +71,3 @@
ranking.legacyPFTauDecayModeSelection
),
)


0 comments on commit be63ade

Please sign in to comment.