Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ghvq.f
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file ghvq.f
1 C
2 C
3 C
4  FUNCTION ghvq(Y1,Y2,AMT2)
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(amt2)/hint1(1)
11  x1=0.50*xt*(dexp(y1)+dexp(y2))
12  x2=0.50*xt*(dexp(-y1)+dexp(-y2))
13  ss=x1*x2*hint1(1)**2
14  af=4.0
15  IF(ihpr2(18).NE.0) af=5.0
16  dlam=hipr1(15)
17  aph=12.0*3.1415926/(33.0-2.0*af)/dlog(amt2/dlam**2)
18 C
19  CALL parton(f,x1,x2,amt2)
20 C
21  gqq=4.0*(cosh(y1-y2)+hipr1(7)**2/amt2)/(1.d0+cosh(y1-y2))/9.0
22  & *(f(1,1)*f(2,2)+f(1,2)*f(2,1)+f(1,3)*f(2,4)
23  & +f(1,4)*f(2,3)+f(1,5)*f(2,6)+f(1,6)*f(2,5))
24  ggg=(8.d0*cosh(y1-y2)-1.d0)*(cosh(y1-y2)+2.0*hipr1(7)**2/amt2
25  & -2.0*hipr1(7)**4/amt2**2)/(1.0+cosh(y1-y2))/24.d0
26  & *f(1,7)*f(2,7)
27 C
28  ghvq=(gqq+ggg)*hipr1(23)*3.14159*aph**2/ss**2
29  RETURN
30  END