Changeset 4107 for trunk/MagicSoft/Cosy/main
- Timestamp:
- 05/20/04 05:40:59 (21 years ago)
- Location:
- trunk/MagicSoft/Cosy/main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/main/MCosy.cc
r4105 r4107 883 883 cout << " * Y: " << kGear.Y() << "*" << kResRE.Y()/4 << "/" << kResSE.Y() << "=4*" << kGearTot.Y() << "/" << kResSE.Y() << endl; 884 884 } 885 885 /* 886 886 void MCosy::InitSync() 887 887 { … … 899 899 fMac3->StartPosSync(); 900 900 } 901 901 */ 902 902 void MCosy::TalkThreadSeTest() 903 903 { … … 1042 1042 } 1043 1043 1044 InitSync();1044 //InitSync(); 1045 1045 1046 1046 /*** FOR DEMO MODE ***/ -
trunk/MagicSoft/Cosy/main/MTracking.cc
r4105 r4107 550 550 // time.Zd(fCosy->fMac2->GetMjd()); 551 551 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); 555 558 556 559 // get current position of shaftencoders (interpolated … … 565 568 if (phca1 || phca2) 566 569 { 567 ZdAz dummy = sla.CalcZdAz(fCosy->fRaDec, fCosy->fMac2->GetPdoMjd());//TMath::Max(mjd1, mjd2));570 ZdAz dummy = sla.CalcZdAz(fCosy->fRaDec, mjdzd); 568 571 dummy = fCosy->AlignTrackingPos(dummy); 569 572 dummy = fCosy->fBending(dummy); … … 572 575 if (phcaz) 573 576 { 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); 576 578 dummy = fCosy->AlignTrackingPos(dummy); 577 579 dummy = fCosy->fBending(dummy);
Note:
See TracChangeset
for help on using the changeset viewer.