Ignore:
Timestamp:
02/09/06 14:47:54 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.