FairShip
Loading...
Searching...
No Matches
hnl.HNLbranchings Class Reference
Inheritance diagram for hnl.HNLbranchings:
[legend]

Public Member Functions

None __init__ (self, mass, couplings, bool debug=False)
float|int sqrt_lambda (self, float a, b, c)
 QCD_correction (self)
 Width_3nu (self)
 Width_nu_f_fbar (self, int alpha, int beta)
 Integrand (self, xx, xi)
 integral (self, x1, x2, int x3)
 Width_l1_l2_nu2 (self, int alpha, int beta)
 Width_l_u_d (self, int alpha, int beta, int gamma)
 Width_H0_nu (self, str H, int alpha)
 Width_H_l (self, str H, int alpha)
float Width_charged_leptons (self)
float Width_neutral_mesons (self)
float Width_charged_mesons (self)
float|int Width_quarks_neutrino (self)
float|int Width_quarks_lepton (self)
 NDecayWidth (self)
 findBranchingRatio (self, decayString)
dict[str, str] allowedChannels (self)

Public Attributes

 U2 = couplings
list U = [math.sqrt(ui) for ui in self.U2]
 MN = mass * u.GeV
 CKM = CKMmatrix()
dict CKMelemSq
list decays
 QCD_corr = self.QCD_correction()

Protected Attributes

 _totalWidth = None
 _integrand_tf1 = None

Detailed Description

Lifetime and total and partial decay widths of an HNL

Definition at line 119 of file hnl.py.

Constructor & Destructor Documentation

◆ __init__()

None hnl.HNLbranchings.__init__ ( self,
mass,
couplings,
bool debug = False )
Initialize with mass and couplings of the HNL

Inputs:
mass (GeV)
couplings (list of [U2e, U2mu, U2tau])

Definition at line 124 of file hnl.py.

124 def __init__(self, mass, couplings, debug: bool = False) -> None:
125 """
126 Initialize with mass and couplings of the HNL
127
128 Inputs:
129 mass (GeV)
130 couplings (list of [U2e, U2mu, U2tau])
131 """
132 self.U2 = couplings
133 self.U = [math.sqrt(ui) for ui in self.U2]
134 self.MN = mass * u.GeV
135 # Cache the total width (constant for fixed mass/couplings) and a
136 # reusable TF1 whose parameters are set per integral() call; binding a
137 # Python callable into a TF1 is expensive.
138 self._totalWidth = None
139 self._integrand_tf1 = None
140 self.CKM = CKMmatrix()
141 self.CKMelemSq = {
142 "pi+": self.CKM.Vud**2.0,
143 "rho+": self.CKM.Vud**2.0,
144 "D_s+": self.CKM.Vcs**2.0,
145 "D*_s+": self.CKM.Vcs**2.0,
146 "K+": self.CKM.Vus**2.0,
147 # Quarks (up,down)
148 # up: 1=u, 2=c, 3=t
149 # down: 1=d, 2=s, 3=b
150 (1, 1): self.CKM.Vud**2.0,
151 (1, 2): self.CKM.Vus**2.0,
152 (1, 3): self.CKM.Vub**2.0,
153 (2, 1): self.CKM.Vcd**2.0,
154 (2, 2): self.CKM.Vcs**2.0,
155 (2, 3): self.CKM.Vcb**2.0,
156 (3, 1): self.CKM.Vtd**2.0,
157 (3, 2): self.CKM.Vts**2.0,
158 (3, 3): self.CKM.Vtb**2.0,
159 }
160 self.decays = [
161 "N -> nu nu nu",
162 "N -> e- e+ nu_e",
163 "N -> e- e+ nu_mu",
164 "N -> e- e+ nu_tau",
165 "N -> e- mu+ nu_mu",
166 "N -> mu- e+ nu_e",
167 "N -> pi0 nu_e",
168 "N -> pi0 nu_mu",
169 "N -> pi0 nu_tau",
170 "N -> pi+ e-",
171 "N -> mu- mu+ nu_e",
172 "N -> mu- mu+ nu_mu",
173 "N -> mu- mu+ nu_tau",
174 "N -> pi+ mu-",
175 "N -> eta nu_e",
176 "N -> eta nu_mu",
177 "N -> eta nu_tau",
178 "N -> rho0 nu_e",
179 "N -> rho0 nu_mu",
180 "N -> rho0 nu_tau",
181 "N -> rho+ e-",
182 "N -> omega nu_e",
183 "N -> omega nu_mu",
184 "N -> omega nu_tau",
185 "N -> rho+ mu-",
186 "N -> eta1 nu_e",
187 "N -> eta1 nu_mu",
188 "N -> eta1 nu_tau",
189 "N -> phi nu_e",
190 "N -> phi nu_mu",
191 "N -> phi nu_tau",
192 "N -> e- tau+ nu_tau",
193 "N -> tau- e+ nu_e",
194 "N -> mu- tau+ nu_tau",
195 "N -> tau- mu+ nu_mu",
196 "N -> D_s+ e-",
197 "N -> D_s+ mu-",
198 "N -> D*_s+ e-",
199 "N -> D*_s+ mu-",
200 "N -> eta_c nu_e",
201 "N -> eta_c nu_mu",
202 "N -> eta_c nu_tau",
203 ]
204 if self.MN >= 1.0:
205 self.QCD_corr = self.QCD_correction()
206
207 if debug:
208 print("HNLbranchings instance initialized with couplings:")
209 print("\tU2e = %s" % self.U2[0])
210 print("\tU2mu = %s" % self.U2[1])
211 print("\tU2tau = %s" % self.U2[2])
212 print("and mass:")
213 print("\tm = %s GeV" % (self.MN))
214

Member Function Documentation

◆ allowedChannels()

dict[str, str] hnl.HNLbranchings.allowedChannels ( self)
Returns a dictionary of kinematically allowed decay channels

Inputs:
- decayString is a string describing the decay, in the form 'N -> stuff1 ... stuffN'

Definition at line 635 of file hnl.py.

635 def allowedChannels(self) -> dict[str, str]:
636 """
637 Returns a dictionary of kinematically allowed decay channels
638
639 Inputs:
640 - decayString is a string describing the decay, in the form 'N -> stuff1 ... stuffN'
641 """
642 m = self.MN
643 allowedDecays = {"N -> nu nu nu": "yes"}
644 if m > 2.0 * mass("e-"):
645 allowedDecays.update({"N -> e- e+ nu_e": "yes"})
646 allowedDecays.update({"N -> e- e+ nu_mu": "yes"})
647 allowedDecays.update({"N -> e- e+ nu_tau": "yes"})
648 if m > mass("e-") + mass("mu-"):
649 allowedDecays.update({"N -> e- mu+ nu_mu": "yes"})
650 allowedDecays.update({"N -> mu- e+ nu_e": "yes"})
651 if m > mass("pi0"):
652 allowedDecays.update({"N -> pi0 nu_e": "yes"})
653 allowedDecays.update({"N -> pi0 nu_mu": "yes"})
654 allowedDecays.update({"N -> pi0 nu_tau": "yes"})
655 if m > mass("pi+") + mass("e-"):
656 allowedDecays.update({"N -> pi+ e-": "yes"})
657 if m > 2.0 * mass("mu-"):
658 allowedDecays.update({"N -> mu- mu+ nu_e": "yes"})
659 allowedDecays.update({"N -> mu- mu+ nu_mu": "yes"})
660 allowedDecays.update({"N -> mu- mu+ nu_tau": "yes"})
661 if m > mass("pi+") + mass("mu-"):
662 allowedDecays.update({"N -> pi+ mu-": "yes"})
663 if m > mass("eta"):
664 allowedDecays.update({"N -> eta nu_e": "yes"})
665 allowedDecays.update({"N -> eta nu_mu": "yes"})
666 allowedDecays.update({"N -> eta nu_tau": "yes"})
667 if m > mass("rho0"):
668 allowedDecays.update({"N -> rho0 nu_e": "yes"})
669 allowedDecays.update({"N -> rho0 nu_mu": "yes"})
670 allowedDecays.update({"N -> rho0 nu_tau": "yes"})
671 if m > mass("rho+") + mass("e-"):
672 allowedDecays.update({"N -> rho+ e-": "yes"})
673 if m > mass("omega"):
674 allowedDecays.update({"N -> omega nu_e": "yes"})
675 allowedDecays.update({"N -> omega nu_mu": "yes"})
676 allowedDecays.update({"N -> omega nu_tau": "yes"})
677 if m > mass("rho+") + mass("mu-"):
678 allowedDecays.update({"N -> rho+ mu-": "yes"})
679 if m > mass("eta1"):
680 allowedDecays.update({"N -> eta1 nu_e": "yes"})
681 allowedDecays.update({"N -> eta1 nu_mu": "yes"})
682 allowedDecays.update({"N -> eta1 nu_tau": "yes"})
683 if m > mass("phi"):
684 allowedDecays.update({"N -> phi nu_e": "yes"})
685 allowedDecays.update({"N -> phi nu_mu": "yes"})
686 allowedDecays.update({"N -> phi nu_tau": "yes"})
687 if m > mass("e-") + mass("tau-"):
688 allowedDecays.update({"N -> e- tau+ nu_tau": "yes"})
689 allowedDecays.update({"N -> tau- e+ nu_e": "yes"})
690 if m > mass("mu-") + mass("tau-"):
691 allowedDecays.update({"N -> mu- tau+ nu_tau": "yes"})
692 allowedDecays.update({"N -> tau- mu+ nu_mu": "yes"})
693 if m > mass("D_s+") + mass("e-"):
694 allowedDecays.update({"N -> D_s+ e-": "yes"})
695 if m > mass("D_s+") + mass("mu-"):
696 allowedDecays.update({"N -> D_s+ mu-": "yes"})
697 if m > mass("D*_s+") + mass("e-"):
698 allowedDecays.update({"N -> D*_s+ e-": "yes"})
699 if m > mass("D*_s+") + mass("mu-"):
700 allowedDecays.update({"N -> D*_s+ mu-": "yes"})
701 if m > mass("eta_c"):
702 allowedDecays.update({"N -> eta_c nu_e": "yes"})
703 allowedDecays.update({"N -> eta_c nu_mu": "yes"})
704 allowedDecays.update({"N -> eta_c nu_tau": "yes"})
705
706 for decay in self.decays:
707 if decay not in allowedDecays:
708 allowedDecays.update({decay: "no"})
709 return allowedDecays
710
711

◆ findBranchingRatio()

hnl.HNLbranchings.findBranchingRatio ( self,
decayString )
Returns the branching ratio of the selected HNL decay channel

Inputs:
- decayString is a string describing the decay, in the form 'N -> stuff1 ... stuffN'

Definition at line 528 of file hnl.py.

528 def findBranchingRatio(self, decayString):
529 """
530 Returns the branching ratio of the selected HNL decay channel
531
532 Inputs:
533 - decayString is a string describing the decay, in the form 'N -> stuff1 ... stuffN'
534 """
535 br = 0.0
536 totalWidth = self.NDecayWidth()
537
538 if (decayString not in self.decays) and (decayString not in ["N -> hadrons", "N -> charged hadrons"]):
539 print("findBranchingRatio ERROR: unknown decay %s" % decayString)
540 quit()
541
542 if decayString == "N -> nu nu nu":
543 br = self.Width_3nu() / totalWidth # inclusive
544 if decayString == "N -> e- e+ nu_e":
545 br = self.Width_nu_f_fbar(1, 1) / totalWidth
546 if decayString == "N -> e- e+ nu_mu":
547 br = self.Width_nu_f_fbar(2, 1) / totalWidth
548 if decayString == "N -> e- e+ nu_tau":
549 br = self.Width_nu_f_fbar(3, 1) / totalWidth
550 if decayString == "N -> e- mu+ nu_mu":
551 br = self.Width_l1_l2_nu2(1, 2) / totalWidth
552 if decayString == "N -> mu- e+ nu_e":
553 br = self.Width_l1_l2_nu2(2, 1) / totalWidth
554 if decayString == "N -> pi0 nu_e":
555 br = self.Width_H0_nu("pi0", 1) / totalWidth
556 if decayString == "N -> pi0 nu_mu":
557 br = self.Width_H0_nu("pi0", 2) / totalWidth
558 if decayString == "N -> pi0 nu_tau":
559 br = self.Width_H0_nu("pi0", 3) / totalWidth
560 if decayString == "N -> pi+ e-":
561 br = self.Width_H_l("pi+", 1) / totalWidth
562 if decayString == "N -> mu- mu+ nu_e":
563 br = self.Width_nu_f_fbar(1, 2) / totalWidth
564 if decayString == "N -> mu- mu+ nu_mu":
565 br = self.Width_nu_f_fbar(2, 2) / totalWidth
566 if decayString == "N -> mu- mu+ nu_tau":
567 br = self.Width_nu_f_fbar(3, 2) / totalWidth
568 if decayString == "N -> pi+ mu-":
569 br = self.Width_H_l("pi+", 2) / totalWidth
570 if decayString == "N -> eta nu_e":
571 br = self.Width_H0_nu("eta", 1) / totalWidth
572 if decayString == "N -> eta nu_mu":
573 br = self.Width_H0_nu("eta", 2) / totalWidth
574 if decayString == "N -> eta nu_tau":
575 br = self.Width_H0_nu("eta", 3) / totalWidth
576 if decayString == "N -> rho0 nu_e":
577 br = self.Width_H0_nu("rho0", 1) / totalWidth
578 if decayString == "N -> rho0 nu_mu":
579 br = self.Width_H0_nu("rho0", 2) / totalWidth
580 if decayString == "N -> rho0 nu_tau":
581 br = self.Width_H0_nu("rho0", 3) / totalWidth
582 if decayString == "N -> rho+ e-":
583 br = self.Width_H_l("rho+", 1) / totalWidth
584 if decayString == "N -> omega nu_e":
585 br = self.Width_H0_nu("omega", 1) / totalWidth
586 if decayString == "N -> omega nu_mu":
587 br = self.Width_H0_nu("omega", 2) / totalWidth
588 if decayString == "N -> omega nu_tau":
589 br = self.Width_H0_nu("omega", 3) / totalWidth
590 if decayString == "N -> rho+ mu-":
591 br = self.Width_H_l("rho+", 2) / totalWidth
592 if decayString == "N -> eta1 nu_e":
593 br = self.Width_H0_nu("eta1", 1) / totalWidth
594 if decayString == "N -> eta1 nu_mu":
595 br = self.Width_H0_nu("eta1", 2) / totalWidth
596 if decayString == "N -> eta1 nu_tau":
597 br = self.Width_H0_nu("eta1", 3) / totalWidth
598 if decayString == "N -> phi nu_e":
599 br = self.Width_H0_nu("phi", 1) / totalWidth
600 if decayString == "N -> phi nu_mu":
601 br = self.Width_H0_nu("phi", 2) / totalWidth
602 if decayString == "N -> phi nu_tau":
603 br = self.Width_H0_nu("phi", 3) / totalWidth
604 if decayString == "N -> e- tau+ nu_tau":
605 br = self.Width_l1_l2_nu2(1, 3) / totalWidth
606 if decayString == "N -> tau- e+ nu_e":
607 br = self.Width_l1_l2_nu2(3, 1) / totalWidth
608 if decayString == "N -> mu- tau+ nu_tau":
609 br = self.Width_l1_l2_nu2(2, 3) / totalWidth
610 if decayString == "N -> tau- mu+ nu_mu":
611 br = self.Width_l1_l2_nu2(3, 2) / totalWidth
612 if decayString == "N -> D_s+ e-":
613 br = self.Width_H_l("D_s+", 1) / totalWidth
614 if decayString == "N -> D_s+ mu-":
615 br = self.Width_H_l("D_s+", 2) / totalWidth
616 if decayString == "N -> D*_s+ e-":
617 br = self.Width_H_l("D*_s+", 1) / totalWidth
618 if decayString == "N -> D*_s+ mu-":
619 br = self.Width_H_l("D*_s+", 2) / totalWidth
620 if decayString == "N -> eta_c nu_e":
621 br = self.Width_H0_nu("eta_c", 1) / totalWidth
622 if decayString == "N -> eta_c nu_mu":
623 br = self.Width_H0_nu("eta_c", 2) / totalWidth
624 if decayString == "N -> eta_c nu_tau":
625 br = self.Width_H0_nu("eta_c", 3) / totalWidth
626
627 if decayString == "N -> hadrons":
628 mesonWidth = self.Width_neutral_mesons() + self.Width_charged_mesons()
629 quarkWidth = self.Width_quarks_neutrino() + self.Width_quarks_lepton()
630 br = max([mesonWidth, quarkWidth]) / totalWidth
631 if decayString == "N -> charged hadrons":
632 br = max([self.Width_charged_mesons(), self.Width_quarks_lepton()]) / totalWidth
633 return br
634

◆ integral()

hnl.HNLbranchings.integral ( self,
x1,
x2,
int x3 )
Numerical integral needed for 3-body decays through W boson.
xi = mi/MN

Definition at line 326 of file hnl.py.

326 def integral(self, x1, x2, x3: int):
327 """
328 Numerical integral needed for 3-body decays through W boson.
329 xi = mi/MN
330 """
331 if self._integrand_tf1 is None:
332 # ROOT registers TF1s globally by name, so make it unique per
333 # instance to avoid collisions between HNLbranchings objects.
334 self._integrand_tf1 = ROOT.TF1(f"hnl_integrand_{id(self):x}", self.Integrand, 0, 1, 3)
335 func = self._integrand_tf1
336 func.SetParameters(x1, x2, x3)
337 xmin = (x1 + x3) ** 2
338 xmax = (1.0 - x2) ** 2
339 wf1 = ROOT.Math.WrappedTF1(func) # Setting simple Gauss integration method
340 ig = ROOT.Math.GaussIntegrator()
341 ig.SetFunction(wf1)
342 ig.SetRelTolerance(0.001)
343 res = 12.0 * ig.Integral(xmin, xmax)
344 return res
345

◆ Integrand()

hnl.HNLbranchings.Integrand ( self,
xx,
xi )
Function to integrate needed for numerical integration using ROOT. Needed for 3-body decays through W boson.
First argument is a list of 1 number, argument. Second is the list of 3 numbers xi = mi/MN

Definition at line 308 of file hnl.py.

308 def Integrand(self, xx, xi):
309 """
310 Function to integrate needed for numerical integration using ROOT. Needed for 3-body decays through W boson.
311 First argument is a list of 1 number, argument. Second is the list of 3 numbers xi = mi/MN
312 """
313 x = xx[0]
314 xl2 = xi[0] ** 2
315 xu2 = xi[1] ** 2
316 xd2 = xi[2] ** 2
317 if x == 0: # Workaround for division by zero
318 return 0
319 res = 1.0 / x
320 res *= x - xl2 - xd2
321 res *= 1.0 + xu2 - x
322 res *= self.sqrt_lambda(x, xl2, xd2)
323 res *= self.sqrt_lambda(1.0, x, xu2)
324 return res
325

◆ NDecayWidth()

hnl.HNLbranchings.NDecayWidth ( self)
Returns the total HNL decay width

Definition at line 517 of file hnl.py.

517 def NDecayWidth(self):
518 """
519 Returns the total HNL decay width
520 """
521 if self._totalWidth is None:
522 leptonWidth = self.Width_3nu() + self.Width_charged_leptons()
523 mesonWidth = self.Width_neutral_mesons() + self.Width_charged_mesons()
524 quarkWidth = self.Width_quarks_neutrino() + self.Width_quarks_lepton()
525 self._totalWidth = leptonWidth + max([mesonWidth, quarkWidth])
526 return self._totalWidth
527

◆ QCD_correction()

hnl.HNLbranchings.QCD_correction ( self)
Returns 3-loops QCD correction to HNL decay width into quarks

Definition at line 226 of file hnl.py.

226 def QCD_correction(self):
227 """
228 Returns 3-loops QCD correction to HNL decay width into quarks
229 """
230 alpha_s = ROOT.TGraph(os.path.expandvars("$FAIRSHIP/python/alpha_s.dat"))
231 a_s = alpha_s.Eval(self.MN)
232 qcd_corr = a_s / math.pi
233 qcd_corr += 5.2 * (a_s / math.pi) ** 2.0
234 qcd_corr += 26.4 * (a_s / math.pi) ** 3.0
235 return qcd_corr
236

◆ sqrt_lambda()

float | int hnl.HNLbranchings.sqrt_lambda ( self,
float a,
b,
c )
Useful function for decay kinematics. Returns 0 for kinematically forbidden region.
This is the Källén (triangle) function λ(a,b,c).

Definition at line 215 of file hnl.py.

215 def sqrt_lambda(self, a: float, b, c) -> float | int:
216 """
217 Useful function for decay kinematics. Returns 0 for kinematically forbidden region.
218 This is the Källén (triangle) function λ(a,b,c).
219 """
220 kallen = a**2 + b**2 + c**2 - 2 * a * b - 2 * b * c - 2 * a * c
221 if kallen < 0:
222 return 0
223 else:
224 return math.sqrt(kallen)
225

◆ Width_3nu()

hnl.HNLbranchings.Width_3nu ( self)
Returns the HNL decay width into three neutrinos

Definition at line 237 of file hnl.py.

237 def Width_3nu(self):
238 """
239 Returns the HNL decay width into three neutrinos
240 """
241 width = (c.GF**2.0) * (self.MN**5.0) * sum(self.U2) / (192.0 * (u.pi**3.0))
242 width = 2.0 * width # Majorana case (charge conjugate channels)
243 return width
244

◆ Width_charged_leptons()

float hnl.HNLbranchings.Width_charged_leptons ( self)
Returns the total HNL leptonic decay width with charged leptons in final state

Definition at line 457 of file hnl.py.

457 def Width_charged_leptons(self) -> float:
458 """
459 Returns the total HNL leptonic decay width with charged leptons in final state
460 """
461 width = 0.0
462 for l1 in [1, 2, 3]:
463 for l2 in [1, 2, 3]:
464 width += self.Width_nu_f_fbar(l1, l2)
465 width += self.Width_l1_l2_nu2(l1, l2)
466 return width
467

◆ Width_charged_mesons()

float hnl.HNLbranchings.Width_charged_mesons ( self)
Returns the total HNL decay width into a charged meson and a charged lepton

Definition at line 479 of file hnl.py.

479 def Width_charged_mesons(self) -> float:
480 """
481 Returns the total HNL decay width into a charged meson and a charged lepton
482 """
483 mesons = ["pi+", "rho+", "D_s+", "D*_s+"]
484 width = 0.0
485 for m in mesons:
486 for lepton in [1, 2, 3]:
487 width += self.Width_H_l(m, lepton)
488 return width
489

◆ Width_H0_nu()

hnl.HNLbranchings.Width_H0_nu ( self,
str H,
int alpha )
Returns the HNL decay width into neutral meson and neutrino

Inputs:
- H is a string (name of the meson)
- alpha is a flavour of the nu (1, 2 or 3), determine the mixing angle U_alpha

Definition at line 397 of file hnl.py.

397 def Width_H0_nu(self, H: str, alpha: int):
398 """
399 Returns the HNL decay width into neutral meson and neutrino
400
401 Inputs:
402 - H is a string (name of the meson)
403 - alpha is a flavour of the nu (1, 2 or 3), determine the mixing angle U_alpha
404 """
405 if (H not in ["pi0", "eta", "rho0", "omega", "eta1", "phi", "eta_c"]) or (alpha not in [1, 2, 3]):
406 print("Width_H0_nu ERROR: unknown channel H0 =", H, " alpha =", alpha)
407 quit()
408 x = mass(H) / self.MN
409 if x > 1: # The decay is kinematically forbidden
410 return 0.0
411 width = (c.GF**2.0) * (c.decayConstant[H] ** 2.0) * (self.MN**3.0) * self.U2[alpha - 1] / (32.0 * math.pi)
412 if H in ["pi0", "eta", "eta1", "eta_c"]: # pseudoscalar mesons
413 width *= (1 - x**2.0) ** 2.0
414 if H in ["rho0", "omega", "phi"]: # vector mesons
415 width *= (1.0 + 2 * x**2.0) * (1.0 - x**2.0) ** 2.0
416 if H == "rho0":
417 width *= (1.0 - 2.0 * c.s2thetaw) ** 2.0
418 if H == "omega":
419 width *= (16.0 * c.s2thetaw**2.0) / 9.0
420 if H == "phi":
421 width *= (1.0 - 4.0 / 3.0 * c.s2thetaw) ** 2.0
422 width = 2.0 * width # Majorana case (charge conjugate channels)
423 return width
424

◆ Width_H_l()

hnl.HNLbranchings.Width_H_l ( self,
str H,
int alpha )
Returns the HNL decay width into charged meson and lepton

Inputs:
- H is a string (name of the positively charged meson)
- alpha is the lepton flavour (1, 2 or 3), determine the mixing angle U_alpha

Definition at line 425 of file hnl.py.

425 def Width_H_l(self, H: str, alpha: int):
426 """
427 Returns the HNL decay width into charged meson and lepton
428
429 Inputs:
430 - H is a string (name of the positively charged meson)
431 - alpha is the lepton flavour (1, 2 or 3), determine the mixing angle U_alpha
432 """
433 if (H not in ["pi+", "rho+", "D_s+", "D*_s+"]) or (alpha not in [1, 2, 3]):
434 print("Width_H_l ERROR: unknown channel H =", H, " alpha =", alpha)
435 quit()
436 leptons = [None, "e-", "mu-", "tau-"]
437 xl = mass(leptons[alpha]) / self.MN
438 xh = mass(H) / self.MN
439 if xl + xh > 1: # The decay is kinematically forbidden
440 return 0.0
441 width = (
442 (c.GF**2.0)
443 * (c.decayConstant[H] ** 2.0)
444 * self.CKMelemSq[H]
445 * (self.MN**3.0)
446 * self.U2[alpha - 1]
447 / (16.0 * math.pi)
448 )
449 width *= self.sqrt_lambda(1.0, xl**2, xh**2)
450 if H in ["pi+", "D_s+"]: # pseudoscalar mesons
451 width *= (1.0 - xl**2.0) ** 2.0 - xh**2.0 * (1.0 + xl**2.0)
452 if H in ["rho+", "D*_s+"]: # vector mesons
453 width *= (1.0 - xl**2.0) ** 2.0 + xh**2.0 * (1.0 + xl**2.0) - 2.0 * xh**4.0
454 width = 2.0 * width # Majorana case (charge conjugate channels)
455 return width
456

◆ Width_l1_l2_nu2()

hnl.HNLbranchings.Width_l1_l2_nu2 ( self,
int alpha,
int beta )
Returns the HNL decay width into two different flavour leptons and a neutrino (decay through W boson)

Inputs:
- alpha is a flavour of the first lepton (1,2 or 3), determine the mixing angle U_alpha
- beta is a flavour of the second lepton and neutrino (1, 2 or 3)

Definition at line 346 of file hnl.py.

346 def Width_l1_l2_nu2(self, alpha: int, beta: int):
347 """
348 Returns the HNL decay width into two different flavour leptons and a neutrino (decay through W boson)
349
350 Inputs:
351 - alpha is a flavour of the first lepton (1,2 or 3), determine the mixing angle U_alpha
352 - beta is a flavour of the second lepton and neutrino (1, 2 or 3)
353 """
354 if (alpha not in [1, 2, 3]) or (beta not in [1, 2, 3]):
355 print("Width_l1_l2_nu2 ERROR: unknown channel alpha =", alpha, " beta =", beta)
356 quit()
357 if (
358 alpha == beta
359 ): # The interference case is handled by Width_nu_f_fbar function, workaround for a total width calculation
360 return 0
361 leptons = [None, "e-", "mu-", "tau-"]
362 x1 = mass(leptons[alpha]) / self.MN
363 x2 = mass(leptons[beta]) / self.MN
364 if x1 + x2 > 1: # The decay is kinematically forbidden
365 return 0
366 width = (c.GF**2.0) * (self.MN**5.0) * self.U2[alpha - 1] / (192.0 * (math.pi**3.0))
367 width = width * self.integral(x1, x2, 0)
368 width = 2.0 * width # Majorana case (charge conjugate channels)
369 return width
370

◆ Width_l_u_d()

hnl.HNLbranchings.Width_l_u_d ( self,
int alpha,
int beta,
int gamma )
Returns the HNL tree level decay width into a charged lepton, up quark and down quark (decay through W boson)

Inputs:
- alpha is a flavour of the charged lepton (1,2 or 3), determine the mixing angle U_alpha
- beta is the up quark generation (1, 2, 3 for u, c, t)
- gamma is the down quark generation (1, 2, 3 for d, s, b)

Definition at line 371 of file hnl.py.

371 def Width_l_u_d(self, alpha: int, beta: int, gamma: int):
372 """
373 Returns the HNL tree level decay width into a charged lepton, up quark and down quark (decay through W boson)
374
375 Inputs:
376 - alpha is a flavour of the charged lepton (1,2 or 3), determine the mixing angle U_alpha
377 - beta is the up quark generation (1, 2, 3 for u, c, t)
378 - gamma is the down quark generation (1, 2, 3 for d, s, b)
379 """
380 if (alpha not in [1, 2, 3]) or (beta not in [1, 2, 3]) or (gamma not in [1, 2, 3]):
381 print("Width_l_u_d ERROR: unknown channel alpha =", alpha, " beta =", beta, " gamma =", gamma)
382 quit()
383 leptons = [None, "e-", "mu-", "tau-"]
384 up_quarks = [None, "u", "c", "t"]
385 down_quarks = [None, "d", "s", "b"]
386 xl = mass(leptons[alpha]) / self.MN
387 xu = mass(up_quarks[beta]) / self.MN
388 xd = mass(down_quarks[gamma]) / self.MN
389 if xl + xu + xd > 1: # The decay is kinematically forbidden
390 return 0
391 width = (c.GF**2.0) * (self.MN**5.0) * self.U2[alpha - 1] / (192.0 * (math.pi**3.0))
392 width *= 3 * self.CKMelemSq[(beta, gamma)]
393 width *= self.integral(xl, xu, xd)
394 width = 2.0 * width # Majorana case (charge conjugate channels)
395 return width
396

◆ Width_neutral_mesons()

float hnl.HNLbranchings.Width_neutral_mesons ( self)
Returns the total HNL decay width into a neutral meson and a neutrino

Definition at line 468 of file hnl.py.

468 def Width_neutral_mesons(self) -> float:
469 """
470 Returns the total HNL decay width into a neutral meson and a neutrino
471 """
472 mesons = ["pi0", "eta", "rho0", "omega", "eta1", "phi", "eta_c"]
473 width = 0.0
474 for m in mesons:
475 for lepton in [1, 2, 3]:
476 width += self.Width_H0_nu(m, lepton)
477 return width
478

◆ Width_nu_f_fbar()

hnl.HNLbranchings.Width_nu_f_fbar ( self,
int alpha,
int beta )
Returns the HNL tree level decay width into the fermion-antifermion pair and a neutrino (decay through Z boson or Z and W)

Inputs:
- alpha is a flavour of neutrino (1,2 or 3), determine the mixing angle U_alpha
- beta is a flavour of the fermions: (1, 2 or 3) for charge leptons or (4, 5, 6, 7, 8, 9) for quarks

Definition at line 245 of file hnl.py.

245 def Width_nu_f_fbar(self, alpha: int, beta: int):
246 """
247 Returns the HNL tree level decay width into the fermion-antifermion pair and a neutrino (decay through Z boson or Z and W)
248
249 Inputs:
250 - alpha is a flavour of neutrino (1,2 or 3), determine the mixing angle U_alpha
251 - beta is a flavour of the fermions: (1, 2 or 3) for charge leptons or (4, 5, 6, 7, 8, 9) for quarks
252 """
253 if (alpha not in [1, 2, 3]) or (beta not in [1, 2, 3, 4, 5, 6, 7, 8, 9]):
254 print("Width_nu_f_fbar ERROR: unknown channel alpha =", alpha, " beta =", beta)
255 quit()
256 fermions = [None, "e-", "mu-", "tau-", "u", "d", "s", "c", "b", "t"]
257 x = mass(fermions[beta]) / self.MN
258 if x > 0.5: # the decay is kinematically forbidden
259 return 0
260 width = (c.GF**2.0) * (self.MN**5.0) * self.U2[alpha - 1] / (192.0 * (math.pi**3.0))
261 L = 0.0
262 if x > 0.01:
263 logContent = (1.0 - 3.0 * x**2.0 - (1.0 - x**2.0) * math.sqrt(1.0 - 4.0 * x**2.0)) / (
264 (x**2.0) * (1 + math.sqrt(1.0 - 4.0 * x**2.0))
265 )
266 else:
267 logContent = x**4 + 4.0 * x**6 + 14.0 * x**8
268 if logContent > 0:
269 L = math.log(logContent)
270 if beta < 4: # lepton decay
271 NZ = 1
272 if alpha == beta: # interference case
273 C1 = 0.25 * (1.0 + 4.0 * c.s2thetaw + 8.0 * c.s2thetaw**2.0)
274 C2 = 0.5 * c.s2thetaw * (2.0 * c.s2thetaw + 1.0)
275 else: # no interference
276 C1 = 0.25 * (1.0 - 4.0 * c.s2thetaw + 8.0 * c.s2thetaw**2.0)
277 C2 = 0.5 * c.s2thetaw * (2.0 * c.s2thetaw - 1.0)
278 else: # decay into quarks
279 NZ = 3
280 if beta in [4, 7, 9]: # up quarks
281 C1 = 0.25 * (1.0 - 8.0 / 3.0 * c.s2thetaw + 32.0 / 9.0 * c.s2thetaw**2.0)
282 C2 = 1.0 / 3.0 * c.s2thetaw * (4.0 / 3.0 * c.s2thetaw - 1.0)
283 elif beta in [5, 6, 8]: # down quarks
284 C1 = 0.25 * (1.0 - 4.0 / 3.0 * c.s2thetaw + 8.0 / 9.0 * c.s2thetaw**2.0)
285 C2 = 1.0 / 6.0 * c.s2thetaw * (2.0 / 3.0 * c.s2thetaw - 1.0)
286 else:
287 raise ValueError(f"HNLbranchings: unsupported quark beta index {beta}")
288 width = (
289 width
290 * NZ
291 * (
292 C1
293 * (
294 (1.0 - 14.0 * x**2.0 - 2.0 * x**4.0 - 12.0 * x**6.0) * math.sqrt(1 - 4.0 * x**2)
295 + 12.0 * x**4.0 * (-1.0 + x**4.0) * L
296 )
297 + 4.0
298 * C2
299 * (
300 x**2.0 * (2.0 + 10.0 * x**2.0 - 12.0 * x**4.0) * math.sqrt(1.0 - 4.0 * x**2)
301 + 6.0 * x**4.0 * (1.0 - 2.0 * x**2 + 2.0 * x**4) * L
302 )
303 )
304 )
305 width = 2.0 * width # Majorana case (charge conjugate channels)
306 return width
307

◆ Width_quarks_lepton()

float | int hnl.HNLbranchings.Width_quarks_lepton ( self)
Returns the total HNL decay width with quarks and charged lepton in final state. Uses 3-loops alpha_s correction

Definition at line 503 of file hnl.py.

503 def Width_quarks_lepton(self) -> float | int:
504 """
505 Returns the total HNL decay width with quarks and charged lepton in final state. Uses 3-loops alpha_s correction
506 """
507 if self.MN < 1.0: # decay into quarks is not applicable at low HNL mass
508 return 0
509 width = 0.0
510 for lepton in [1, 2, 3]:
511 for u_quark in [1, 2, 3]:
512 for d_quark in [1, 2, 3]:
513 width += self.Width_l_u_d(lepton, u_quark, d_quark)
514 width *= 1.0 + self.QCD_corr
515 return width
516

◆ Width_quarks_neutrino()

float | int hnl.HNLbranchings.Width_quarks_neutrino ( self)
Returns the total HNL decay width with quarks and neutrino in final state. Uses 3-loops alpha_s correction

Definition at line 490 of file hnl.py.

490 def Width_quarks_neutrino(self) -> float | int:
491 """
492 Returns the total HNL decay width with quarks and neutrino in final state. Uses 3-loops alpha_s correction
493 """
494 if self.MN < 1.0: # decay into quarks is not applicable at low HNL mass
495 return 0
496 width = 0.0
497 for lepton in [1, 2, 3]:
498 for q in [4, 5, 6, 7, 8, 9]:
499 width += self.Width_nu_f_fbar(lepton, q)
500 width *= 1.0 + self.QCD_corr
501 return width
502

Member Data Documentation

◆ _integrand_tf1

hnl.HNLbranchings._integrand_tf1 = None
protected

Definition at line 139 of file hnl.py.

◆ _totalWidth

hnl.HNLbranchings._totalWidth = None
protected

Definition at line 138 of file hnl.py.

◆ CKM

hnl.HNLbranchings.CKM = CKMmatrix()

Definition at line 140 of file hnl.py.

◆ CKMelemSq

dict hnl.HNLbranchings.CKMelemSq
Initial value:
= {
"pi+": self.CKM.Vud**2.0,
"rho+": self.CKM.Vud**2.0,
"D_s+": self.CKM.Vcs**2.0,
"D*_s+": self.CKM.Vcs**2.0,
"K+": self.CKM.Vus**2.0,
# Quarks (up,down)
# up: 1=u, 2=c, 3=t
# down: 1=d, 2=s, 3=b
(1, 1): self.CKM.Vud**2.0,
(1, 2): self.CKM.Vus**2.0,
(1, 3): self.CKM.Vub**2.0,
(2, 1): self.CKM.Vcd**2.0,
(2, 2): self.CKM.Vcs**2.0,
(2, 3): self.CKM.Vcb**2.0,
(3, 1): self.CKM.Vtd**2.0,
(3, 2): self.CKM.Vts**2.0,
(3, 3): self.CKM.Vtb**2.0,
}

Definition at line 141 of file hnl.py.

◆ decays

hnl.HNLbranchings.decays

Definition at line 160 of file hnl.py.

◆ MN

hnl.HNLbranchings.MN = mass * u.GeV

Definition at line 134 of file hnl.py.

◆ QCD_corr

hnl.HNLbranchings.QCD_corr = self.QCD_correction()

Definition at line 205 of file hnl.py.

◆ U

list hnl.HNLbranchings.U = [math.sqrt(ui) for ui in self.U2]

Definition at line 133 of file hnl.py.

◆ U2

hnl.HNLbranchings.U2 = couplings

Definition at line 132 of file hnl.py.


The documentation for this class was generated from the following file: