1
double complex function qllnomrat4(ms1,ms2,mt1,mt2)
2
************************************************************************
5
* Lnomrat4(-s1,-s2,-t1,-t2)= *
6
* ln(1-((ms1-i*ep)*(ms2-i*ep))/((mt1-i*ep)/(mt2-i*ep))) *
7
* this function is hard-wired for sign of epsilon we must adjust *
8
* sign of s1,s2,t1,t2 to get the right sign for epsilon *
9
************************************************************************
11
include 'qlconstants.f'
12
double precision ms1,ms2,mt1,mt2,prod,htheta
13
C--- define Heaviside theta function (=1 for x>0) and (0 for x < 0)
14
htheta(ms1)=half+half*sign(one,ms1)
15
prod=1d0-(ms1*ms2)/(mt1*mt2)
16
qllnomrat4=dcmplx(dlog(abs(prod)))
17
. -half*impi*dcmplx(htheta(-prod))
18
. *dcmplx(htheta(-ms1)+htheta(-ms2)-htheta(-mt1)-htheta(-mt2))