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