Ignore:
Timestamp:
03/13/06 15:51:11 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mpointing
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mpointing/MPointingDevCalc.cc

    r7374 r7594  
    192192    // Linear starguider calibration taken from April/May data
    193193    // For calibration add MDriveReport::GetErrorZd/Az !
    194     fDeviation->SetDevXY(-7.0, 16);
     194    fDeviation->SetDevXY(fDx, fDy);
    195195    //devzd -= 2.686/60;   // 1arcmin ~ 5mm
    196196    //devaz -= 2.840/60;
     
    278278        rc = kTRUE;
    279279    }
     280    if (IsEnvDefined(env, prefix, "Dx", print))
     281    {
     282        fDx = GetEnvValue(env, prefix, "Dx", fDx);
     283        rc = kTRUE;
     284    }
     285    if (IsEnvDefined(env, prefix, "Dy", print))
     286    {
     287        fDy = GetEnvValue(env, prefix, "Dy", fDy);
     288        rc = kTRUE;
     289    }
    280290
    281291    return rc;
  • trunk/MagicSoft/Mars/mpointing/MPointingDevCalc.h

    r7553 r7594  
    3333    Float_t fMaxAbsDev;            // [arcmin] Maximum considered absolute deviation
    3434
     35    Float_t fDx;                   // Starguider calibration dx
     36    Float_t fDy;                   // Starguider calibration dy
     37
    3538    // MPointingDevCalc
    3639    Int_t ProcessStarguiderReport();
     
    4750public:
    4851    MPointingDevCalc() : fReport(0), fDeviation(0), fSkip(5), fNumMinStars(8),
    49         fNsbLevel(3), fNsbMin(30), fNsbMax(60), fMaxAbsDev(15)
     52        fNsbLevel(3), fNsbMin(30), fNsbMax(60), fMaxAbsDev(15), fDx(-7), fDy(16)
    5053    {
    5154        fName  = "MPointingDevCalc";
     
    6063    void SetNsbMax(Float_t nsb)    { fNsbMax=nsb;    }
    6164    void SetMaxAbsDev(Float_t max) { fMaxAbsDev=max; }
     65    void SetDx(Float_t dx)         { fDx=dx; }
     66    void SetDy(Float_t dy)         { fDy=dy; }
    6267
    6368    ClassDef(MPointingDevCalc, 0) //Task calculating the pointing deviation
Note: See TracChangeset for help on using the changeset viewer.