# ==================================================================
# Python module
#
# This module provides methods to compute the lifetime and
# branching ratio of HNLs given its mass and couplings as
# input parameters.
#
# Created: 30/11/2014 Elena Graverini (elena.graverini@cern.ch)
#
# Updated: 07/10/2017 Kyrylo Bondarenko (bondarenko@lorentz.leidenuniv.nl)
#
# Sample usage:
# ipython -i hnl.py
# In [1]: b = HNL(1.,[1.e-8, 2.e-8, 1.e-9],True)
# HNLbranchings instance initialized with couplings:
# U2e = 1e-08
# U2mu = 2e-08
# U2tau = 1e-09
# and mass:
# m = 1.0 GeV
# In [2]: b.computeNLifetime()
# Out[2]: 4.777721453160521e-05
# In [3]: b.findBranchingRatio('N -> pi mu')
# Out[3]: 0.11826749348890987
#
# ==================================================================