Changeset 19615 for trunk


Ignore:
Timestamp:
09/03/19 17:57:28 (5 years ago)
Author:
tbretz
Message:
Some re-ordering for inexperienced users
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/macros/hawcseye/fresnellens_image.C

    r19602 r19615  
    44    Double_t telaz = 0;      // [deg] Telescope orientation Azimuth
    55
    6     Double_t dzd   = 0;      // [deg] Relative angle of light ray Zd
     6    Double_t dzd   = 8;      // [deg] Relative angle of light ray Zd
    77    Double_t daz   = 0;      // [deg] Relative angle of light ray Az
    88
     
    1212    // ----------------------------------------------
    1313
     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
    1431    MParList plist;
    1532    MTaskList tlist;
    1633    plist.AddToList(&tlist);
    1734
    18     MFresnelLens lens("Reflector");
    1935    plist.AddToList(&lens);
    20 
    21     MPointingPos pointpos;
    22     pointpos.SetLocalPosition(telzd, telaz);
    2336    plist.AddToList(&pointpos);
    24 
    25     MPointingPos srcpos("Source");
    2637    plist.AddToList(&srcpos);
    27 
    28     MGeomCamFAMOUS geom(F);
    2938    plist.AddToList(&geom);
    3039
    31     MSimRays simrays;
    32     simrays.SetNameReflector("Reflector");
    33     //simrays.SetWavelengthRange(300, 900);
    3440    tlist.AddToList(&simrays);
    3541
     
    7884    loop.SetParList(&plist);
    7985
    80     srcpos.SetLocalPosition(dzd, daz);
    8186    if (!loop.Eventloop(100))
    8287        return;
Note: See TracChangeset for help on using the changeset viewer.