This is done based on fraction_crab and on_x1/on_x5 It is inconsistent with what is presently done in lhcmask repository (module_01)