Doing cuts takes a long time. Doing optimize takes a little time. If we want to quickly check different levels of luminosity (which we will, e.g. when we learn the final luminosity for 2015) then it makes more sense to make luminosity part of optimize. Might as well make all scaling part of optimize as well then, so cuts only returns a weighted (by event weights) value, and no weights file is necessary as an argument.
Doing cuts takes a long time. Doing optimize takes a little time. If we want to quickly check different levels of luminosity (which we will, e.g. when we learn the final luminosity for 2015) then it makes more sense to make luminosity part of optimize. Might as well make all scaling part of optimize as well then, so cuts only returns a weighted (by event weights) value, and no weights file is necessary as an argument.