5 * Revision 1.1.1.1 1996/03/06 15:37:34 mclareni
6 * Add geane321 source directories
9 #include "geant321/pilot.h"
10 *CMZ : 3.21/02 29/03/94 15.41.49 by S.Giani
12 SUBROUTINE ERLAND (STEP, Z, A, RHO, P, E, XMASS, DEDX2)
14 C. ******************************************************************
16 C. * Calculates energy straggling using Gaussian theory in a step *
18 C. * Input STEP = current step-length (cm) *
19 C. * Z = Z of the material *
20 C. * A = A of the material *
21 C. * RHO = density of the material *
22 C. * P = momentum of the particle *
23 C. * E = energy of the particle *
24 C. * XMASS = mass of the particle *
26 C. * Output DEDX2 = mean square of the straggling in G *
28 C. * ==>Called by : ERTRCH *
29 C. * Author E.Nagy ********* *
30 C. * Original routine : GLANDO *
32 C. ******************************************************************
34 #include "geant321/gconst.inc"
36 IF (STEP.LT.1.E-7) THEN
41 * Calculate xi factor (KeV).
44 XI = (153.5*Z*STEP*RHO)/(A*BETA*BETA)
46 * Maximum energy transfer to atomic electron (KeV).
51 F2 = 1.+2.*RATIO*GAMMA+RATIO*RATIO
55 * *** and now sigma**2 in GeV
57 DEDX2 = XI*EMAX*(1.-(BETA*BETA/2.))*1.E-12