========================================================================
			Quickstart Procedure
========================================================================

1) Copy all files in this directory to your usual sort directory
  (i.e. the directory from where you run sunsort)

2) Compile quickstart-c.srt. The files in calib-inputs should be compiled 
   automatically.

3) Set format=User and read 1 record from disk /dev/zero. Information on
   the set-up of the quickstart code will be output to screen using
   "adclist_dump and "expt_dump". These subroutines are defined in 
   event_dump.c.

   This will give you an idea of how the code operates and how to tailor it 
   to your own analysis needs. Of course the detector_event procedures will 
   not run until you set things up to read some data into the 
   code! The output of "event_dump will report "hits = 0" for now!

4) You can test the operation of the detector_event procedures by putting
   some ADC/TDC data into the code by hand. Recompile the
   quickstart-c.srt code using the flag -DUSERINPUT. This adds the
   rdtape_user_sortin which contains the necessary subroutine. Set up to
   read in a number of records. For each record you will be prompted to
   enter adc's and their values. Look at how the detector_event
   procedures respond when particular elements are hit!

4) Next, tailor the expt.cal and map.cal files to your particular 
   experiment.

5) Then define the procedures to be run for each detector element in 
   cal_init. These should point either to procedures to be found in the 
   library detprocs.c or your own subroutines in cal.c and cal_init.c.

6) Check out the calib-routines/README for pointers to additional example 
   set-up files and a step by step calibration walkthrough.
