S800 Utilities

The main justification for producing a S800 Utilities library comes from the use of Numerical Recipes software in the S800 and Sweeper versions of the NSCL SpecTcl analysis program. The fitting method used in calculating the position along the pad direction in the CRDC detectors utilizes the least square fitting provided in Numerical Recipes. According to the terms of the "Single-Screen" license that I own, I am not authorized to distribute the Numerical Recipes software in the form of a compiled library of their subroutines, but I can incorporate them into my own set of compiled subroutines as long as they cannot be directly accessed by other users. The exact terms of the license can be found following this link.

If you or your institution owns a Numerical Recipes license, and you are authorized to use it, you can keep the S800 and Sweeper SpecTcl software as it is, as long as you do not redistribute it to other users without a license.

If on the other hand you do not possess a valid license, the following steps are required (for Linux and Mac OS X installations only):

  1. Remove any existing copy of the compiled library libnumrec.a and any source from Numerical Recipes (such as the include file nrutil.h) from your system
  2. Replace it by the library libs800utilities.a available in Linux and Mac OS X formats
  3. In the file CS800.cpp or CSweeper.cpp, depending on which one you use, make the following modifications
  4. In the Makefile used to compile and link these versions of SpecTcl, the following modifications are needed:
  5. Recompile SpecTcl by typing make clean and then make.

By following these steps, you will ensure that you are compliant with the terms of the Numerical Recipes license. Thank you for your help with this matter!

D. Bazin

December 28th, 2005