Geant4  10.02.p03
TestEm5/geant3/src/main.F
Go to the documentation of this file.
1 
2 #ifdef batch
3 
4  PROGRAM main
5 
6  parameter(ng=200000,nh=10000)
7  common/gcbank/q(ng)
8  common/pawc/h(nh)
9 C ALLOCATE MEMORY FOR ZEBRA/HBOOK
10 C
11  CALL gzebra(ng)
12  CALL hlimit(-nh)
13 C
14  CALL hplint(0)
15 C
16 C INITIALISATION
17 C
18  CALL uginit
19 C
20 C PROCESSING
21 C
22  CALL grun
23 C
24 C TERMINATION
25 C
26  CALL uglast
27 C
28  stop
29  END
30 
31 #else
32 
33  PROGRAM main
34 *
35 * GEANT main program. To link with the MOTIF user interface
36 * the routine GPAWPP(NWGEAN,NWPAW) should be called, whereas
37 * the routine GPAW(NWGEAN,NWPAW) gives access to the basic
38 * graphics version.
39 *
40  parameter(nwgean=3000000, nwpaw=1000000)
41  common/gcbank/geant(nwgean)
42  common/pawc /paw(nwpaw)
43 *
44 *
45  CALL gpaw (nwgean,nwpaw)
46 *
47  END
48 *
49  SUBROUTINE qnext
50  END
51 *
52  SUBROUTINE czopen
53  END
54 *
55  SUBROUTINE cztcp
56  END
57 *
58  SUBROUTINE czclos
59  END
60 *
61  SUBROUTINE czputa
62  END
63 
64 #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