Changeset 6922


Ignore:
Timestamp:
04/08/05 18:37:37 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r6921 r6922  
    6666     - implemented new values from new starguider report as defined
    6767       in TDAS00-07 V7.1
     68     - Fixed the formerly wrong unit of fDevAz and fDevZd (unit now
     69       is arcmin)
    6870
    6971   * mjobs/MJCalibrateSignal.cc:
     
    8183     - removed condition IsUseBlindPixel() and IsUsePINDiode from
    8284       setting filter and applied it to the corresponding task
     85
     86   * mjobs/MDataSet.cc:
     87     - fixed a bug using the default paths
    8388
    8489
  • trunk/MagicSoft/Mars/NEWS

    r6921 r6922  
    5454   - implemented new values from new starguider report as defined
    5555     in TDAS00-07 V7.1 (eg SkyBrighness)
     56
     57   - Fixed the formerly wrong unit of azimuth and zenith angle deviation
     58     in starguider report (If you merpp the same reports with this version
     59     you'll get the correct units (arcmin) but a different result
     60     than with old versions (wrong units))
    5661
    5762
  • trunk/MagicSoft/Mars/mjobs/MDataSet.cc

    r6906 r6922  
    122122        // Set default sequence file and dir name
    123123        if (name.IsNull())
    124             name = Form("/magic/sequences/%04d/sequence%08d.txt", num[i]/1000, num[i]);
     124            name = Form("/magic/sequences/%04d/sequence%08d.txt", num[i]/10000, num[i]);
    125125        if (dir.IsNull())
    126             name = Form("/magic/data/star/%04d/%08d", num[i]/1000, num[i]);
     126            dir = Form("/magic/data/star/%04d/%08d", num[i]/10000, num[i]);
    127127
    128128        if (gSystem->AccessPathName(name, kFileExists))
  • trunk/MagicSoft/Mars/mreport/MReportStarguider.cc

    r6920 r6922  
    3636// Class Version 1:
    3737// ----------------
    38 //  + Double_t fDevAz;          // [deg]   azimuth mispointing
    39 //  + Double_t fDevZd;          // [deg]   zenith  mispointing
     38//  + Double_t fDevAz;          // [arcmin]   azimuth mispointing
     39//  + Double_t fDevZd;          // [arcmin]   zenith  mispointing
    4040//
    4141//
     
    9595
    9696    if (ver < 200503170)
     97    {
     98        // Fix a problem with the units
     99        fDevAz *= 60./TMath::RadToDeg();
     100        fDevZd *= 60./TMath::RadToDeg();
    97101        return str.IsNull() ? kTRUE : kCONTINUE;
     102    }
    98103
    99104    MAstro::String2Angle(str, fNominalZd);   // Nom Zd
    100105    MAstro::String2Angle(str, fNominalAz);   // Nom Az
     106
     107    if (ver < 999999999)
     108    {
     109        // Until a fix in the software the written position was nonsense
     110        fNominalZd = 0;
     111        fNominalAz = 0;
     112    }
    101113
    102114    n=sscanf(str.Data(), "%f %f %d %lf %lf %n",
  • trunk/MagicSoft/Mars/mreport/MReportStarguider.h

    r6921 r6922  
    99{
    1010private:
    11     Double_t fDevAz;              // [deg]  azimuth mispointing
    12     Double_t fDevZd;              // [deg]  zenith  mispointing
     11    Double_t fDevAz;              // [arcmin] azimuth mispointing
     12    Double_t fDevZd;              // [arcmin] zenith  mispointing
    1313
    1414    Double_t fNominalZd;          // [deg] Nominal zenith distance
Note: See TracChangeset for help on using the changeset viewer.