Ignore:
Timestamp:
05/20/04 05:40:59 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Cosy/main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Cosy/main/MCosy.cc

    r4105 r4107  
    883883    cout << " *  Y: " << kGear.Y() << "*" << kResRE.Y()/4 << "/" << kResSE.Y() << "=4*" << kGearTot.Y() << "/" << kResSE.Y() << endl;
    884884}
    885 
     885/*
    886886void MCosy::InitSync()
    887887{
     
    899899    fMac3->StartPosSync();
    900900}
    901 
     901*/
    902902void MCosy::TalkThreadSeTest()
    903903{
     
    10421042    }
    10431043
    1044     InitSync();
     1044    //InitSync();
    10451045
    10461046    /*** FOR DEMO MODE ***/
  • trunk/MagicSoft/Cosy/main/MTracking.cc

    r4105 r4107  
    550550        //        time.Zd(fCosy->fMac2->GetMjd());
    551551
    552         Double_t mjd1 = fCosy->fZd1->GetMjd();
    553         Double_t mjd2 = fCosy->fZd2->GetMjd();
    554         Double_t mjd0 = fCosy->fAz->GetMjd();
     552        //Double_t mjd1 = fCosy->fZd1->GetMjd();
     553        //Double_t mjd2 = fCosy->fZd2->GetMjd();
     554        //Double_t mjd0 = fCosy->fAz->GetMjd();
     555
     556        Double_t mjdaz = fCosy->fMac1->GetPdoMjd();//mjd0;
     557        Double_t mjdzd = fCosy->fMac2->GetPdoMjd();//TMath::Max(mjd1, mjd2);
    555558
    556559        // get current position of shaftencoders (interpolated
     
    565568        if (phca1 || phca2)
    566569        {
    567             ZdAz dummy = sla.CalcZdAz(fCosy->fRaDec, fCosy->fMac2->GetPdoMjd());//TMath::Max(mjd1, mjd2));
     570            ZdAz dummy = sla.CalcZdAz(fCosy->fRaDec, mjdzd);
    568571            dummy = fCosy->AlignTrackingPos(dummy);
    569572            dummy = fCosy->fBending(dummy);
     
    572575        if (phcaz)
    573576        {
    574             const Double_t mjd = fCosy->fMac1->GetMjd();
    575             ZdAz dummy = sla.CalcZdAz(fCosy->fRaDec, fCosy->fMac1->GetPdoMjd());//mjd0);
     577            ZdAz dummy = sla.CalcZdAz(fCosy->fRaDec, mjdaz);
    576578            dummy = fCosy->AlignTrackingPos(dummy);
    577579            dummy = fCosy->fBending(dummy);
Note: See TracChangeset for help on using the changeset viewer.