Changeset 4697 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
08/23/04 09:05:24 (20 years ago)
Author:
rwagner
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mtemp
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mtemp/Changelog

    r4696 r4697  
    2020
    2121 2004/08/23: Robert Wagner
    22    * mtemp/MLocalStarPos.[h,cc], mtemp/MLocalStarCam.[h,cc]
     22   * mtemp/MLocalStarPos.[h,cc], mtemp/MLocalStarCam.[h,cc],
    2323     - removed (have been moved to /mstarcam)
     24
     25   * mtemp/Makefile, mtemp/TempLinkDef.h
     26     - removed entries for mtemp/MLocalStarPos.cc
     27       mtemp/MLocalStarCam.cc
    2428
    2529   * mtemp/MSourceDirections.[h,cc]
  • trunk/MagicSoft/Mars/mtemp/MSourceDirections.cc

    r4685 r4697  
    116116Int_t MSourceDirections::AddDirection(Float_t ra, Float_t dec, Float_t mag, TString name)
    117117{
    118   return fAstro.AddObject(ra,dec,1,name);
     118  Int_t rc = fAstro.AddObject(ra,dec,1,name);
     119  if (rc) {
     120    MStarPos *starpos = new MStarPos;
     121    starpos->SetName(name);
     122    fStars->GetList()->Add(starpos);
     123  }
     124  return rc;
    119125}
    120126
  • trunk/MagicSoft/Mars/mtemp/Makefile

    r4689 r4697  
    3939
    4040SRCFILES = \
    41         MStarLocalPos.cc \
    42         MStarLocalCam.cc \
    4341        MFindStars.cc \
    4442        MTelAxisFromStars.cc \
  • trunk/MagicSoft/Mars/mtemp/TempLinkDef.h

    r4545 r4697  
    55#pragma link off all functions;
    66
    7 #pragma link C++ class MStarLocalPos+;
    8 #pragma link C++ class MStarLocalCam+;
    97#pragma link C++ class MFindStars+;
    108#pragma link C++ class MTelAxisFromStars+;
Note: See TracChangeset for help on using the changeset viewer.