Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pyx2xg.f
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file pyx2xg.f
1 
2 C*********************************************************************
3 
4 C...PYX2XG
5 C...Calculates the decay rate for ino -> ino + gauge boson.
6 
7  FUNCTION pyx2xg(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 pyx2xg,xm1,xm2,xm3,gx2,glr
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  pyx2xg=c1/8d0/xmi3*sqrt(xl)
25  &*(gx2*(xl+3d0*xmv2*(xmi2+xmj2-xmv2))-
26  &12d0*glr*xm1*xm2*xmv2)
27 
28  RETURN
29  END