source: trunk/MagicSoft/Simulation/Corsika/Mmcs/staend.f@ 10146

Last change on this file since 10146 was 286, checked in by harald, 25 years ago
This is the start point for further developments of the Magic Monte Carlo Simulation written by Jose Carlos Gonzales. Now it is under control of one CVS repository for the whole collaboration. Everyone should use this CVS repository for further developments.
File size: 4.5 KB
Line 
1 SUBROUTINE STAEND
2
3C-----------------------------------------------------------------------
4C STA(RT) END
5C
6C SUBROUTINE FOR GETTING THE CONTROL PRINTOUT OF THE CONSTANT ARRAYS
7C PRINT CONTROL OUTPUT
8C THIS SUBROUTINE IS CALLED FROM MAIN AND START
9C-----------------------------------------------------------------------
10
11 IMPLICIT NONE
12*KEEP,ANNI.
13 COMMON /ANNI/ CAN,CANN
14 DOUBLE PRECISION CAN(50),CANN(50)
15*KEEP,ATMOS.
16 COMMON /ATMOS/ AATM,BATM,CATM,DATM
17 DOUBLE PRECISION AATM(5),BATM(5),CATM(5),DATM(5)
18*KEEP,EDECAY.
19 COMMON /EDECAY/ CETA
20 DOUBLE PRECISION CETA(5)
21*KEEP,KAONS.
22 COMMON /KAONS/ CKA
23 DOUBLE PRECISION CKA(80)
24*KEEP,PARPAR.
25 COMMON /PARPAR/ CURPAR,SECPAR,PRMPAR,OUTPAR,C,
26 * E00,E00PN,PTOT0,PTOT0N,THICKH,ITYPE,LEVL
27 DOUBLE PRECISION CURPAR(14),SECPAR(14),PRMPAR(14),OUTPAR(14),
28 * C(50),E00,E00PN,PTOT0,PTOT0N,THICKH
29 INTEGER ITYPE,LEVL
30*KEEP,PARPAE.
31 DOUBLE PRECISION GAMMA,COSTHE,PHI,H,T,X,Y,CHI,BETA,GCM,ECM
32 EQUIVALENCE (CURPAR(2),GAMMA), (CURPAR(3),COSTHE),
33 * (CURPAR(4), PHI ), (CURPAR(5), H ),
34 * (CURPAR(6), T ), (CURPAR(7), X ),
35 * (CURPAR(8), Y ), (CURPAR(9), CHI ),
36 * (CURPAR(10),BETA), (CURPAR(11),GCM ),
37 * (CURPAR(12),ECM )
38*KEEP,RANGE.
39 COMMON /RANGE/ CC
40 DOUBLE PRECISION CC(20)
41*KEEP,RUNPAR.
42 COMMON /RUNPAR/ FIXHEI,THICK0,HILOECM,HILOELB,
43 * STEPFC,NRRUN,NSHOW,PATAPE,MONIIN,
44 * MONIOU,MDEBUG,NUCNUC,
45 * CETAPE,
46 * SHOWNO,ISHW,NOPART,NRECS,NBLKS,MAXPRT,NDEBDL,
47 * N1STTR,MDBASE,
48 * DEBDEL,DEBUG,FDECAY,FEGS,FIRSTI,FIXINC,FIXTAR,
49 * FIX1I,FMUADD,FNKG,FPRINT,FDBASE
50 * ,GHEISH,GHESIG
51 COMMON /RUNPAC/ DSN,HOST,USER
52 DOUBLE PRECISION FIXHEI,THICK0,HILOECM,HILOELB
53 REAL STEPFC
54 INTEGER NRRUN,NSHOW,PATAPE,MONIIN,MONIOU,MDEBUG,NUCNUC,
55 * SHOWNO,ISHW,NOPART,NRECS,NBLKS,MAXPRT,NDEBDL,
56 * N1STTR,MDBASE
57 INTEGER CETAPE
58 CHARACTER*79 DSN
59 CHARACTER*20 HOST,USER
60
61 LOGICAL DEBDEL,DEBUG,FDECAY,FEGS,FIRSTI,FIXINC,FIXTAR,
62 * FIX1I,FMUADD,FNKG,FPRINT,FDBASE
63 * ,GHEISH,GHESIG
64*KEEP,STRBAR.
65 COMMON /STRBAR/ CSTRBA
66 DOUBLE PRECISION CSTRBA(11)
67*KEND.
68
69 INTEGER I
70C-----------------------------------------------------------------------
71
72C PRINT CONTROL OUTPUT
73 WRITE(MONIOU,103) (C(I),I=1,50)
74 103 FORMAT (//' ',10('='),' CONSTANTS AND PARAMETERS ',43('=')
75 * //' PHYSICAL CONSTANTS (C)' // (1P,4(E15.8,1X),E15.8) )
76 WRITE(MONIOU,110) (CKA(I),I=1,80)
77 110 FORMAT (//' CONSTANTS FOR KAONS CKA(1) TO CKA(40)'
78 * // (1P,4(E15.8,1X),E15.8) )
79 WRITE(MONIOU,114) (CETA(I),I=1,5)
80 114 FORMAT (//' CONSTANTS FOR ETAS CETA(1) TO CETA(5)'
81 * // (1P,4(E15.8,1X),E15.8) )
82 WRITE(MONIOU,115) (CSTRBA(I),I=1,11)
83 115 FORMAT (//' CONSTANTS FOR STRANGE BARYONS CSTRBA(1) TO ',
84 * 'CSTRBA(11)'// (1P,4(E15.8,1X),E15.8) )
85 IF ( .NOT. GHEISH ) THEN
86 WRITE(MONIOU,206) (CAN(I),I=1,30)
87 206 FORMAT (//' ANNIHILATION PARAMETERS, SET 1 (CAN)'
88 * // (1P,4(E15.8,1X),E15.8) )
89 WRITE(MONIOU,209) (CANN(I),I=1,30)
90 209 FORMAT (//' ANNIHILATION PARAMETERS, SET 2 (CANN)'
91 * // (1P,4(E15.8,1X),E15.8) )
92 WRITE(MONIOU,60) (CC(I),I=1,12)
93 60 FORMAT (//' THRESHOLD ENERGIES OF INTERACTION INTERVALS IN '
94 * ,'GEV (CC)'// (1P,4(E15.8,1X),E15.8) )
95 ENDIF
96
97 WRITE(MONIOU,303) (AATM(I),BATM(I),CATM(I)*1.E-5,I=1,4),
98 * AATM(5),CATM(5)*1.E5
99 303 FORMAT (//' ',10('='),' ATMOSPHERE ', 57('=') /
100 * ' ( US STANDARD ATMOSPHERE PARAMETRIZED BY LINSLEY )'//
101 * ' HEIGHT H IN KM GIVES THICKNESS OF ATMOSPHERE T IN G/CM**2'/1P,
102 * ' H = 0 ... 4 KM ---> T = ',
103 * E12.5,' +',E11.4,' * EXP ( - H /',E11.4,' )'/
104 * ' H = 4 ... 10 KM ---> T = ',
105 * E12.5,' +',E11.4,' * EXP ( - H /',E11.4,' )'/
106 * ' H = 10 ... 40 KM ---> T = ',
107 * E12.5,' +',E11.4,' * EXP ( - H /',E11.4,' )'/
108 * ' H = 40 .. 100 KM ---> T = ',
109 * E12.5,' +',E11.4,' * EXP ( - H /',E11.4,' )'/
110 * ' H = 100 ... KM ---> T = ',
111 * E12.5,' -',E11.4,' * H ' )
112
113 RETURN
114 END
Note: See TracBrowser for help on using the repository browser.