Changeset 4517
- Timestamp:
- 08/05/04 17:24:51 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r4515 r4517 19 19 20 20 -*-*- END OF LINE -*-*- 21 22 2004/08/05: Robert Wagner 23 24 * mtemp/mmpi/MAstroCatalog.[h,cc] 25 - Added MAstroCatalog::AddObject, functionality to insert single 26 objects manually; needed for mtemp/mmpi/MSourceDirections 27 28 21 29 2004/08/05: Thomas Bretz 22 30 … … 143 151 the pedestal RMS does not scale with the inverse square root of 144 152 the pixel area for the calculation of the cleaning levels. 145 - Added new function CalcCleaningLevelDemocratic. I fcalculates153 - Added new function CalcCleaningLevelDemocratic. It calculates 146 154 the cleaning levels for the democratic image cleaning directly 147 155 from the average values of MPedPhotCam instead of using -
trunk/MagicSoft/Mars/mastro/MAstroCatalog.cc
r4358 r4517 11 11 ! * provided that the above copyright notice appear in all copies and 12 12 ! * that both that copyright notice and this permission notice appear 13 ! * in supporting documentation. It is provided "as is" without express 13 ! * in supporting documentation. It is provided "as is" without expressed 14 14 ! * or implied warranty. 15 15 ! * … … 17 17 ! 18 18 ! Author(s): Thomas Bretz, 03/2004 <mailto:tbretz@astro.uni-wuerzburg.de> 19 ! Author(s): Robert Wagner, 08/2004 <mailto:rwagner@mppmu.mpg.de> 19 20 ! 20 21 ! Copyright: MAGIC Software Development, 2002-2004 … … 225 226 // -------------------------------------------------------------------------- 226 227 // 227 // Snippet to for reading c talog files.228 // Snippet to for reading catalog files. 228 229 // 229 230 TString MAstroCatalog::FindToken(TString &line, Char_t tok) … … 356 357 star->SetRaDec(ra0, dec0, mag); 357 358 star->SetName(name); 359 358 360 if (star->Angle(fRaDec)*TMath::RadToDeg()>fRadiusFOV) 359 361 { … … 692 694 693 695 return add; 696 } 697 698 // -------------------------------------------------------------------------- 699 // 700 // Add an object to the star catalog manually. 701 // 702 Int_t MAstroCatalog::AddObject(Float_t ra, Float_t dec, Float_t mag, TString name) 703 { 704 SetBit(kHasChanged); 705 706 MVector3 *star = new MVector3(); 707 star->SetRaDec(ra, dec, mag); 708 star->SetName(name); 709 710 if (star->Angle(fRaDec)*TMath::RadToDeg()<=fRadiusFOV) { 711 fList.Add(star); 712 } else { 713 delete(star); 714 } 715 716 return 1; 694 717 } 695 718
Note:
See TracChangeset
for help on using the changeset viewer.