Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pyxxga.f
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file pyxxga.f
1 
2 
3 C*********************************************************************
4 
5 C...PYXXGA
6 C...Calculates chi0_i -> chi0_j + gamma.
7 
8  FUNCTION pyxxga(C0,XM1,XM2,XMTR,XMTL)
9 
10 C...Double precision and integer declarations.
11  IMPLICIT DOUBLE PRECISION(a-h, o-z)
12  IMPLICIT INTEGER(i-n)
13  INTEGER pyk,pychge,pycomp
14 
15 C...Local variables.
16  DOUBLE PRECISION pyxxga,c0,xm1,xm2,xmtr,xmtl
17  DOUBLE PRECISION f1,f2
18 
19  f1=(1d0+xmtr/(1d0-xmtr)*log(xmtr))/(1d0-xmtr)
20  f2=(1d0+xmtl/(1d0-xmtl)*log(xmtl))/(1d0-xmtl)
21  pyxxga=c0*((xm1**2-xm2**2)/xm1)**3
22  pyxxga=pyxxga*(2d0/3d0*(f1+f2)-13d0/12d0)**2
23 
24  RETURN
25  END