original_docstring: r"""Lifetime of the $B_c$ meson based on the SM OPE estimate plus
      the NP contribution to leptonic decays.
docstring: r"""Lifetime of the $B_c$ meson based on the SM OPE estimate plus
  the NP contribution to leptonic decays.
docstring_tokens: r " " " Lifetime of the $B_c$ meson based on the SM OPE estimate plus the NP contribution to leptonic decays .
code: def tau_Bc(wc_obj, par):
      r"""Lifetime of the $B_c$ meson based on the SM OPE estimate plus
      the NP contribution to leptonic decays."""
      Gamma_SM = 1 / par['tau_Bc_SM']
      Gamma_exp = 1 / par['tau_Bc']
      Gamma_NP = 0
      wc_sm = flavio.WilsonCoefficients()
      for l in ['e', 'mu', 'tau']:
          _br_SM = flavio.Observable['BR(Bc->{}nu)'.format(l)].prediction_par(par, wc_sm)
          _br_NP = flavio.Observable['BR(Bc->{}nu)'.format(l)].prediction_par(par, wc_obj)
          Gamma_NP += (_br_NP - _br_SM) * Gamma_exp
      return 1 / (Gamma_SM + Gamma_NP)
code_tokens: def tau_Bc ( wc_obj , par ) : Gamma_SM = 1 / par [ 'tau_Bc_SM' ] Gamma_exp = 1 / par [ 'tau_Bc' ] Gamma_NP = 0 wc_sm = flavio . WilsonCoefficients ( ) for l in [ 'e' , 'mu' , 'tau' ] : _br_SM = flavio . Observable [ 'BR(Bc->{}nu)' . format ( l ) ] . prediction_par ( par , wc_sm ) _br_NP = flavio . Observable [ 'BR(Bc->{}nu)' . format ( l ) ] . prediction_par ( par , wc_obj ) Gamma_NP += ( _br_NP - _br_SM ) * Gamma_exp return 1 / ( Gamma_SM + Gamma_NP )
short_docstring: r"""Lifetime of the $B_c$ meson based on the SM OPE estimate plus
  the NP contribution to leptonic decays.
short_docstring_tokens: r " " " Lifetime of the $B_c$ meson based on the SM OPE estimate plus the NP contribution to leptonic decays .
comment: r"""Lifetime of the $B_c$ meson based on the SM OPE estimate plus
      the NP contribution to leptonic decays."""