Using Weighted fits
Often one needs to fit weighted dataset, etg. backrgonud-subtracted
or efficiency_corrected. It is purely trivial in Ostap:
dataset = ...
dsw = dataset.makeWeighted( 'S_sw/eff' ) ##
model = ...
model.fitTo ( dsw , .... , sumw2 = True , ... ) ## <--- HERE