Changeset 9553


Ignore:
Timestamp:
02/25/10 09:26:01 (15 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Cosy
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Cosy/Changelog

    r9551 r9553  
    11                                                                  -*-*- END -*-*-
     2 2010/02/25 Thomas Bretz
     3
     4   * main/MMoonPointing.h:
     5     - changed comment
     6
     7   * main/MTracking.[h,cc]:
     8     - changed internal units of offsets to rad
     9
     10
     11
    212 2010/02/23 Thomas Bretz
    313
  • trunk/MagicSoft/Cosy/main/MMoonPointing.h

    r9550 r9553  
    1515    TGraph2D fSin;
    1616
    17     Double_t fOffsetShadow; // [deg] distance of the Moon shadow from the Moon
    18     Double_t fOffsetWobble; // [deg] wobble offset
     17    Double_t fOffsetShadow; // [rad] distance of the Moon shadow from the Moon
     18    Double_t fOffsetWobble; // [rad] wobble offset
    1919
    2020public:
  • trunk/MagicSoft/Cosy/main/MTracking.cc

    r9550 r9553  
    234234        }
    235235
    236         moon.SetOffsetShadow(fWobbleAngle);
    237         moon.SetOffsetWobble(fWobbleOffset);
     236        moon.SetOffsetShadow(TMath::DegToRad()*fWobbleAngle);
     237        moon.SetOffsetWobble(TMath::DegToRad()*fWobbleOffset);
    238238
    239239        ZdAz srcpos, pointpos;
     
    332332    fTrackType = kEMoon|0x100;
    333333
    334     fWobbleOffset = wobble;
    335     fWobbleAngle  = offset;
     334    fWobbleOffset = TMath::DegToRad()*wobble;
     335    fWobbleAngle  = TMath::DegToRad()*offset;
    336336
    337337    // Start tracking
  • trunk/MagicSoft/Cosy/main/MTracking.h

    r9550 r9553  
    2828    RaDec fTrackPos;
    2929
    30     Double_t fWobbleOffset;
    31     Double_t fWobbleAngle;
     30    Double_t fWobbleOffset;   // [rad]
     31    Double_t fWobbleAngle;    // [rad]
    3232
    3333    MLog   *fOut;
     
    5555    void SetTrackAcc(Float_t zd, Float_t az) { fTrackAcc.Zd(zd); fTrackAcc.Az(az); }
    5656
    57     void SetWobble(Double_t offset, Double_t angle=0) { fWobbleOffset=offset; fWobbleAngle=angle; }
     57    void SetWobble(Double_t offset, Double_t angle=0) { fWobbleOffset=TMath::DegToRad()*offset; fWobbleAngle=TMath::DegToRad()*angle; }
    5858
    5959    void SetOut(MLog *fout) { fOut = fout; }
Note: See TracChangeset for help on using the changeset viewer.