Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pyx2xh.f
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file pyx2xh.f
1 
2 C*********************************************************************
3 
4 C...PYX2XH
5 C...Calculates the decay rate for ino -> ino + H.
6 
7  FUNCTION pyx2xh(C1,XM1,XM2,XM3,GX2,GLR)
8 
9 C...Double precision and integer declarations.
10  IMPLICIT DOUBLE PRECISION(a-h, o-z)
11  IMPLICIT INTEGER(i-n)
12  INTEGER pyk,pychge,pycomp
13 
14 C...Local variables.
15  DOUBLE PRECISION pyx2xh,xm1,xm2,xm3
16  DOUBLE PRECISION xl,pylamf,c1
17  DOUBLE PRECISION xmi2,xmj2,xmv2,xmi3
18 
19  xmi2=xm1**2
20  xmi3=abs(xm1**3)
21  xmj2=xm2**2
22  xmv2=xm3**2
23  xl=pylamf(xmi2,xmj2,xmv2)
24  pyx2xh=c1/8d0/xmi3*sqrt(xl)
25  &*(gx2*(xmi2+xmj2-xmv2)+
26  &4d0*glr*xm1*xm2)
27 
28  RETURN
29  END