Changeset 9930 for trunk


Ignore:
Timestamp:
09/21/10 12:49:40 (14 years ago)
Author:
tbretz
Message:
A few minor fixes to MJSimulation
Location:
trunk/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/Changelog

    r9929 r9930  
    2323   * mjobs/MJSimulation.cc:
    2424     - correctly propagated run-number to the file-name
     25     - fixed a problem with the tab-title in the ps-files
     26     - fixed the histogram size for the camera (should be 5 instead
     27       of 3,  I hope)
     28     - fixed the tab-title for the MedDev tab
     29     - do not write image-files in dev-null mode
    2530
    2631
  • trunk/Mars/mjobs/MJSimulation.cc

    r9929 r9930  
    473473    filltp.SetNameTab("TrigPos",    "TriggerPosition w.r.t the first photon");
    474474    fillew.SetNameTab("EvtWidth",   "Time between first and last photon hitting a detector");
    475     filled.SetNameTab("MedDev",     "Time between first and last photon hitting a detector");
     475    filled.SetNameTab("MedDev",     "Median deviation of arrival time of photons hitting a detector");
    476476
    477477    MHPhotonEvent planeG(1, "HPhotonEventGround");     // Get from MaxImpact
     
    481481    MHPhotonEvent plane3(2, "HMirrorPlane3");
    482482    MHPhotonEvent plane4(2, "HMirrorPlane4");
    483     MHPhotonEvent planeF1(3, "HPhotonEventCamera");   // Get from MGeomCam
    484     MHPhotonEvent planeF2(header.IsPointRun()?4:3, "HPhotonEventCones"); // Get from MGeomCam
     483    MHPhotonEvent planeF1(5, "HPhotonEventCamera");   // Get from MGeomCam
     484    MHPhotonEvent planeF2(header.IsPointRun()?4:5, "HPhotonEventCones"); // Get from MGeomCam
    485485
    486486    plist.AddToList(&planeG);
     
    507507    fill0.SetNameTab("Reflector",  "Photon distribution at reflector plane w/o camera shadow");
    508508    //fill1.SetNameTab("CamShadow",  "Photon distribution at reflector plane w/ camera shadow");
    509     fill2.SetNameTab("Candidates", "'Can hit' photon distribution at reflector plane w/ camera shadow");
     509    fill2.SetNameTab("Candidates", "*Can hit* photon distribution at reflector plane w/ camera shadow");
    510510    fill3.SetNameTab("Reflected",  "Photon distribution after reflector projected to reflector plane");
    511511    fill4.SetNameTab("Focal",      "Photon distribution at focal plane");
     
    768768        tasks.AddToList(&fillx3);
    769769        tasks.AddToList(&fillx4);
    770         tasks.AddToList(&write4a);
     770        if (!HasNullOut())
     771            tasks.AddToList(&write4a);
    771772        //tasks.AddToList(&fillx5);
    772773
Note: See TracChangeset for help on using the changeset viewer.