Properly setting HI flags
When acquiring flags, rec.doHeavyIon
was not properly translated to flags.Reco.EnableHI
. This caused problem in legacy HI reconstruction as it uses wrapper for component-accumulator setup for egamma.
This MR fixes that and HImode
or HIPmode
functions are called when appropriate, so rec.doHeavyIon
and flags.Reco.EnableHI
are in sync.
The flag flags.Reco.EnableHI
is automatically set True if flags.Input.ProjectName
has _hi
in it. It worked for data (ART test has data15_hi
) so the problem was not present, but not for MC (ART test has mc16_5TeV
or mc21_13p6TeV
).
Tagging @stapiaar
Closes ATLASRECTS-7657