Changeset 8106 for trunk/MagicSoft/Mars/mastro
- Timestamp:
- 10/17/06 18:18:40 (18 years ago)
- Location:
- trunk/MagicSoft/Mars/mastro
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mastro/MAstroCamera.cc
r7784 r8106 1 /*====================================================================== *\ 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MAstroCamera.cc,v 1.30 2006-10-17 17:15:58 tbretz Exp $ 3 ! -------------------------------------------------------------------------- 2 4 ! 3 5 ! * … … 412 414 if (hasnull) 413 415 { 414 TVector3 star(*radec);415 star *= rot;416 const TVector3 spot = fMirror0->GetReflection( star, fGeom->GetCameraDist())*1000;416 TVector3 vstar(*radec); 417 vstar *= rot; 418 const TVector3 spot = fMirror0->GetReflection(vstar, fGeom->GetCameraDist())*1000; 417 419 DrawStar(spot(0), spot(1), *radec, hasmean?kBlack:-1, Form("x=%.1fmm y=%.1fmm", mean(0), mean(1)), resize); 418 420 // This can be used to get the abberation... -
trunk/MagicSoft/Mars/mastro/MAstroCatalog.cc
r8066 r8106 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MAstroCatalog.cc,v 1.28 2006-10-17 17:15:58 tbretz Exp $ 3 ! -------------------------------------------------------------------------- 2 4 ! 3 5 ! * … … 272 274 } 273 275 274 Int_t add 275 Int_t cnt 276 Int_t line=0;276 Int_t add=0; 277 Int_t cnt=0; 278 Int_t pos=0; 277 279 278 280 Double_t maxmag=0; … … 285 287 break; 286 288 287 line++;289 pos++; 288 290 289 291 if (row[0]=='#') … … 301 303 if (name.IsNull() || r.IsNull() || d.IsNull() || m.IsNull() || epoch.IsNull()) 302 304 { 303 gLog << warn << "Invalid Entry Line #" << line<< ": " << row << endl;305 gLog << warn << "Invalid Entry Line #" << pos << ": " << row << endl; 304 306 continue; 305 307 }
Note:
See TracChangeset
for help on using the changeset viewer.