File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -961,7 +961,7 @@ struct AnalysisMuonSelection {
961961
962962 for (auto & assoc : assocs) {
963963 auto event = assoc.template reducedevent_as <TEvents>();
964- if (!event.isEventSelected_bit (0 )) {
964+ if (!event.has_reducedMCevent () || !event. isEventSelected_bit (0 )) { // condition on reducedMCevent to avoid rec. events with no generated event
965965 muonSel (0 );
966966 continue ;
967967 }
@@ -1824,7 +1824,7 @@ struct AnalysisSameEventPairing {
18241824 constexpr bool trackHasCov = ((TTrackFillMap & VarManager::ObjTypes::ReducedTrackBarrelCov) > 0 );
18251825
18261826 for (auto & event : events) {
1827- if (!event.isEventSelected_bit (0 )) {
1827+ if (!event.has_reducedMCevent () || !event. isEventSelected_bit (0 )) { // condition on reducedMCevent to avoid rec. events with no generated event
18281828 continue ;
18291829 }
18301830 uint8_t evSel = event.isEventSelected_raw ();
You can’t perform that action at this time.
0 commit comments