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 
2 #ifdef batch
3 
4  PROGRAM main
5 *
6 *
7  parameter(ngbank=100000, nhbook=100000)
8  common/gcbank/q(ngbank)
9  common/pawc /h(nhbook)
10 *
11  CALL gzebra( ngbank)
12  CALL hlimit(-nhbook)
13 *
14 * *** initialize higz
15  CALL hplint(0)
16 *
17 * *** geant initialisation
18  CALL uginit
19 *
20 * *** start events processing
21  CALL grun
22 *
23 * *** End of run
24  CALL uglast
25 *
26  stop
27  END
28 
29 #else
30 
31  PROGRAM main
32 *
33 * geant main program. to link with the motif user interface
34 * the routine gpawpp(nwgean,nwpaw) should be called, whereas
35 * the routine gpaw(nwgean,nwpaw) gives access to the basic
36 * graphics version.
37 *
38  parameter(nwgean=3000000, nwpaw=1000000)
39  common/gcbank/geant(nwgean)
40  common/pawc /paw(nwpaw)
41 *
42 *
43  CALL gpaw(nwgean,nwpaw)
44 *
45  END
46 *
47  SUBROUTINE qnext
48  END
49 *
50  SUBROUTINE czopen
51  END
52 *
53  SUBROUTINE cztcp
54  END
55 *
56  SUBROUTINE czclos
57  END
58 *
59  SUBROUTINE czputa
60  END
61 
62 #endif