Refactor header definitions
The header definitions dictionary is currently created on the fly by using a structure which is (more or less) copied over from aanet
. This was done to reduce the work needed to update the definitions once they change in aanet
. See here https://git.km3net.de/km3py/km3io/-/blob/c0892b66aaed982454a29c2b39b5529b36cc7c57/km3io/definitions/mc_header.py which is based on this aanet
data structure: https://git.km3net.de/common/aanet/-/blob/master/evt/Head_util.hh#L80
In the end, we want to have already parsed dictionary in this file for more transparency. Moreover, the file should be generated from a static data file in the https://git.km3net.de/common/km3net-dataformat repository.
An issue has been created in https://git.km3net.de/common/km3net-dataformat to trigger the extraction of this data: https://git.km3net.de/common/km3net-dataformat/issues/19