Changeset 4687 for trunk/MagicSoft/Mars
- Timestamp:
- 08/19/04 11:28:02 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 1 added
- 2 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r4685 r4687 20 20 -*-*- END OF LINE -*-*- 21 21 22 2004/08/19: Thomas Bretz 23 24 * mastro/MTransCelLocCam.[h,cc]: 25 - renamed to MStarCamTrans and moved to mstarcam 26 27 * mastro/Makefile, mastro/AstroLinkDef.h: 28 - removed MTransCelLocCam 29 30 * mstarcam/Makefile, mstarcam/AstroLinkDef.h: 31 - cleaned up includes in Makefile 32 - added MStarCamTrans 33 34 35 22 36 2004/08/19: Robert Wagner 37 23 38 * mtemp/MFindStars.[cc,h], mastro/MAstroCamera.cc, 24 39 mtemp/MSourceDirections.[cc,h] 25 - Changes to reflect the change of name of 26 MStarPos, MStarCam 40 - Changes to reflect the change of name of MStarPos, MStarCam 27 41 28 42 -
trunk/MagicSoft/Mars/mastro/AstroLinkDef.h
r4675 r4687 13 13 14 14 #pragma link C++ class MObservatory+; 15 #pragma link C++ class MTransCelLocCam+;16 15 17 16 #endif -
trunk/MagicSoft/Mars/mastro/Makefile
r4675 r4687 26 26 MAstroCatalog.cc \ 27 27 MAstroCamera.cc \ 28 MObservatory.cc \ 29 MTransCelLocCam.cc 28 MObservatory.cc 30 29 31 30 ############################################################ -
trunk/MagicSoft/Mars/mstarcam/MStarCamTrans.cc
r4686 r4687 179 179 // Output : ( theta, phi) direction for the position (X,Y) in the camera 180 180 // 181 182 Bool_t MStarCamTrans::Loc0CamToLoc(Double_t theta0deg, Double_t phi0deg, 181 Bool_t MStarCamTrans::Loc0CamToLoc(Double_t theta0deg, Double_t phi0deg, 183 182 Double_t X, Double_t Y, 184 183 Double_t &thetadeg, Double_t &phideg) … … 235 234 // Output : (X, Y) position in the camera corresponding to (theta, phi) 236 235 // 237 238 236 Bool_t MStarCamTrans::Loc0LocToCam(Double_t theta0deg, Double_t phi0deg, 239 237 Double_t thetadeg, Double_t phideg, … … 272 270 // Output : ( theta0, phi0) direction for the position (0,0) in the camera 273 271 // 274 275 Bool_t MStarCamTrans::LocCamToLoc0(Double_t thetadeg, Double_t phideg, 272 Bool_t MStarCamTrans::LocCamToLoc0(Double_t thetadeg, Double_t phideg, 276 273 Double_t X, Double_t Y, 277 274 Double_t &theta0deg, Double_t &phi0deg) … … 419 416 // Output : (dec, h) direction for the position (X,Y) in the camera 420 417 // 421 422 Bool_t MStarCamTrans::Cel0CamToCel(Double_t dec0deg, Double_t h0hour, 418 Bool_t MStarCamTrans::Cel0CamToCel(Double_t dec0deg, Double_t h0hour, 423 419 Double_t X, Double_t Y, 424 420 Double_t &decdeg, Double_t &hhour) … … 461 457 // Output : (X, Y) position in the camera corresponding to (dec, h) 462 458 // 463 464 459 Bool_t MStarCamTrans::Cel0CelToCam(Double_t dec0deg, Double_t h0hour, 465 460 Double_t decdeg, Double_t hhour, … … 545 540 // Output : (theta2, phi2) direction for the position (X2,Y2) in the camera 546 541 // 547 548 Bool_t MStarCamTrans::LocCamCamToLoc(Double_t theta1deg, Double_t phi1deg, 542 Bool_t MStarCamTrans::LocCamCamToLoc(Double_t theta1deg, Double_t phi1deg, 549 543 Double_t X1, Double_t Y1, 550 544 Double_t X2, Double_t Y2, … … 582 576 // Output : ( X2, Y2) position corresponding to (theta2, phi2) 583 577 // 584 585 Bool_t MStarCamTrans::LocCamLocToCam(Double_t theta1deg, Double_t phi1deg, 578 Bool_t MStarCamTrans::LocCamLocToCam(Double_t theta1deg, Double_t phi1deg, 586 579 Double_t X1, Double_t Y1, 587 580 Double_t theta2deg, Double_t phi2deg, … … 616 609 // Output : (dec2, h2) direction for the position (X2,Y2) in the camera 617 610 // 618 619 Bool_t MStarCamTrans::CelCamCamToCel(Double_t dec1deg, Double_t h1deg, 611 Bool_t MStarCamTrans::CelCamCamToCel(Double_t dec1deg, Double_t h1deg, 620 612 Double_t X1, Double_t Y1, 621 613 Double_t X2, Double_t Y2, … … 653 645 // Output : ( X2, Y2) position corresponding to (dec2, h2) 654 646 // 655 656 Bool_t MStarCamTrans::CelCamCelToCam(Double_t dec1deg, Double_t h1deg, 647 Bool_t MStarCamTrans::CelCamCelToCam(Double_t dec1deg, Double_t h1deg, 657 648 Double_t X1, Double_t Y1, 658 649 Double_t dec2deg, Double_t h2deg, … … 685 676 // Output : (theta, phi) corresponding local coordinates 686 677 // 687 688 Bool_t MStarCamTrans::CelToLoc(Double_t decdeg, Double_t hhour, 678 // (see also MAstroCatalog and MAstroSky2Local) 679 // 680 Bool_t MStarCamTrans::CelToLoc(Double_t decdeg, Double_t hhour, 689 681 Double_t &thetadeg, Double_t &phideg) 690 682 { … … 719 711 // Output : (dec, h) corresponding celestial coordinates 720 712 // 721 722 Bool_t MStarCamTrans::LocToCel(Double_t thetadeg, Double_t phideg, 713 // (see also MAstroCatalog and MAstroSky2Local) 714 // 715 Bool_t MStarCamTrans::LocToCel(Double_t thetadeg, Double_t phideg, 723 716 Double_t &decdeg, Double_t &hhour) 724 717 { … … 760 753 // and the lines of constant (Dec, H ) 761 754 // 762 755 // (see also MAstroCatalog::Draw and MAstroCamera::Draw) 756 // 757 // Warning: Leaks Memory! 758 // 763 759 Bool_t MStarCamTrans::PlotGridAtDec0H0(TString name, 764 760 Double_t dec0deg, Double_t h0hour) … … 781 777 // and the lines of constant (Dec, H ) 782 778 // 783 779 // (see also MAstroCatalog::Draw and MAstroCamera::Draw) 780 // 781 // Warning: Leaks Memory! 782 // 784 783 Bool_t MStarCamTrans::PlotGridAtTheta0Phi0(TString name, 785 784 Double_t theta0deg, Double_t phi0deg) … … 801 800 // set the binning along the lines (fGridFineBin) 802 801 // 803 804 802 Bool_t MStarCamTrans::SetGridParameters( 805 803 Double_t gridbinning, Double_t gridfinebin) … … 820 818 // with the camera center at (Dec0, H0 ) 821 819 // 822 820 // (see also MAstroCatalog::Draw and MAstroCamera::Draw) 821 // 822 // Warning: Leaks Memory! 823 // 823 824 Bool_t MStarCamTrans::PlotGrid(TString name, 824 825 Double_t theta0deg, Double_t phi0deg, … … 1223 1224 return kTRUE; 1224 1225 } 1225 1226 //===========================================================================1227 1228 1229 1230 1231 1232 1233 1234 1235 1236
Note:
See TracChangeset
for help on using the changeset viewer.