fix missing MCCampaign setting for MC23NoPileup case and avoid code duplication
cc @tamartin, @tadej and @tstreble