Accept totalUnits for LumiBased and FileBased.