Add and test lumimask setter function
Merge pull request #5135 from ericvaandering/lumi_setter

Add and test lumimask setter function