]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PDF/spdf/sfsas23.F
Do not unload gAlice, it is needed until the end of the simulation run
[u/mrichter/AliRoot.git] / PDF / spdf / sfsas23.F
CommitLineData
21886bb6 1C-----------------------------------------------------------------------
2#include "pdf/pilot.h"
3 SUBROUTINE SFSAS23(DX,DQ2,DP2,IP2,
4 + DUPV,DDNV,DSEA,DSEAD,DSTR,DCHM,DBOT,DTOP,DGL)
5C
6C ********************************************************************
7C * *
8C * Interface to SASset of structure functions *
9C * *
10C * Author: H. Plothow-Besch (CERN-PPE) *
11C * *
12C ********************************************************************
13C
14C :::::::::::: Structure functions from the SAS group version 2
15C :::::::::::: Lambda = 0.200 GeV, Q**2 = 4 GeV**2 (DIS)
16C
7ef50f50 17#if defined(CERNLIB_DOUBLE)
18 DOUBLE PRECISION
19#endif
20#if defined(CERNLIB_SINGLE)
21 REAL
22#endif
21886bb6 23 + DX,DQ2,DP2,
24 + DUPV,DDNV,DSEA,DSEAD,DSTR,DCHM,DBOT,DTOP,DGL
25 DIMENSION XPDFGM(-6:6)
26 REAL X, Q, Q2, P2, F2GAM, XPDFGM
27 PARAMETER (ISET=3)
28#include "pdf/w50511.inc"
29C
30 X = DX
31 Q = SQRT(DQ2)
32 Q2 = DQ2
33 P2 = DP2
34 IP = IP2
35 IF(IP.LT.0 .OR. IP.GT.7) IP=0
36C
37C generate the individual structure fcn calls
38C
39 CALL SASGAM2(ISET,X,Q2,P2,IP,F2GAM,XPDFGM)
40 UPV = XPDFGM(2)
41 DUPV = UPV
42 DNV = XPDFGM(1)
43 DDNV = DNV
44 SEAU = XPDFGM(-2)
45 DSEA = SEAU
46 SEAD = XPDFGM(-1)
47 DSEAD = SEAD
48 STR = XPDFGM(-3)
49 DSTR = STR
50 CHM = XPDFGM(-4)
51 DCHM = CHM
52 BOT = XPDFGM(-5)
53 DBOT = BOT
54 TOP = 0.
55C IF (DSCAL.GT.TMAS) TOP = XPDFGM(6)
56 DTOP = TOP
57 GL = XPDFGM(0)
58 DGL = GL
59C
60 RETURN
61 END