Geant4_10
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
const XML_Char * version
Definition: expat.h:187
subroutine uglast
Definition: uglast.F:2
subroutine grun
Definition: grun.F:2
for(Int_t i=0;i< nentries;i++)
Definition: comparison.C:30
int main(int argc, char **argv)
Definition: genwindef.cpp:30
subroutine cztcp
Definition: main.F:52
subroutine czopen
Definition: main.F:49
subroutine czclos
Definition: main.F:55
subroutine uginit
Definition: uginit.F:2
subroutine czputa
Definition: main.F:58
subroutine qnext
Definition: main.F:46