]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PDF/spdf/gr94fws.F
Using LHAPDF instead of PDF
[u/mrichter/AliRoot.git] / PDF / spdf / gr94fws.F
1 *
2 * $Id$
3 *
4 * $Log$
5 * Revision 1.1.1.3  2000/04/19 13:28:09  mclareni
6 * Import version 8.04
7 *
8 * Revision 1.2  2000/04/15 14:10:46  plothow
9 * Version 8.03: Nuclear PDFs introduced
10 *
11 * Revision 1.1.1.1  1996/04/12 15:29:22  plothow
12 * Version 7.01
13 *
14 *
15 #include "pdf/pilot.h"
16 *
17 C      DOUBLE PRECISION FUNCTION GR94FWS (X,S,AL,BE,AK,AG,B,D,E,ES)
18        FUNCTION GR94FWS (X,S,AL,BE,AK,AG,B,D,E,ES)
19 C
20 C+SEQ, IMPDP.
21        IMPLICIT REAL (A - Z)
22 C
23        if (X.LE.0.) then
24          GR94FWS = 0.
25          return
26        endif
27        DX =  SQRT (X)
28        LX =  LOG (1./X)
29        GR94FWS = S**AL / LX**AK * (1.+ AG*DX + B*X) * (1.- X)**D
30      1       *  EXP (-E +  SQRT (ES * S**BE * LX))
31        RETURN
32        END