TrigInDetAnalysisExample: optimize trigger decision retrieval
Use new isPassedForEach
to retrieve the decision of a chain group, which is faster than calling isPassed
for each chain in the group.
Also protect DEBUG printout loop and use thread-safe std::call_once
.