Changeset 7488


Ignore:
Timestamp:
02/09/06 14:47:54 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r7487 r7488  
    2727   * mreport/MReportCC.cc, mreport/MReportStarguider.cc:
    2828     - fixed support for ver 200510250
     29
     30   * mjobs/MJSpectrum.cc:
     31     - added fit of un-unfolded spectrum
    2932
    3033
  • trunk/MagicSoft/Mars/mjobs/MJSpectrum.cc

    r7404 r7488  
    662662    gPad->SetGridx();
    663663    gPad->SetGridy();
    664     spectrum.DrawCopy();
     664    TH1D *spec=(TH1D*)spectrum.DrawCopy();
     665    FitSpectrum(*spec);
    665666
    666667    c1.cd(3);
     
    694695    spectrum.SetXTitle("E [GeV]");
    695696    spectrum.SetYTitle("dN/dE [N/TeVsm^{2}]");
    696     TH1D *spec = (TH1D*)spectrum.DrawCopy();
     697    spec = (TH1D*)spectrum.DrawCopy();
    697698
    698699    // Calculate Spectrum * E^2
Note: See TracChangeset for help on using the changeset viewer.