Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
fjet.f
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file fjet.f
1 C
2 C
3 C
4  FUNCTION fjet(X,WGT)
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 x(10)
10  pt2=(hint1(1)**2/4.0-hipr1(8)**2)*x(1)+hipr1(8)**2
11  xt=2.0*dsqrt(pt2)/hint1(1)
12  ymx1=dlog(1.0/xt+dsqrt(1.0/xt**2-1.0))
13  y1=2.0*ymx1*x(2)-ymx1
14  ymx2=dlog(2.0/xt-dexp(y1))
15  ymn2=dlog(2.0/xt-dexp(-y1))
16  y2=(ymx2+ymn2)*x(3)-ymn2
17 
18  fjet=2.0*ymx1*(ymx2+ymn2)*(hint1(1)**2/4.0-hipr1(8)**2)
19  & *g(y1,y2,pt2)/2.0
20 
21  RETURN
22  END