source: trunk/examples/extended/electromagnetic/TestEm4/geant3/src/main.F

Last change on this file was 807, checked in by garnier, 16 years ago

update

File size: 1003 bytes
Line 
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     
Note: See TracBrowser for help on using the repository browser.