Fix HI photon calo sequence
Closes ATR-27000
FI @fwinkl I believe the issue was caused by introduction of flags argument. That shifted position of function arguments and since positional arguments were used the True
changed the meaning from do ions to is_prob_leg.
Ach, very subtle. Should we promote this syntax enforcing keyword args to be based as keyword only:
def makeStuffCfg(flags, *, ion=False)
Edited by Frank Winklmeier