Quick Guide for INGA users March 2008

This version compiles in gtk2 which is available on most Linux systems and cygwin. No need to install gtk1.

After downloading the file lamps-gtk2-DD-MM-YY.tgz, copy it to a directory of your choice, say lamps-inga2008. If you are installing in a directory where you already installed a previous version, then always do make clean before doing make. Also please delete the hidden file .lamps_set in the install directory before executing the new version.

  1. Unpack with the command tar zxvf lamps-gtk2-DD-MM-YY.tgz
  2. Note that several subdirectories are created. Go to src directory. If your fortran compiler is g77 instead of gfortran (as in cygwin and also in older Fedora/RedHat systems) edit Makefile changing gfortran to g77
  3. Compile by issuing the command make in the src directory
  4. To run the program you must go to the upper level directory lamps-inga2008 and type lamps (or ./lamps)

Always store your Candle/Freedom list files (.001 files) in the "zls" directory. To build Gamma-Gamma or DCO matrices follow these steps:
  1. Have a look at user_inga.F in directory src. Edit if necessary. Copy this file to overwrite user.F and recompile by the command make
  2. Go to the upper level directory and issue the command lamps or ./lamps
  3. Read setup: Notice that there is already a file inga.set which has the parameter list. If you have to change the parameter list,
    edit the inga.set file directly, making changes only in the parameter list which you will find at the end of the file. Make sure you have the number of parameters and the ADC resolutions correct.
  4. Modify the setup file interactively to add the pseudo parameters of type "user" to correspond with those defined in user.F. The supplied inga.set does not have this included.
  5. For Gamma-Gamma matrix define a 2d spectrum of size 4K x 4K single word using a colon notation to specify a continuous range of parameters (So if your add-back parameters for 24 clovers are parameter 124 to 147 then specify 100:147 for both the X-Axis and Y-Axis parameters). Now lamps will build the Gamma-Gamma matrix and display it as a 2d spectrum. At the end of the analysis, use the right mouse button and select "Read/Write" to save the matrix in Radware spn format (a .spn file will be saved)
  6. For DCO matrix in Radware format, create the pseudo paraemeters for the X and Y axes so as to be continuous and define them for pseudo spectra using the colon notation as above. Make sure the parameters along the X and Y axis do not have any common parameter. Save the Radware .spn matrix at the end of the anlysis as explained above.

Back to main page