Changeset 9822


Ignore:
Timestamp:
08/10/10 12:28:11 (14 years ago)
Author:
tbretz
Message:
The resolution in trainenergy.C is not displayed as resolution squared
anymore.
Location:
trunk/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/Changelog

    r9821 r9822  
    3434     - implemented conversion before displaying
    3535
     36   * mjtrain/MJTrainEnergy.cc:
     37     - display resolution directly (sqrt)
     38
    3639
    3740
  • trunk/Mars/NEWS

    r9625 r9822  
    5151     ns anymore, but in ns/deg. This means that the values for MAGIC
    5252     have to be scaled by a factor of 10.
     53
     54 ;trainenergy.C:
     55
     56   * The rsolution is not displayed anymore as resolution squared
    5357
    5458
  • trunk/Mars/mjtrain/MJTrainEnergy.cc

    r9565 r9822  
    259259    hres3.AddHist("MEnergyEst.fVal", "(MMcEvt.fEnergy/MEnergyEst.fVal-1)^2", MH3::kProfile);
    260260    hres3.InitName("ResEest;EnergyEst;");
    261     hres3.InitTitle(";E_{est} [GeV];Resolution^{2} (E_{mc}/E_{est}-1)^{2};");
     261    hres3.InitTitle(";E_{est} [GeV];Resolution   \\sqrt{<(E_{mc}/E_{est}-1)^{2}>};");
     262    hres3.SetConversion("sqrt(x)");
    262263
    263264    hres3.AddHist("MHillas.fSize", "(MMcEvt.fEnergy/MEnergyEst.fVal-1)^2", MH3::kProfile);
    264265    hres3.InitName("ResSize;Size;");
    265     hres3.InitTitle(";S [phe];Resolution^{2} (E_{mc}/E_{est}-1)^{2};");
     266    hres3.InitTitle(";S [phe];Resolution   \\sqrt{<(E_{mc}/E_{est}-1)^{2}>};");
     267    hres3.SetConversion("sqrt(x)");
    266268/*
    267269    hres3.AddHist("MMcEvt.fEnergy", "(MEnergyEst.fVal/MMcEvt.fEnergy-1)^2", MH3::kProfile);
    268270    hres3.InitName("ResEmc;EnergyEst;");
    269     hres3.InitTitle(";E_{mc} [GeV];Resolution (E_{est}/E_{mc}-1)^{2};");
     271    hres3.InitTitle(";E_{mc} [GeV];Resolution \\sqrt{<(E_{mc}/E_{est}-1)^{2}>};");
     272    hres3.SetConversion("sqrt(x)");
    270273  */
    271274    hres3.AddHist("MPointingPos.fZd", "(MMcEvt.fEnergy/MEnergyEst.fVal-1)^2", MH3::kProfile);
    272275    hres3.InitName("ResTheta;Theta;");
    273     hres3.InitTitle(";\\Theta [\\circ];Resolution^{2} (E_{mc}/E_{est}-1)^{2};");
     276    hres3.InitTitle(";\\Theta [\\circ];Resolution   \\sqrt{<(E_{mc}/E_{est}-1)^{2}>};");
     277    hres3.SetConversion("sqrt(x)");
    274278
    275279    hres3.AddHist("MMcEvt.fImpact/100", "(MMcEvt.fEnergy/MEnergyEst.fVal-1)^2", MH3::kProfile);
    276280    hres3.InitName("ResImpact;Impact;");
    277     hres3.InitTitle(";I [m];Resolution^{2} (E_{mc}/E_{est}-1)^{2};");
     281    hres3.InitTitle(";I [m];Resolution   \\sqrt{<(E_{mc}/E_{est}-1)^{2}>};");
     282    hres3.SetConversion("sqrt(x)");
    278283
    279284    MFillH fillh0(&hist);
Note: See TracChangeset for help on using the changeset viewer.