Adapt addBranch executable to take a list of truth masses as an input flag for the background samples