Changeset 1647 for trunk/MagicSoft/Mars
- Timestamp:
- 11/19/02 13:31:21 (22 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r1645 r1647 1 1 -*-*- END -*-*- 2 2002/11/19: Thomas Bretz 3 4 * mmain/MMonteCarlo.cc: 5 - exchanged MReadTree with MReadMarsFile for collection area calculation 6 7 * mmontecarlo/MMcCollectionAreaCalc.cc: 8 - fixed the uninitialized fTheta 9 10 * macros/MagicHillas.C: 11 - removed the unnecessary second MHillasSrcCalc 12 - removed also the corresponding AddToList for the tasklist 13 14 2 15 2002/11/19: Abelardo Moralejo 16 3 17 * macros/collarea.C: 4 18 - Added 2nd argument to write an output file containing the 5 19 collection area histogram. 6 20 21 22 7 23 2002/11/18: Abelardo Moralejo 8 24 … … 22 38 * mgeom/MGeomPix.cc: 23 39 - fixed some typos in comments 40 41 24 42 25 43 2002/11/18: Thomas Bretz … … 90 108 - changed comments 91 109 - added missing manalysis-dir (strange!) 110 111 * macros/dohtml.C: 112 - added new macros 92 113 93 114 -
trunk/MagicSoft/Mars/NEWS
r1637 r1647 1 1 -*-*- END -*-*- 2 3 *** Version 0.9 4 5 - added pedstal calculation 6 7 - implemented "democratic cleaning" (cut value proportional to square 8 root of pixel area) according to Wolfgang's suggestion. 9 10 2 11 3 12 *** Version 0.8 (2002/11/18) -
trunk/MagicSoft/Mars/manalysis/MImgCleanStd.cc
r1641 r1647 117 117 const Float_t noise = pix.GetErrorPhot(); 118 118 119 const Int_t id = pix.GetPixId(); 120 121 const Double_t ratio = TMath::Sqrt(fCam->GetPixRatio(id)); 122 119 123 // COBB: '<=' to skip entry=noise=0 120 if (entry <= fCleanLvl1 * noise / sqrt(fCam->GetPixRatio(i)))124 if (entry <= fCleanLvl1 * noise / ratio) 121 125 pix.SetPixelUnused(); 122 126 123 if ( pix.GetPixId()>max)124 max = pix.GetPixId();127 if (id>max) 128 max = id; 125 129 } 126 130 return max; … … 265 269 const Float_t noise = pix.GetErrorPhot(); 266 270 267 if (entry <= fCleanLvl2 * noise / sqrt(fCam->GetPixRatio(i)))268 continue;269 270 271 // 271 272 // get pixel id of this entry 272 273 // 273 274 const Int_t id = pix.GetPixId(); 275 276 const Double_t ratio = TMath::Sqrt(fCam->GetPixRatio(id)); 277 278 if (entry <= fCleanLvl2 * noise / ratio) 279 continue; 274 280 275 281 //
Note:
See TracChangeset
for help on using the changeset viewer.