Geant4  10.02.p03
TestEm3/geant3/src/main.F
Go to the documentation of this file.
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
subroutine uglast
subroutine grun
int main(int argc, char **argv)
Definition: genwindef.cpp:30
static int FASTCALL common(PROLOG_STATE *state, int tok)
Definition: xmlrole.cc:1309
subroutine cztcp
subroutine czopen
subroutine czclos
subroutine uginit
subroutine czputa
subroutine qnext