Changeset 8856 for trunk/MagicSoft/Cosy/main/MStarguider.cc
- Timestamp:
- 02/05/08 11:41:55 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/main/MStarguider.cc
r8847 r8856 216 216 217 217 TString disp=gVirtualX->DisplayName(); 218 cout<< "Display: " << disp << endl;218 gLog << all << "Display: " << disp << endl; 219 219 if (disp.First(':')>=0) 220 220 disp=disp(0, disp.First(':')); … … 507 507 fStatus(MDriveCom::kStandby) 508 508 { 509 cout<< " #### FIXME: Make MCaos Thread safe!" << endl;509 gLog << warn << " #### FIXME: Make MCaos Thread safe!" << endl; 510 510 511 511 // This means that all objects added with AddFrame are deleted … … 582 582 delete fAmcSocket; 583 583 584 cout<< "Camera Display destroyed." << endl;584 gLog << inf2 << "Camera Display destroyed." << endl; 585 585 } 586 586 … … 596 596 if (len<0) 597 597 { 598 cout<< "ERROR - Sending Trigger to Amc" << endl;598 gLog << err << "ERROR - Sending Trigger to Amc" << endl; 599 599 return false; 600 600 } 601 601 if (len!=txt.Length()) 602 602 { 603 cout<< "Send wrong number (" << len << ") of Bytes to Amc." << endl;603 gLog << err << "Send wrong number (" << len << ") of Bytes to Amc." << endl; 604 604 return false; 605 605 } … … 615 615 void MStarguider::CloseWindow() 616 616 { 617 cout<< "EventDisplay::CloseWindow: Exit Application Loop." << endl;617 gLog << inf2 << "EventDisplay::CloseWindow: Exit Application Loop." << endl; 618 618 619 619 //fClient.ExitLoop(); … … 817 817 { 818 818 const Float_t pixsize = atof(fPixSize->GetText()); 819 cout<< "Pixel Size changed to " << pixsize << "\"/pix" << endl;819 gLog << all << "Pixel Size changed to " << pixsize << "\"/pix" << endl; 820 820 fSao->SetPixSize(pixsize); 821 821 return kTRUE; … … 824 824 { 825 825 const Float_t angle = atof(fAngle->GetText()); 826 cout<< "Rotation Angle changed to " << angle << "deg" << endl;826 gLog << all << "Rotation Angle changed to " << angle << "deg" << endl; 827 827 fSao->SetRotationAngle(angle); 828 828 return kTRUE; … … 831 831 { 832 832 const Float_t cut = atof(fCut->GetText()); 833 cout<< "Starguider cleaning level changed to " << cut << " sigma." << endl;833 gLog << all << "Starguider cleaning level changed to " << cut << " sigma." << endl; 834 834 return kTRUE; 835 835 } … … 1364 1364 if (num < 3) //was 1 1365 1365 { 1366 cout<< "Sorry, less than 3 detected spot in FOV!" << endl;1366 gLog << warn << "Sorry, less than 3 detected spot in FOV!" << endl; 1367 1367 if (fStargTPoint->IsDown()) 1368 1368 fStargTPoint->SetDown(kFALSE); … … 1373 1373 if (stars.GetRealEntries() < 3) 1374 1374 { 1375 cout<< "Sorry, less than 3 stars in FOV!" << endl;1375 gLog << warn << "Sorry, less than 3 stars in FOV!" << endl; 1376 1376 if (fStargTPoint->IsDown()) 1377 1377 fStargTPoint->SetDown(kFALSE); … … 1466 1466 // open tpoint file 1467 1467 const TString name = MCosy::GetFileName("tpoint", "starg", "txt"); 1468 cout<< "TPoint-Starg File ********* " << name << " ********** " << endl;1468 gLog << all << "TPoint-Starg File ********* " << name << " ********** " << endl; 1469 1469 1470 1470 fOutStargTp = new ofstream(name); … … 1579 1579 { 1580 1580 fTPoint->SetDown(kFALSE); 1581 cout<< "No star found. Couldn't take a tpoint." << endl;1581 gLog << warn << "No star found. Couldn't take a tpoint." << endl; 1582 1582 } 1583 1583 return ZdAz(.0,.0);
Note:
See TracChangeset
for help on using the changeset viewer.