Changeset 4625 for trunk/MagicSoft/Mars/mtemp
- Timestamp:
- 08/16/04 12:28:05 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mtemp
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mtemp/Changelog
r4558 r4625 18 18 19 19 -*-*- END OF LINE -*-*- 20 21 2004/08/16: Robert Wagner 22 * mtemp/MStarLocalPos.[h,cc] 23 - added member variables, setters and getters for ideal position, 24 i.e. position without aberration effects 25 26 * mtemp/mmpi/MAstroCamera.cc 27 - Ideal position of star is filled in MLocalStarPos container 28 29 20 30 21 31 2004/08/09: Robert Wagner -
trunk/MagicSoft/Mars/mtemp/MStarLocalPos.cc
r4545 r4625 96 96 } 97 97 98 void MStarLocalPos::SetIdealValues(Float_t mag, Float_t x, Float_t y) 99 { 100 fMagIdeal = mag; 101 fXIdeal = x; 102 fYIdeal = y; 103 } 104 98 105 void MStarLocalPos::SetCalcValues(Float_t mag, Float_t max, 99 106 Float_t x, Float_t y, Float_t sigmaMinorAxis, Float_t sigmaMajorAxis) … … 225 232 *fLog << inf << "Star Name: \"" << this->GetName() << "\"" << endl; 226 233 } 227 234 235 if (o.Contains("mag", TString::kIgnoreCase) || opt == NULL) 236 { 228 237 229 if (o.Contains("mag", TString::kIgnoreCase) || opt == NULL) 230 { 231 232 *fLog << inf << "Star maginitude:" << endl; 238 *fLog << inf << "Star magnitude:" << endl; 233 239 *fLog << inf << " Expected \t" << setw(4) << fMagExp << endl; 234 240 *fLog << inf << " Calcultated \t " << setw(4) << fMagCalc << endl; -
trunk/MagicSoft/Mars/mtemp/MStarLocalPos.h
r4545 r4625 14 14 Float_t fXExp; //[mm] 15 15 Float_t fYExp; //[mm] 16 17 //Ideal position on camera 18 Float_t fMagIdeal; 19 Float_t fXIdeal; //[mm] 20 Float_t fYIdeal; //[mm] 16 21 17 22 //Info from calculation … … 62 67 Float_t GetYExp() {return fYExp;} 63 68 69 Float_t GetMagIdeal() {return fMagIdeal;} 70 Float_t GetXIdeal() {return fXIdeal;} 71 Float_t GetYIdeal() {return fYIdeal;} 72 64 73 Float_t GetMagCalc() {return fMagCalc;} 65 74 Float_t GetMaxCalc() {return fMaxCalc;} … … 104 113 void SetExpValues(Float_t mag, Float_t x, Float_t y); 105 114 115 void SetIdealValues(Float_t mag, Float_t x, Float_t y); 116 106 117 void SetCalcValues(Float_t mag, Float_t max, Float_t x, Float_t y, 107 118 Float_t sigmaMinorAxis, Float_t sigmaMajorAxis); -
trunk/MagicSoft/Mars/mtemp/mmpi/MAstroCamera.cc
r4440 r4625 17 17 ! 18 18 ! Author(s): Thomas Bretz, 3/2004 <mailto:tbretz@astro.uni-wuerzburg.de> 19 ! Author(s): Robert Wagner, 7/2004 <mailto:rwagner@mppmu.mpg.de> 19 20 ! 20 21 ! Copyright: MAGIC Software Development, 2000-2004 … … 390 391 { 391 392 TMarker *m=new TMarker(spot(0), spot(1), 1); 392 m->SetMarkerColor(kMagenta); 393 TVector3 pos=mirror->GetMirrorCenter(); 394 Float_t r=pos.Mag(); 395 396 m->SetMarkerColor((Int_t)(6*r)+51); 393 397 m->SetMarkerStyle(kDot); 394 398 fMapG.Add(m); … … 462 466 MStarLocalPos *starpos = new MStarLocalPos; 463 467 starpos->SetExpValues(mag,mean(0),mean(1)); 468 469 const TVector3 spot = fMirror0->GetReflection(star, fGeom->GetCameraDist())*1000; 470 starpos->SetIdealValues(mag,spot(0),spot(1)); 464 471 465 472 TString name = radec->GetName();
Note:
See TracChangeset
for help on using the changeset viewer.