Skip to content

Commit de85c89

Browse files
authored
Merge pull request #48462 from elenavernazza/FixDeepJet
[NGT] Fix filling of ValueMap for DeepJet scores for NanoAOD Phase2 HLT
2 parents c9d99e2 + 68d68bb commit de85c89

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

HLTrigger/NGTScouting/python/HLTNanoProducer_cff.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def hltNanoCustomize(process):
9191
)
9292
process.NANOAODSIMoutput.SelectEvents = cms.untracked.PSet(
9393
SelectEvents = cms.vstring(
94-
[p for p in process.paths if p.startswith('HLT_') or p.startswith('DST_')]
94+
[p for p in process.paths if p.startswith('HLT_') or p.startswith('MC_') or p.startswith('DST_')]
9595
)
9696
)
9797

HLTrigger/NGTScouting/python/hltTriggerAcceptFilter_cfi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
l1tResults = cms.InputTag( "" ),
88
l1tIgnoreMaskAndPrescale = cms.bool( False ),
99
throw = cms.bool( False ),
10-
triggerConditions = cms.vstring('HLT_*')
10+
triggerConditions = cms.vstring('HLT_*', 'MC_*')
1111
)
1212

1313
dstTriggerAcceptFilter = _triggerResultsFilter.clone(

RecoBTag/ONNXRuntime/plugins/DeepFlavourONNXJetTagsProducer.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ void DeepFlavourONNXJetTagsProducer::produce(edm::Event& iEvent, const edm::Even
153153
for (std::size_t flav_n = 0; flav_n < flav_names_.size(); flav_n++) {
154154
(*(output_tags[flav_n]))[jet_ref] = outputs[i_output];
155155
if (produceValueMap_) {
156-
output_scores[flav_n][jet_n] = outputs[flav_n];
156+
output_scores[flav_n][jet_n] = outputs[i_output];
157157
}
158158
++i_output;
159159
}

0 commit comments

Comments
 (0)