adding PU weight function, including all inputs to allow recalc from ntuple