Skip to content

TrigCost/RatesAnalysis: Re-added and updated the AMI MC Cross-section tool

Jean Yves Beaucamp requested to merge jbeaucam/athena:trigger-rates-mc-ami into 23.0

This fixes the crashes that are currently produced when running RatesAnalysisFullMenu.py on MC AODs without manually specifying the cross-section and filter efficiencies since the tool being called to automatically retrieve those values from AMI (https://gitlab.cern.ch/atlas/athena/-/blob/release/22.0.8/Trigger/TrigCost/RatesAnalysisExamplesXAOD/python/RatesGetCrossSectionMC.py) was removed in 22.0.9.

The tool was re-implemented using AMI Provenance to find the corresponding EVNT dataset for any official 'mcXX_13XXTeV' or 'validX' dataset, from where the cross-sections and filter efficiencies are extracted.

Merge request reports