]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PDF/spdf/grsf1.F
New methods and data member added by M. Horner.
[u/mrichter/AliRoot.git] / PDF / spdf / grsf1.F
CommitLineData
21886bb6 1#include "pdf/pilot.h"
2C-----------------------------------------------------------------------
3#if defined(CERNLIB_SINGLE)
4 function grsf1(x,s,alp,bet,a,b,ga,gb,gc,gd,ge,gep)
5#endif
6#if defined(CERNLIB_DOUBLE)
7 double precision function grsf1(x,s,alp,bet,a,b,ga,gb,gc,gd,
8 + ge,gep)
9#endif
10C
11#include "pdf/impdp.inc"
12C
13 grsf1=(x**a*(ga+gb*sqrt(x)+gc*x**b)+
14 + s**alp*exp(-ge+sqrt(gep*s**bet*log(1.d0/x))))*
15 + (1.d0-x)**gd
16 return
17 end