Changeset 8869 for trunk/MagicSoft/Cosy/main
- Timestamp:
- 02/21/08 22:03:06 (17 years ago)
- Location:
- trunk/MagicSoft/Cosy/main
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/main/MSlewing.h
r8815 r8869 2 2 #define COSY_MSlewing 3 3 4 #ifndef MARS_MLog5 #include "MLog.h"4 #ifndef ROOT_TROOT 5 #include <TROOT.h> 6 6 #endif 7 7 … … 10 10 class ZdAz; 11 11 12 class MSlewing : public MLog12 class MSlewing 13 13 { 14 14 protected: -
trunk/MagicSoft/Cosy/main/MTracking.cc
r8825 r8869 269 269 const Int_t paz = fCosy->fAz->GetPos(); 270 270 271 const Int_t res1 = fCosy->fZd1->GetPhysRes(); 272 const Int_t res2 = fCosy->fZd2->GetPhysRes(); 273 271 274 // Get current shaftencoder position of the telescope 272 Double_t seposzd1 = ((pzd1+8192)%16384)*re.X(); 273 Double_t seposzd2 = ((pzd2+8192)%16384)*re.X(); 274 Double_t seposaz = paz *re.Y(); 275 Double_t seposzd1 = ((pzd1+res1/2)%res1)*re.X(); 276 Double_t seposzd2 = ((pzd2+res2/2)%res2)*re.X(); 277 //Double_t seposzd1 = pzd1*re.X(); 278 //Double_t seposzd2 = pzd2*re.X(); 279 Double_t seposaz = paz *re.Y(); 275 280 276 281 // distance between (To+dt) and To [re] -
trunk/MagicSoft/Cosy/main/MTracking.h
r8847 r8869 10 10 #endif 11 11 12 class MLog; 12 13 class RaDec; 13 14 class SlaStars;
Note:
See TracChangeset
for help on using the changeset viewer.