adds reweighing as function of d0Beamspot