EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
wdsax1.f
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file wdsax1.f
1 C
2 C
3 C
4 C
5  FUNCTION wdsax1(X)
6 C ********THREE PARAMETER WOOD SAXON
7 C FOR PROJECTILE
8 C HINT1(72)=R, HINT1(73)=D, HINT1(74)=W, HINT1(75)=FNORM
9 C
10  common/hiparnt/hipr1(100),ihpr2(50),hint1(100),ihnt2(50)
11  SAVE /hiparnt/
12  wdsax1=hint1(75)*(1.+hint1(74)*(x/hint1(72))**2)/
13  & (1+exp((x-hint1(72))/hint1(73)))
14  IF (hint1(74).LT.0.) THEN
15  IF (x.GE.hint1(72)/sqrt(abs(hint1(74)))) wdsax1=0.
16  ENDIF
17  RETURN
18  END