Skip to content

Commit

Permalink
Merge pull request #43912 from mmusich/tauHLTPhase2_devel
Browse files Browse the repository at this point in the history
[14.0.X] Fix Phase2 ditau HLT path (with DeepTau Isolation)
  • Loading branch information
cmsbuild authored Feb 12, 2024
2 parents 9cf3267 + 6d0a80f commit 40857a0
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
pfcands = cms.InputTag( "particleFlowTmp" ),
vertices = cms.InputTag( "hltPhase2PixelVertices" ),
rho = cms.InputTag( "hltFixedGridRhoProducerFastjetAllTau" ),
graph_file = cms.vstring( 'core:RecoTauTag/TrainingFiles/data/DeepTauId/deepTau_2017v2p6_e6_core.pb',
'inner:RecoTauTag/TrainingFiles/data/DeepTauId/deepTau_2017v2p6_e6_inner.pb',
'outer:RecoTauTag/TrainingFiles/data/DeepTauId/deepTau_2017v2p6_e6_outer.pb' ),
graph_file = cms.vstring( 'core:RecoTauTag/TrainingFiles/data/DeepTauId/deepTau_2026v2p5_core.pb',
'inner:RecoTauTag/TrainingFiles/data/DeepTauId/deepTau_2026v2p5_inner.pb',
'outer:RecoTauTag/TrainingFiles/data/DeepTauId/deepTau_2026v2p5_outer.pb' ),
mem_mapped = cms.bool( False ),
year = cms.uint32( 2017 ),
year = cms.uint32( 2026 ),
version = cms.uint32( 2 ),
sub_version = cms.uint32( 1 ),
sub_version = cms.uint32( 5 ),
debug_level = cms.int32( 0 ),
disable_dxy_pca = cms.bool( True ),
disable_hcalFraction_workaround = cms.bool( False ),
Expand Down
3 changes: 1 addition & 2 deletions HLTrigger/Configuration/python/HLT_75e33_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,7 @@
fragment.HLT_Diphoton30_23_IsoCaloId_L1Seeded,

fragment.HLT_DoubleMediumChargedIsoPFTauHPS40_eta2p1,
### Removed temporarily until solution of https://github.com/cms-sw/cmssw/issues/42862
#fragment.HLT_DoubleMediumDeepTauPFTauHPS35_eta2p1,
fragment.HLT_DoubleMediumDeepTauPFTauHPS35_eta2p1,

### Removed temporarily until final decision on L1T tau Phase-2
#fragment.L1T_DoubleNNTau52,
Expand Down
12 changes: 8 additions & 4 deletions RecoTauTag/RecoTau/interface/DeepTauIdBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -1298,10 +1298,14 @@ class DeepTauIdBase : public Producer {
if (sub_version_ == 1)
get(dnn::footprintCorrection) =
sp.scale(tau_funcs.getFootprintCorrectiondR03(tau, tau_ref), tauInputs_indices_[dnn::footprintCorrection]);
else if (sub_version_ == 5)
get(dnn::footprintCorrection) =
sp.scale(tau_funcs.getFootprintCorrection(tau, tau_ref), tauInputs_indices_[dnn::footprintCorrection]);

else if (sub_version_ == 5) {
if (is_online_)
get(dnn::footprintCorrection) =
sp.scale(tau_funcs.getFootprintCorrectiondR03(tau, tau_ref), tauInputs_indices_[dnn::footprintCorrection]);
else
get(dnn::footprintCorrection) =
sp.scale(tau_funcs.getFootprintCorrection(tau, tau_ref), tauInputs_indices_[dnn::footprintCorrection]);
}
get(dnn::neutralIsoPtSum) =
sp.scale(tau_funcs.getNeutralIsoPtSum(tau, tau_ref), tauInputs_indices_[dnn::neutralIsoPtSum]);
get(dnn::neutralIsoPtSumWeight_over_neutralIsoPtSum) =
Expand Down

0 comments on commit 40857a0

Please sign in to comment.