Changeset 4003
- Timestamp:
- 05/07/04 13:13:53 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mtemp/MFindStars.cc
r4002 r4003 186 186 Float_t maxPixelDC; 187 187 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) 189 193 { 190 194 FindPixelWithMaxDC(maxPixelDC, maxPixel); … … 194 198 MStarLocalPos *starpos = new MStarLocalPos; 195 199 starpos->SetExpValues(maxPixelDC,maxPixel.GetX(),maxPixel.GetY()); 200 starpos->SetCalcValues(maxPixelDC,maxPixel.GetX(),fRingInterest/2,maxPixel.GetY(),fRingInterest/2); 196 201 fStars->GetList()->Add(starpos); 202 203 ShadowStar(starpos); 204 197 205 } 206 fDisplay = cam; 207 198 208 } 199 209
Note:
See TracChangeset
for help on using the changeset viewer.