Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
wdsax.f
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file wdsax.f
1 C
2 C
3  FUNCTION wdsax(X)
4 C ********THREE PARAMETER WOOD SAXON
5  common/wood/r,d,fnorm,w
6  SAVE /wood/
7  wdsax=fnorm*(1.+w*(x/r)**2)/(1+exp((x-r)/d))
8  IF (w.LT.0.) THEN
9  IF (x.GE.r/sqrt(abs(w))) wdsax=0.
10  ENDIF
11  RETURN
12  END