Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[14.0.X] Fix Phase2 ditau HLT path (with DeepTau Isolation) #43912

Merged
merged 1 commit into from
Feb 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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