Changeset 4003 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
05/07/04 13:13:53 (20 years ago)
Author:
jlopez
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mtemp/MFindStars.cc

    r4002 r4003  
    186186          Float_t maxPixelDC;
    187187          MGeomPix maxPixel;
    188           while(1)
     188
     189          MHCamera cam = fDisplay;
     190          // First define a area of interest around the expected position of the star
     191
     192         while(1)
    189193            {
    190194              FindPixelWithMaxDC(maxPixelDC, maxPixel);
     
    194198              MStarLocalPos *starpos = new MStarLocalPos;
    195199              starpos->SetExpValues(maxPixelDC,maxPixel.GetX(),maxPixel.GetY());
     200              starpos->SetCalcValues(maxPixelDC,maxPixel.GetX(),fRingInterest/2,maxPixel.GetY(),fRingInterest/2);
    196201              fStars->GetList()->Add(starpos);
     202
     203              ShadowStar(starpos);
     204             
    197205            }
     206         fDisplay = cam;
     207         
    198208        }
    199209     
Note: See TracChangeset for help on using the changeset viewer.