ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gphoton.f
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file gphoton.f
1 C
2 C
3 C
4  FUNCTION gphoton(Y1,Y2,PT2)
5  IMPLICIT REAL*8 (a-h,o-z)
6  REAL hipr1(100),hint1(100)
7  common/hiparnt/hipr1,ihpr2(50),hint1,ihnt2(50)
8  SAVE /hiparnt/
9  dimension f(2,7)
10  xt=2.0*dsqrt(pt2)/hint1(1)
11  x1=0.50*xt*(dexp(y1)+dexp(y2))
12  x2=0.50*xt*(dexp(-y1)+dexp(-y2))
13  z=dsqrt(1.d0-xt**2/x1/x2)
14  ss=x1*x2*hint1(1)**2
15  t=-(1.0-z)/2.0
16  u=-(1.0+z)/2.0
17  af=3.0
18  dlam=hipr1(15)
19  aph=12.0*3.1415926/(33.0-2.0*af)/dlog(pt2/dlam**2)
20  aphem=1.0/137.0
21 C
22  CALL parton(f,x1,x2,pt2)
23 C
24  g11=-(u**2+1.0)/u/3.0*f(1,7)*(4.0*f(2,1)+4.0*f(2,2)
25  & +f(2,3)+f(2,4)+f(2,5)+f(2,6))/9.0
26  g12=-(t**2+1.0)/t/3.0*f(2,7)*(4.0*f(1,1)+4.0*f(1,2)
27  & +f(1,3)+f(1,4)+f(1,5)+f(1,6))/9.0
28  g2=8.0*(u**2+t**2)/u/t/9.0*(4.0*f(1,1)*f(2,2)
29  & +4.0*f(1,2)*f(2,1)+f(1,3)*f(2,4)+f(1,4)*f(2,3)
30  & +f(1,5)*f(2,6)+f(1,6)*f(2,5))/9.0
31 C
32  gphoton=(g11+g12+g2)*hipr1(23)*3.14159*aph*aphem/ss**2
33  RETURN
34  END