Skip to content

AnalysisTop: Setup only triggers that are needed

Tomas Dado requested to merge tdado/athena:AT-TriggerDetection into 21.2

With non-DAOD_PHYS trigger tools we could pass triggers for each year and the triggers for irrelevant years (e.g. 2015 triggers for mc16e sample) were simply ignored and not letting events pass. The tools needed for DAOD_PHYS however crash the code when irrelevant, but valid triggers are setup.

Implementing changes so the relevant triggers are identified and only these are passed to the tools to keep the configuration files same when running on DAOD_PHYS.

While working on the changes I identified unused code in two places. I took this opportunity to delete that code.

Edited by Tomas Dado

Merge request reports