Ignore:
Timestamp:
02/21/08 22:03:06 (17 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Cosy/main
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Cosy/main/MSlewing.h

    r8815 r8869  
    22#define COSY_MSlewing
    33
    4 #ifndef MARS_MLog
    5 #include "MLog.h"
     4#ifndef ROOT_TROOT
     5#include <TROOT.h>
    66#endif
    77
     
    1010class ZdAz;
    1111
    12 class MSlewing : public MLog
     12class MSlewing
    1313{
    1414protected:
  • trunk/MagicSoft/Cosy/main/MTracking.cc

    r8825 r8869  
    269269     const Int_t paz  = fCosy->fAz->GetPos();
    270270
     271     const Int_t res1 = fCosy->fZd1->GetPhysRes();
     272     const Int_t res2 = fCosy->fZd2->GetPhysRes();
     273
    271274     // 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();
    275280
    276281     // distance between (To+dt) and To [re]
  • trunk/MagicSoft/Cosy/main/MTracking.h

    r8847 r8869  
    1010#endif
    1111
     12class MLog;
    1213class RaDec;
    1314class SlaStars;
Note: See TracChangeset for help on using the changeset viewer.