EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
inideflo.F
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file inideflo.F
1 *72*********************************************************************
2  SUBROUTINE inideflo
3 ************************
4 *HI Speed optimized *
5 ************************
6  IMPLICIT NONE
7 
8 *
9 * to avoid variable conflictions, a second keep element is necessary
10 * with the same common block name (see LEPTO2)
11 *
12 
13  COMMON /leptou/ cut(14),lst(40),parl(30),
14  & xlp,ylp,w2lp,q2lp,ulp
15  REAL cut,parl,xlp,ylp,w2lp,q2lp,ulp
16  INTEGER lst
17  SAVE /leptou/
18 
19  INTEGER imxpdf
20  parameter(imxpdf=40)
21  COMMON /pepadm/cpdfnam(2,imxpdf),ipdfnam(2,imxpdf),
22  & iplst(10),cunpol,cpol
23  CHARACTER*256 cpdfnam,cunpol,cpol
24  INTEGER iplst,ipdfnam
25  SAVE /pepadm/
26 
27 **************************************************************
28 *
29 * IPLST(1) = 0 (default) : number of PDF warnings
30 * IPLST(2) = 11 (default) : unit -1- for pdf files
31 * IPLST(3) = 12 (default) : unit -2- for pdf files
32 *
33 **************************************************************
34 
35 
36  INTEGER k,j,lx1,lq
37  DOUBLE PRECISION xx,qq
38  common/ xarray / xarray
39  common/ grid / gu,gd,gl,gs,gg,gp,gn
40  DOUBLE PRECISION xarray(102), gu(76,26), gd(76,26), gl(76,26),
41  & gs(76,26), gg(76,26), gp(76,26), gn(76,26)
42 
43  OPEN(iplst(3),file=cpol,status='OLD')
44  DO k = 1, 76
45  DO j = 1, 26
46  READ(iplst(3),40)gu(k,j),gd(k,j),gl(k,j),gs(k,j),
47  & gg(k,j),gp(k,j),gn(k,j)
48  END DO
49  END DO
50  CLOSE(iplst(3))
51  40 FORMAT (7(1pe15.7))
52 
53  DO lx1=0,25
54  xx=10.d0**(-4.d0+lx1/25.d0*3.d0)
55  xarray(lx1+1) = dlog(xx)
56  ENDDO
57  DO lx1=1,50
58  xx=0.1d0+lx1/50.d0*0.9d0
59  xarray(lx1+26) = dlog(xx)
60  ENDDO
61  DO lq=0,25
62  qq=0.6d0*10**(5.d0*lq/25.d0)
63  xarray(lq+77) = dlog(qq)
64  ENDDO
65 
66  RETURN
67  END