Changeset 19649 for trunk/Mars/hawc
- Timestamp:
- 09/15/19 22:24:12 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/hawc/fresnellens_traceray.C
r19645 r19649 32 32 const double D = 54.92; // [cm] Diameter of the refractive surface 33 33 const double F = 50.21; // [cm] Nominal focal length of the lens 34 const double Z = F+H/2; // [cm] camera position w.r.t. lens exit (see also MGeomCamFAMOUS!)35 34 36 const double R = D/2; // [cm] radius of lens35 const double H = 0.25; // [cm] Width of a single groove 37 36 const double w = 0.01; // [cm] Width of a single groove 38 const double H = 0.25; // [cm] Width of a single groove39 37 //const double w = 1; // [cm] Width of a single groove 40 38 //const double H = 2.5; // [cm] Thickness of lens 41 39 42 const double lambda = 546; // [nm] Wavelength for lens surface definition 40 const double Z = F+H; // [cm] camera position w.r.t. lens exit (see also MGeomCamFAMOUS!) 41 const double R = D/2; // [cm] radius of lens 43 42 44 double angle = 0; // Check ix=0 at angle=-55 and N=10 43 const double lambda0 = 546; // [nm] Wavelength for lens surface definition 44 const double lambda = 546; // [nm] Wavelength for the simulated photons 45 45 46 double Z0 = 3;46 double angle = 6; // Angle of incidence of the simulated rays 47 47 48 const double n0 = MFresnelLens::RefractiveIndex(lambda);48 double Z0 = 3; // Starting Z-position of rays 49 49 50 50 MFresnelLens lens; 51 lens.DefineLens(F, D, w, H, lambda );51 lens.DefineLens(F, D, w, H, lambda0); 52 52 //lens.SetPSF(psf); 53 //lens.DefineLens(F, D, w, H, lambda);54 53 //lens.EnableSlopeAbsorption(); 55 54 //lens.EnableDraftAbsorption();
Note:
See TracChangeset
for help on using the changeset viewer.