Ignore:
Timestamp:
04/11/06 16:34:48 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mjobs/MJSpectrum.cc

    r7632 r7634  
    11941194
    11951195    // Calculate and display spectrum (N/TeVsm^2 at 1TeV)
    1196     TArrayD res(DisplaySpectrum(area, excess, hest, ontime));
     1196    TArrayD res(DisplaySpectrum(area1, excess, hest, ontime));
    11971197
    11981198    // Spectrum fitted (convert res[1] from TeV to GeV)
     
    12041204    // scale with effective collection area to get the event rate (N/s)
    12051205    // scale with the effective observation time to absolute observed events
    1206     n *= area.GetCollectionAreaAbs()*ontime; // N
     1206    n *= area1.GetCollectionAreaAbs()*ontime; // N
    12071207
    12081208    // Now calculate the scale factor from the number of events
    12091209    // produced and the number of events which should have been
    12101210    // observed with our telescope in the time ontime
    1211     const Double_t scale = n/area.GetEntries();
     1211    const Double_t scale = n/area1.GetEntries();
    12121212
    12131213    // Print normalization constant
Note: See TracChangeset for help on using the changeset viewer.