createNLL failure in ROOT 6.34

Dear experts,

I am trying to create an NLL object using RooAddition. The code works fine in ROOT 6.30, but it fails in ROOT 6.34. Here is the code snippet I am using:

nll_ti_btag_sum = R.RooAddition(
    "nll_ti_btag_sum",
    "nll_ti_btag_sum",
    R.RooArgList({nll_ti_btag_0, nll_ti_btag_1, nll_ti_btag_2,
                  nll_ti_btag_3, nll_ti_btag_4, nll_ti_btag_5, nll_ti_btag_6})
)


RooAddition::nll_ti_btag_sum[ RooEvaluatorWrapper + RooEvaluatorWrapper + ... ] = nan

Could you please advise on the correct way to define this RooAddition in ROOT 6.34?

Why does it suddenly fail in root 6.34?

RooAbsReal::RooEvaluatorWrapper[ topNode=nll_pdf_full_ti_btag_0_ paramSet=(B_tau,CCP,bbbar_csmu_b0,bmix_dm,dw0,frac_scf,fractd_bbbar_bin0,fractd_cont_bin0,fractd_sig_bin0,lambda1,mu0,n_bbbar,n_cont,n_sig,p1,qq_dePoly_a0,qq_mbcArg_c,qq_mbcArg_end,scf_csmu_a0,scf_deBg_mu,scf_deBg_sigmaL,scf_deBg_sigmaR,scf_mbcCB_alpha_l,scf_mbcCB_mu,scf_mbcCB_n_l,scf_mbcCB_sigma,sig_csmu_a0,sig_deDCB_alpha_l,sig_deDCB_alpha_r,sig_deDCB_mu,sig_deDCB_n_l,sig_deDCB_n_r,sig_deDCB_sigma,sig_mbcCB_alpha_l,sig_mbcCB_mu,sig_mbcCB_n_l,sig_mbcCB_sigma,w0,w_bbbar0,w_cont0,w_sig0) ] = nan

RooAbsReal::RooEvaluatorWrapper[ topNode=nll_pdf_full_ti_bartag_0_ paramSet=(B_tau,CCP,bbbar_csmu_b0,bmix_dm,dw0,frac_scf,fractd_bbbar_bin0,fractd_cont_bin0,fractd_sig_bin0,lambda1,mu0,n_bbbar,n_cont,n_sig,p1,qq_dePoly_a0,qq_mbcArg_c,qq_mbcArg_end,scf_csmu_a0,scf_deBg_mu,scf_deBg_sigmaL,scf_deBg_sigmaR,scf_mbcCB_alpha_l,scf_mbcCB_mu,scf_mbcCB_n_l,scf_mbcCB_sigma,sig_csmu_a0,sig_deDCB_alpha_l,sig_deDCB_alpha_r,sig_deDCB_mu,sig_deDCB_n_l,sig_deDCB_n_r,sig_deDCB_sigma,sig_mbcCB_alpha_l,sig_mbcCB_mu,sig_mbcCB_n_l,sig_mbcCB_sigma,w0,w_bbbar0,w_cont0,w_sig0) ] = nan


I guess @jonas is fixing it via [RF] Expose again interface to write NLL codegen debug macro by guitargeek · Pull Request #20001 · root-project/root · GitHub

Hi! No, this is a different problem unfortunately. Can you provide a full reproducer script maybe? And even better, open a GitHub issue with it? Thanks!

sandc_mu_comb.py (35.8 KB)

Hello!
thanks you for the reply please find the script attached below. It is specifically the lines

675 - 689

that give me the nan error in 6.34 only

Please find the github issue link

Github