]>
Commit | Line | Data |
---|---|---|
fe4da5cc | 1 | * |
2 | * $Id$ | |
3 | * | |
4 | * $Log$ | |
5 | * Revision 1.1.1.1 1995/10/24 10:21:27 cernlib | |
6 | * Geant | |
7 | * | |
8 | * | |
9 | #include "geant321/pilot.h" | |
10 | #if defined(CERNLIB_VER314) | |
11 | *CMZ : 3.21/02 29/03/94 15.41.22 by S.Giani | |
12 | *-- Author : | |
13 | SUBROUTINE GMOLI2(AC,ZC,WMAT,NLM,DENS,BETA2,OMC) | |
14 | C. | |
15 | C. ****************************************************************** | |
16 | C. * * | |
17 | C. * Initializes material constants OMC,CHC for Moliere * | |
18 | C. * scattering. * | |
19 | C. * * | |
20 | C. * WMAT=proportion by weight of NLM individual constituents of * | |
21 | C. * charge ZC and atomic weight AC for the mixture/compound * | |
22 | C. * DENS=density in gm/cm**3 * | |
23 | C. * * | |
24 | C. * ==>Called by : GMULOF * | |
25 | C. * Author M.S. Dixit NRCC Ottawa ********* * | |
26 | C. * * | |
27 | C. ****************************************************************** | |
28 | C. | |
29 | C ZETA=factor for scattering by atomic electrons | |
30 | C | |
31 | DIMENSION WMAT(1),AC(1),ZC(1) | |
32 | DATA ZETA / 1. / | |
33 | * | |
34 | * ------------------------------------------------------------------ | |
35 | * | |
36 | ZS=0. | |
37 | ZE=0. | |
38 | ZX=0. | |
39 | DO 15 I=1,NLM | |
40 | TMP=(WMAT(I)/AC(I))*ZC(I)*(ZC(I)+ZETA) | |
41 | ZS=ZS+TMP | |
42 | ZE=ZE-0.66666*TMP*LOG(ZC(I)) | |
43 | ZX=ZX+TMP*LOG(1.+3.34*(ZC(I)/(BETA2*137.036))**2) | |
44 | 15 CONTINUE | |
45 | OMC=6702.33*ZS*DENS*EXP((ZE-ZX)/ZS) | |
46 | * | |
47 | END | |
48 | ||
49 | #endif |