Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pygrvs.f
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file pygrvs.f
1 
2 C*********************************************************************
3 
4 C...PYGRVS
5 C...Auxiliary for the GRV 94 parton distribution functions
6 C...for s, c and b sea.
7 C...Authors: M. Glueck, E. Reya and A. Vogt.
8 
9  FUNCTION pygrvs (X, S, STH, AL, BE, AK, AG, B, D, E, ES)
10 
11 C...Double precision declaration.
12  IMPLICIT DOUBLE PRECISION (a - z)
13 
14 C...Evaluation.
15  IF(s.LE.sth) THEN
16  pygrvs = 0d0
17  ELSE
18  dx = sqrt(x)
19  lx = log(1d0/x)
20  pygrvs = (s - sth)**al / lx**ak * (1d0+ ag*dx + b*x) *
21  & (1d0- x)**d * exp(-e + sqrt(es * s**be * lx))
22  ENDIF
23 
24  RETURN
25  END