Optimize++ README this program is oringially adpoted from Lilanga's espace version by Ole. ** before use the script. check the following: 1. the sp[1].dsiev and sp[2].dsiev defination in Database.cpp They are distance from hall center to sieve plates. 2. Wheather you're using extended target correction? If yes, do the following: a) uncomment the defination of DEL_XTG_COR and THT_XTG_COR in opt_parameter.h b) uncomment the definations delth and deldp in Event.cpp c) uncomment the usages of delth and deldp in Optimize.cpp (2 places) ** modificaions made by Yi: 1. In the optimization for single arm, only one arm database needed 2. Full name of input files should be defined in inputdat 3. Removed the x-tg correction 4. Changed the method calculating dp.kin in Event.cpp 5. Changed the method calculating x,y,th and ph peak in Peak.cpp 6. Add an option to optition to optimize ytg using no sieve data 7. Corrected the scattering angle calculation in Event.cpp yqiang@jlab.org 01/24/2008