]> git.uio.no Git - u/mrichter/AliRoot.git/blame - GEANT321/gphys/gavrl3.F
This commit was generated by cvs2svn to compensate for changes in r2,
[u/mrichter/AliRoot.git] / GEANT321 / gphys / gavrl3.F
CommitLineData
fe4da5cc 1*
2* $Id$
3*
4* $Log$
5* Revision 1.1.1.1 1995/10/24 10:21:21 cernlib
6* Geant
7*
8*
9#include "geant321/pilot.h"
10*CMZ : 3.21/02 29/03/94 15.41.21 by S.Giani
11*-- Author :
12 REAL FUNCTION GAVRL3(GAMA,BETA,XM)
13C.
14C. ******************************************************************
15C. * *
16C. * L3 shell x-section a la Gavrila *
17C. * Gama - L3 shell photoelectron gama *
18C. * Beta - L3 shell photoelectron beta *
19C. * XM - ratio of the electron mass to the photon energy *
20C. * *
21C. * ==>CALLED BY : GPHOT *
22C. * AUTHOR : J. Chwastowski *
23C. * *
24C. ******************************************************************
25C.
26#if !defined(CERNLIB_SINGLE)
27 DOUBLE PRECISION G,G2,G3,B,P1,P2,P3
28#endif
29 G = GAMA
30 G2 = G*G
31 G3 = G2*G
32 B = BETA
33 P1 = (4*G3-6*G2+5*G+3)
34 P2 = -(G2-3*G+4)
35 P3 = 1
36 IF(BETA.GT.0.0001) P3 = LOG(G*(1+B))/(B*G)
37 GAVRL3 = (P1+P2*P3)*B*G*XM**5
38 END