Skip to content
Open
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
4 changes: 2 additions & 2 deletions PWGDQ/Tasks/dqEfficiency_withAssoc.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -961,7 +961,7 @@ struct AnalysisMuonSelection {

for (auto& assoc : assocs) {
auto event = assoc.template reducedevent_as<TEvents>();
if (!event.isEventSelected_bit(0)) {
if (!event.has_reducedMCevent() || !event.isEventSelected_bit(0)) { // condition on reducedMCevent to avoid rec. events with no generated event
muonSel(0);
continue;
}
Expand Down Expand Up @@ -1824,7 +1824,7 @@ struct AnalysisSameEventPairing {
constexpr bool trackHasCov = ((TTrackFillMap & VarManager::ObjTypes::ReducedTrackBarrelCov) > 0);

for (auto& event : events) {
if (!event.isEventSelected_bit(0)) {
if (!event.has_reducedMCevent() || !event.isEventSelected_bit(0)) { // condition on reducedMCevent to avoid rec. events with no generated event
continue;
}
uint8_t evSel = event.isEventSelected_raw();
Expand Down
Loading