Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 312 Bytes

weighted.md

File metadata and controls

11 lines (9 loc) · 312 Bytes

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