slophep.Predictions.FormFactorsBToP

class slophep.Predictions.FormFactorsBToP.BGL_BToP(B: str, P: str, par: dict = None, scale: float = None, *ffargs)[source]

Bases: FormFactorBToP

blaschke(BcStates: list, z: float, Mb: float, Mc: float) float[source]

Calculate Blaschke factor P(t) from B_c-type resonances

get_ff(q2: float) dict[source]

Calculates BGL FFs. Implementation lifted from Hammer https://gitlab.com/mpapucci/Hammer/-/blob/v1.2.1/src/FormFactors/FFBtoDBGL.cc,

Parameters:

q2 (float)

Returns:

FF dictionary

Return type:

dict

class slophep.Predictions.FormFactorsBToP.BGL_BToP_Hammer(B: str, P: str, par: dict = None, scale: float = None, *ffargs)[source]

Bases: BGL_BToP

get_ff(q2: float) dict[source]

Calculates BGL FFs. Implementation lifted from Hammer https://gitlab.com/mpapucci/Hammer/-/blob/v1.2.1/src/FormFactors/FFBtoDBGL.cc,

Parameters:

q2 (float)

Returns:

FF dictionary

Return type:

dict

class slophep.Predictions.FormFactorsBToP.BLPRXP_BToP(B: str, P: str, par: dict = None, scale: float = None, *ffargs)[source]

Bases: FormFactorBToP

IW(w: float) dict[source]
Li1(w: float, IWs: dict = None) list[float][source]
Li2(w: float, IWs: dict = None) list[float][source]
Mi(w: float, IWs: dict = None) list[float][source]
calculate_internal(rawinternalpar: dict = {})[source]
get_ff(q2: float) dict[source]

FF in BLPRXP parameterisation from https://arxiv.org/abs/2206.11281 as in HAMMER v1.4.1

Parameters:

q2 (float) – q2 value to calculate FF at

Returns:

FF dictionary

Return type:

dict

get_hhat(q2: float) dict[source]
xi(w: float) float[source]
z_of_w(w: float, a: float) float[source]
class slophep.Predictions.FormFactorsBToP.BLPR_BToP(B: str, P: str, par: dict = None, scale: float = None, *ffargs)[source]

Bases: FormFactorBToP

get_ff(q2: float) dict[source]

FF in BLPR parameterisation from https://arxiv.org/pdf/1703.05330 as in HAMMER v1.2.1, https://gitlab.com/mpapucci/Hammer/-/blob/v1.2.1/src/FormFactors/FFBtoDBLPR.cc?ref_type=tags

Note that HAMMER’s basis differs from the one used here for fT, where in hammer fT=hT/sqrt(Mb*Mp) while here we use Appendix B in https://arxiv.org/abs/1908.09398, which differs by a factor of (Mb+Mp).

Parameters:

q2 (float) – q2 value to calculate FF at

Returns:

FF dictionary

Return type:

dict

get_hhat(q2: float) dict[source]
class slophep.Predictions.FormFactorsBToP.BLPR_BToP_Hammer(B: str, V: str, par: dict = None, scale: float = None, *ffargs)[source]

Bases: BLPR_BToP

get_ff(q2: float) dict[source]

FF in BLPR parameterisation from https://arxiv.org/pdf/1703.05330 as in HAMMER v1.2.1, https://gitlab.com/mpapucci/Hammer/-/blob/v1.2.1/src/FormFactors/FFBtoDBLPR.cc?ref_type=tags

Note that this returns fT=hT/sqrt(Mb*Mp) but this is not the basis flavio expects to compute observables. Take care if using for observables.

Parameters:

q2 (float) – q2 value to calculate FF at

Returns:

FF dictionary

Return type:

dict

class slophep.Predictions.FormFactorsBToP.BSZ_BToP(B: str, P: str, par: dict = None, scale: float = None, *ffargs)[source]

Bases: FormFactorBToP

get_ff(q2: float) dict[source]

Calculates BSZ form factors, following https://arxiv.org/pdf/1503.05534 and https://arxiv.org/pdf/1811.00983. Implementation lifted from flavio https://github.com/flav-io/flavio/blob/master/flavio/physics/bdecays/formfactors/b_p/bsz.py,

Parameters:

q2 (float)

Returns:

FF dictionary

Return type:

dict

pole(q2: float, mres: float)[source]
z(mB: float, mM: float, q2: float, t0: float = None)[source]

Form factor expansion parameter z.

Parameters:
  • mB (float) – initial pseudoscalar meson mass

  • mM (float) – final meson meson mass

  • q2 (float) – momentum transfer squared q2

  • t0 (float) – parameter t_0. If not given, chosen as t_0 = t_+ (1 - sqrt(1 - t_-/t_+))$ where t_+- = (m_B +- m_M)^2. If equal to tm, set to t_0=t_-

zs(mB: float, mM: float, q2: float, t0: float = None)[source]
class slophep.Predictions.FormFactorsBToP.CLN_BToP(B: str, P: str, par: dict = None, scale: float = None, *ffargs)[source]

Bases: FormFactorBToP

get_ff(q2: float) dict[source]

Calculates CLN FFs. Implementation lifted from Hammer https://gitlab.com/mpapucci/Hammer/-/blob/v1.2.1/src/FormFactors/FFBtoDCLN.cc,

Parameters:

q2 (float)

Returns:

FF dictionary

Return type:

dict

class slophep.Predictions.FormFactorsBToP.CLN_BToP_Hammer(B: str, P: str, par: dict = None, scale: float = None, *ffargs)[source]

Bases: CLN_BToP

get_ff(q2: float) dict[source]

Calculates CLN FFs. Implementation lifted from Hammer https://gitlab.com/mpapucci/Hammer/-/blob/v1.2.1/src/FormFactors/FFBtoDCLN.cc,

Parameters:

q2 (float)

Returns:

FF dictionary

Return type:

dict

class slophep.Predictions.FormFactorsBToP.FormFactorBToP(B: str, P: str, par: dict = None, scale: float = None)[source]

Bases: FormFactor

property B: str

The B meson

property P: str

The Charmed P meson

get_ff(q2: float) dict[source]

Calculate form factors at particular q2. To implement in derived class. Must return in basis f+, f0, fT

Parameters:

q2 (float)

Returns:

dictionary with FFs

Return type:

dict

w(q2: float) float[source]