Skip to content

Make columns in reset_problematic_special_mc configurable

Kilian Lieret requested to merge flexible_reset_problematic_mc into master

I need to redefine the the b_index_var and b_via_tau_index_var to apply to my use case.

It's problematic that this function is static, but there's no easy way around this due to the way this is used. So instead I made all column variables into parameters.

This way I can use it by setting

BtoDstarFFReweighting.reset_problematic_special_mc = functoolspartial(
    BtoDstarFFReweighting.reset_problematic_special_mc,
    b_i_var=b_index_var,
    b_via_tau_i_var=b_via_tau_index_var,
)

etc

Merge request reports

Loading