Changeset 9553
- Timestamp:
- 02/25/10 09:26:01 (15 years ago)
- Location:
- trunk/MagicSoft/Cosy
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/Changelog
r9551 r9553 1 1 -*-*- 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 2 12 2010/02/23 Thomas Bretz 3 13 -
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.