Index: trunk/Mars/hawc/fresnellens_psf.C
===================================================================
--- trunk/Mars/hawc/fresnellens_psf.C	(revision 19647)
+++ trunk/Mars/hawc/fresnellens_psf.C	(revision 19648)
@@ -13,5 +13,5 @@
 
 ******************************************************************/
-void fresnellens_psf2()
+void fresnellens_psf()
 {
     // ------------------- setup lens -----------------------
@@ -29,9 +29,9 @@
     const double Rcam = 1.5*4.5; // [cm] radius of camera
 
-    // const double lambda = 546; // [nm] Wavelength for lens surface definition
+    const double lambda = 546; // [nm] Wavelength for simulated rays
 
     double psf = 0;  // Do not change! It might have unpredicted side effectes
 
-    double angle = 8;
+    double angle = 6; // [cm] angle of incidence of simulates rays
 
     MFresnelLens lens;
@@ -50,5 +50,5 @@
 
     TH2F h_out("OUT", "Photon Distribution (out)",   NN*4/3, -R*4/3, R*4/3,   NN, -R, R);
-    TH2F h_psf("PSF", "Point Spread Function",     1000*4/3, -R*4/3, R*4/3, 1000, -R, R);
+    TH2F h_psf("PSF", "Point Spread Function",     2000*4/3, -R*4/3, R*4/3, 2000, -R, R);
     TH2F h_cam("CAM", "Point Spread Function",     4*37*4/3, -14*4/3, 14*4/3, 4*37, -14, 14);
 
@@ -82,5 +82,5 @@
         // ---------------------------------------------------------------
 
-        int ret = lens.ExecuteOptics(pp, uu, 546);
+        int ret = lens.ExecuteOptics(pp, uu, lambda);
 
         // Skip photons which will not hit the focal plane within r<R
