Skip to content

Commit e34f98f

Browse files
committed
protection against missing bx-1 info
1 parent 0079fe8 commit e34f98f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

PhysicsTools/NanoAOD/plugins/L1TriggerResultsConverter.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,8 @@ void L1TriggerResultsConverter::produce(edm::Event& iEvent, const edm::EventSetu
138138
const auto& resultsProd = iEvent.get(token_);
139139
if (not resultsProd.isEmpty(0)) {
140140
wordp = &resultsProd.at(0, 0).getAlgoDecisionFinal();
141+
}
142+
if (not resultsProd.isEmpty(-1)) {
141143
wordp_bxmin1 = &resultsProd.at(-1, 0).getAlgoDecisionFinal();
142144
}
143145
if (store_unprefireable_bits_) {

0 commit comments

Comments
 (0)