EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
polini.F
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file polini.F
1 
2 *72*********************************************************************
3  subroutine polini
4  implicit real*8(a-h,o-z)
5  common/pdist/arraya(151,20,6)
6  INTEGER imxpdf
7  parameter(imxpdf=40)
8  COMMON /pepadm/cpdfnam(2,imxpdf),ipdfnam(2,imxpdf),
9  & iplst(10),cunpol,cpol
10  CHARACTER*256 cpdfnam,cunpol,cpol
11  INTEGER iplst,ipdfnam
12  SAVE /pepadm/
13 
14 **************************************************************
15 *
16 * IPLST(1) = 0 (default) : number of PDF warnings
17 * IPLST(2) = 11 (default) : unit -1- for pdf files
18 * IPLST(3) = 12 (default) : unit -2- for pdf files
19 *
20 **************************************************************
21 
22 
23  open(iplst(3),file=cpol,status='UNKNOWN')
24  do i=1,20
25  do j=1,151
26  read(iplst(3),901) arraya(j,i,1),arraya(j,i,2),
27  & arraya(j,i,3),arraya(j,i,4),arraya(j,i,5)
28  enddo
29  enddo
30  close(iplst(3))
31 
32  901 format(5f14.9)
33 
34  return
35  end