Changeset 9429 for trunk


Ignore:
Timestamp:
04/16/09 18:09:30 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r9428 r9429  
    100100   * mbase/MParSpline.[h,cc]:
    101101     - added
     102
     103   * msim/MSimAtmosphere.cc:
     104     - fixed a bug which caused the aerosol coefficient to be
     105       incorrectly initialized
    102106
    103107
  • trunk/MagicSoft/Mars/NEWS

    r9427 r9429  
    3535   * There is no default pulse shape anymoe it must be given in
    3636     the resource file
     37
     38   * Fixed a bug which caused the aerosol coefficient to be incorrectly
     39     initialized. The effect might be random.
    3740
    3841 ;callisto:
  • trunk/MagicSoft/Mars/msim/MSimAtmosphere.cc

    r9378 r9429  
    554554
    555555        if (IsValid())
    556             PreCalcOzone();
     556            PreCalcAerosol();
    557557
    558558        return kTRUE;
     
    621621            h = 30.e5;
    622622
    623         // Mie absorption coefficient at sea level through interpolation
    624623        //const float aero_betap[15] = {0.27, 0.26, 0.25, 0.24, 0.24, 0.23, 0.20, 0.180, 0.167, 0.158, 0.150, 0.142, 0.135, 0.127, 0.120};
    625624        //const Double_t beta0 = getbeta(wavelength, aero_betap);
     
    630629        const UInt_t H = TMath::Nint(h/1e4);
    631630        const UInt_t T = TMath::Min(89, TMath::Nint(theta/STEPTHETA));
     631
    632632
    633633        const Double_t path = aerosol_path[H][T];
Note: See TracChangeset for help on using the changeset viewer.