Skip to content

Set MC channel number as string in TagInfo Fix AGENE-1933

Frank Berghaus requested to merge berghaus/athena:evnt_filtering_iov_fix into master

Tag: @ewelina @mnowak @dkar

TagInfo is only caught my the CountHepMC corrections in sufficiently long jobs (multiple input files?). Hence the original tests never caught that the TagInfo mc_channel_number entry is a string not an integer. This caused an exception to be thrown when CountHepMC tried to update a string with an integer type.

This update tries updating TagInfo's MC channel number field with a string first. Should that fail ti will try with an integer. Should that also fail it will print an ERROR and continue merrily on its way.

Merge request reports