Geant4_10
main.F
Go to the documentation of this file.
1 
2 #ifdef batch
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 * *** start events processing
20  CALL grun
21 *
22 * *** End of run
23  CALL uglast
24 *
25  stop
26  END
27 #else
28  PROGRAM main
29 *
30 * geant main program. to link with the motif user interface
31 * the routine gpawpp(nwgean,nwpaw) should be called, whereas
32 * the routine gpaw(nwgean,nwpaw) gives access to the basic
33 * graphics version.
34 *
35  parameter(nwgean=3000000, nwpaw=1000000)
36  common/gcbank/geant(nwgean)
37  common/pawc /paw(nwpaw)
38 *
39 *
40  CALL gpaw(nwgean,nwpaw)
41 *
42  END
43 *
44  SUBROUTINE qnext
45  END
46 *
47  SUBROUTINE czopen
48  END
49 *
50  SUBROUTINE cztcp
51  END
52 *
53  SUBROUTINE czclos
54  END
55 *
56  SUBROUTINE czputa
57  END
58 #endif
const XML_Char * version
Definition: expat.h:187
subroutine uglast
Definition: uglast.F:2
subroutine grun
Definition: grun.F:2
str_size start() const
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