Skip to content

ZdcAnalysis: Make sure tools get initialized correctly whatever the configuration.

Scott Snyder requested to merge ssnyder/athena:config.ZdcAnalysis-20250207 into main

A couple tools here were initializing themselves based on a provided configuration string. They tested for two sets of configuration strings. But if the provided configuration didn't match either of these two sets, then the initialization would not be done properly, leading to out-of-bounds vector accesses. Further, the settings made for these two sets were exactly the same. So remove the test of the configuration string, and always so the initialization to match the existing cases.

Fixes a crash seen in the test_data22_AFP.sh ART test, which sets a configuration of LHCf2022.

Merge request reports

Loading