Migrated checks on the data type/campaign/data year of a given sample to safer helper functions
As implemented before this change, the TriggerAnalysisBlock could crash if one does not provide a mc campaign to the ConfigAccumulator, even when running in data as invalid checks were being performed comparing FlagEnum instances to None objects. New helper functions have been introduced which perform these checks safely.
Edited by Jeremy Wilkinson