ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
main.F
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file main.F
1 #ifdef batch
2 
3  PROGRAM main
4 *
5 *
6  parameter(ngbank=100000, nhbook=10000)
7  common/gcbank/q(ngbank)
8  common/pawc /h(nhbook)
9 *
10  CALL gzebra( ngbank)
11  CALL hlimit(-nhbook)
12 *
13 * *** initialize higz
14  CALL hplint(0)
15 *
16 * *** geant initialisation
17  CALL uginit
18 *
19 * *** End of run
20  CALL uglast
21 *
22  stop
23  END
24 
25 #else
26 
27  PROGRAM main
28 *
29 * geant main program. to link with the motif user interface
30 * the routine gpawpp(nwgean,nwpaw) should be called, whereas
31 * the routine gpaw(nwgean,nwpaw) gives access to the basic
32 * graphics version.
33 *
34  parameter(nwgean=3000000, nwpaw=1000000)
35  common/gcbank/geant(nwgean)
36  common/pawc /paw(nwpaw)
37 *
38 *
39  CALL gpaw(nwgean,nwpaw)
40 *
41  END
42 *
43  SUBROUTINE qnext
44  END
45 *
46  SUBROUTINE czopen
47  END
48 *
49  SUBROUTINE cztcp
50  END
51 *
52  SUBROUTINE czclos
53  END
54 *
55  SUBROUTINE czputa
56  END
57 
58 #endif