Skip to content

Fix bug in radiative lines

Sascha Stahl requested to merge sstahl_fix_bugs into master

Fixes bug in inclusive radiative lines. The functions used in extra_outputs called functions in the function declaration. This the functions were already called when importing the module. Thus, they did not respect the bind environment and inputs were taken from file.

Added check in test_hlt2_all_lines_with_reco that tests that no unpackers for proto particles or primary vertices are configured.

The bug could have been spotted by running the test_hlt2_all_lines_with_reco over more events as it leads to a crash.

Merge request reports