Changeset 3918 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
04/30/04 19:06:56 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r3917 r3918  
    1919                                                 -*-*- END OF LINE -*-*-
    2020
     21 2004/04/30: Thomas Bretz
     22
     23   * mastro/MAstroCamera.[h,cc]:
     24     - removed obsolete TList data member (use a argument in
     25       GetStarList instead)
     26
     27
     28
    2129 2004/04/30: Daniela Dorner
    2230 
     
    6270   * mjobs/MJCalibration.[h,cc]
    6371     - Set time extractor by pointer
     72
    6473
    6574
  • trunk/MagicSoft/Mars/mastro/MAstroCamera.cc

    r3813 r3918  
    351351// Otherwise a new object is created.
    352352//
    353 /*void MAstroCamera::FillStarList()
    354 {
    355     fStars->SetOwner();
    356     fStars->Delete();
    357 
    358     if (!fTime || !fObservatory || !fMirrors || !fStars)
     353/*void MAstroCamera::FillStarList(TList *list)
     354{
     355    list->SetOwner();
     356    list->Delete();
     357
     358    if (!fTime || !fObservatory || !fMirrors || !list)
    359359    {
    360360        cout << "Missing data..." << endl;
     
    395395        MStarLocalPos *starpos = new MStarLocalPos;
    396396        starpos->SetExpValues(mag,mean(0),mean(1));
    397         fStars->Add(starpos);
     397        list->Add(starpos);
    398398    }
    399399}
  • trunk/MagicSoft/Mars/mastro/MAstroCamera.h

    r3814 r3918  
    1919    MGeomCam     *fGeom;
    2020    TClonesArray *fMirrors;
    21     TList        *fStars;
    2221
    2322    MGeomMirror  *fMirror0;     //!
     
    3433    void SetMirrors(TClonesArray &arr);
    3534    void SetGeom(const MGeomCam &cam);
    36     void SetStarList(TList* s) { fStars = s; }
    37 
    38 //    void FillStarList();
    39 
    40     TList *GetList() const { return fStars; }
    4135
    4236    ClassDef(MAstroCamera, 1) // Display class to display stars on the camera
Note: See TracChangeset for help on using the changeset viewer.