Helper function for w2list parameters
Another low-hangig fruit: a function which returns the weight parameters for an event, depending on the requested generator type (e.g. gseagen
or genhen
) which are defined in the km3net-dataformat.
Example implementation in km3io: https://git.km3net.de/km3py/km3io/-/blob/b71300ff1364394d01323a732585f0a8dae303b1/src/km3io/tools.py#L101