Changeset 4651 for trunk/MagicSoft/Mars
- Timestamp:
- 08/17/04 14:09:30 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Makefile
r4591 r4651 65 65 mhistmc \ 66 66 mjobs \ 67 mtools 67 mtools \ 68 mstarcam 68 69 69 70 #LIBRARIES = $(SUBDIRS:%=lib/lib%.a) -
trunk/MagicSoft/Mars/mastro/MAstroCamera.cc
r4434 r4651 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 … … 92 93 // HOW TO GET RID OF IT? Move MHCamera to mgeom? 93 94 94 // FIXME: remove comments as soon as MStarLocalPos official part of MARS 95 //#include "MStarLocalPos.h" 96 // FIXME: remove comments as soon as MStarLocalPos official part of MARS 95 #include "MStarPos.h" 97 96 98 97 ClassImp(MAstroCamera); … … 382 381 while ((mirror=(MGeomMirror*)NextM())) 383 382 { 384 385 383 const TVector3 spot = mirror->GetReflection(star, fGeom->GetCameraDist())*1000; 384 386 385 // calculate mean of all 'stars' hitting the camera plane 387 386 // by taking the sum of the intersection points between … … 392 391 { 393 392 TMarker *m=new TMarker(spot(0), spot(1), 1); 394 m->SetMarkerColor(kMagenta); 393 TVector3 pos=mirror->GetMirrorCenter(); 394 Float_t r=pos.Mag(); 395 396 m->SetMarkerColor((Int_t)(6*r)+51); 395 397 m->SetMarkerStyle(kDot); 396 398 fMapG.Add(m); … … 462 464 } 463 465 mean *= 1./num; 464 // FIXME: remove comments as soon as MStarLocalPos official part of MARS 465 // MStarLocalPos *starpos = new MStarLocalPos; 466 // starpos->SetExpValues(mag,mean(0),mean(1)); 467 468 // TString name = radec->GetName(); 469 // if (name.Length()==0) { 470 // starpos->SetName("unknown"); 471 // } else { 472 // starpos->SetName(radec->GetName()); 473 // } 474 // list->Add(starpos); 475 // FIXME: remove comments as soon as MStarLocalPos official part of MARS 466 MStarPos *starpos = new MStarPos; 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)); 476 471 } 477 472 }
Note:
See TracChangeset
for help on using the changeset viewer.