- Timestamp:
- 09/03/19 17:57:28 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/macros/hawcseye/fresnellens_image.C
r19602 r19615 4 4 Double_t telaz = 0; // [deg] Telescope orientation Azimuth 5 5 6 Double_t dzd = 0; // [deg] Relative angle of light ray Zd6 Double_t dzd = 8; // [deg] Relative angle of light ray Zd 7 7 Double_t daz = 0; // [deg] Relative angle of light ray Az 8 8 … … 12 12 // ---------------------------------------------- 13 13 14 MFresnelLens lens("Reflector"); 15 16 MPointingPos pointpos; 17 pointpos.SetLocalPosition(telzd, telaz); 18 19 MPointingPos srcpos("Source"); 20 srcpos.SetLocalPosition(dzd, daz); 21 22 MGeomCamFAMOUS geom(F); 23 24 MSimRays simrays; 25 simrays.SetNameReflector("Reflector"); 26 simrays.SetWavelengthRange(700, 700); 27 //simrays.SetNumPhotons(100000); 28 29 // ---------------------------------------------- 30 14 31 MParList plist; 15 32 MTaskList tlist; 16 33 plist.AddToList(&tlist); 17 34 18 MFresnelLens lens("Reflector");19 35 plist.AddToList(&lens); 20 21 MPointingPos pointpos;22 pointpos.SetLocalPosition(telzd, telaz);23 36 plist.AddToList(&pointpos); 24 25 MPointingPos srcpos("Source");26 37 plist.AddToList(&srcpos); 27 28 MGeomCamFAMOUS geom(F);29 38 plist.AddToList(&geom); 30 39 31 MSimRays simrays;32 simrays.SetNameReflector("Reflector");33 //simrays.SetWavelengthRange(300, 900);34 40 tlist.AddToList(&simrays); 35 41 … … 78 84 loop.SetParList(&plist); 79 85 80 srcpos.SetLocalPosition(dzd, daz);81 86 if (!loop.Eventloop(100)) 82 87 return;
Note:
See TracChangeset
for help on using the changeset viewer.