Rev | Line | |
---|
[807] | 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 |
---|
Note: See
TracBrowser
for help on using the repository browser.