Changeset 9553 for trunk/MagicSoft/Cosy/main
- Timestamp:
- 02/25/10 09:26:01 (15 years ago)
- Location:
- trunk/MagicSoft/Cosy/main
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/main/MMoonPointing.h
r9550 r9553 15 15 TGraph2D fSin; 16 16 17 Double_t fOffsetShadow; // [ deg] distance of the Moon shadow from the Moon18 Double_t fOffsetWobble; // [ deg] wobble offset17 Double_t fOffsetShadow; // [rad] distance of the Moon shadow from the Moon 18 Double_t fOffsetWobble; // [rad] wobble offset 19 19 20 20 public: -
trunk/MagicSoft/Cosy/main/MTracking.cc
r9550 r9553 234 234 } 235 235 236 moon.SetOffsetShadow( fWobbleAngle);237 moon.SetOffsetWobble( fWobbleOffset);236 moon.SetOffsetShadow(TMath::DegToRad()*fWobbleAngle); 237 moon.SetOffsetWobble(TMath::DegToRad()*fWobbleOffset); 238 238 239 239 ZdAz srcpos, pointpos; … … 332 332 fTrackType = kEMoon|0x100; 333 333 334 fWobbleOffset = wobble;335 fWobbleAngle = offset;334 fWobbleOffset = TMath::DegToRad()*wobble; 335 fWobbleAngle = TMath::DegToRad()*offset; 336 336 337 337 // Start tracking -
trunk/MagicSoft/Cosy/main/MTracking.h
r9550 r9553 28 28 RaDec fTrackPos; 29 29 30 Double_t fWobbleOffset; 31 Double_t fWobbleAngle; 30 Double_t fWobbleOffset; // [rad] 31 Double_t fWobbleAngle; // [rad] 32 32 33 33 MLog *fOut; … … 55 55 void SetTrackAcc(Float_t zd, Float_t az) { fTrackAcc.Zd(zd); fTrackAcc.Az(az); } 56 56 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; } 58 58 59 59 void SetOut(MLog *fout) { fOut = fout; }
Note:
See TracChangeset
for help on using the changeset viewer.