Changeset 7634 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
04/11/06 16:34:48 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r7632 r7634  
    3636     - improve speed of optimization by switching of timing and
    3737       reset in eventloop
     38
     39   * mmc/MFadcHeader.h:
     40     - changed MFADC_CHANNELS from 3500 to 3800 according to Abelardo
     41
     42   * mmc/MMcFadcHeader.hxx:
     43     - increaded version number from 7 to 8
    3844
    3945
  • 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.