- Timestamp:
- 08/06/04 16:26:18 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r4526 r4527 21 21 22 22 23 2004/08/0 5: Nadia Tonello23 2004/08/06: Nadia Tonello 24 24 25 25 * mimage/MImgCleanStd.cc: … … 27 27 is skipped when no action is espected, i.e. if lvl1 <= lvl2. 28 28 This will accelerate the cleaning process in such cases. 29 30 * mbadpixels/MBadPixelsCalc.[h,cc]: 31 - removed dependence on MSigmabar 29 32 30 33 -
trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCalc.cc
r3476 r4527 35 35 // 36 36 // Check the pedestal RMS of every pixel with respect to the mean 37 // pedestal RMS of the camera (Sigmabar).37 // pedestal RMS of the camera. 38 38 // 39 39 // The pixels can be set as blind if the pedestalRMS is too big or 0. … … 48 48 // [MPedPhotCam] 49 49 // [MGeomCam] 50 // [MSigmabar]51 50 // 52 51 // Output Containers: … … 66 65 #include "MGeomPix.h" 67 66 68 #include "MSigmabar.h"67 //#include "MSigmabar.h" 69 68 70 69 #include "MPedPhotCam.h" … … 117 116 } 118 117 119 fSigmabar = (MSigmabar*)pList->FindObject(AddSerialNumber("MSigmabar"));118 /* fSigmabar = (MSigmabar*)pList->FindObject(AddSerialNumber("MSigmabar")); 120 119 if (!fSigmabar) 121 120 { … … 123 122 return kFALSE; 124 123 } 124 */ 125 125 } 126 126 return kTRUE; … … 138 138 // MBadPixelsCalc calc; 139 139 // calc.SetPedestalLevel(-1); 140 / /140 /* 141 141 void MBadPixelsCalc::CheckPedestalRMS() const 142 142 { … … 157 157 } 158 158 } 159 159 */ 160 160 // -------------------------------------------------------------------------- 161 161 // Check the pedestal Rms of the pixels: compute with 2 iterations the mean … … 233 233 const Byte_t aidx = (*fGeomCam)[i].GetAidx(); 234 234 235 if (rms>meanrms2[aidx]/ 3 && rms<=meanrms2[aidx]*3)235 if (rms>meanrms2[aidx]/fPedestalLevel && rms<=meanrms2[aidx]*fPedestalLevel) 236 236 continue; 237 237 … … 242 242 // Check if the number of pixels to blind is > 60% of total number of pixels 243 243 // 244 if (bads>0.6*entries)245 {246 //fErrors[2]++;247 return kFALSE;248 }244 // if (bads>0.6*entries) 245 // { 246 // fErrors[2]++; 247 // return kFALSE; 248 // } 249 249 250 250 return kTRUE; … … 262 262 return kTRUE; 263 263 } 264 265 -
trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCalc.h
r3476 r4527 7 7 8 8 class MBadPixelsCam; 9 class MSigmabar;9 //class MSigmabar; 10 10 class MGeomCam; 11 11 class MPedPhotCam; … … 15 15 private: 16 16 MGeomCam *fGeomCam; //! Input container storing the pixel sizes 17 MSigmabar *fSigmabar; //! Input container storing mean pedestal rms of the camera17 // MSigmabar *fSigmabar; //! Input container storing mean pedestal rms of the camera 18 18 MPedPhotCam *fPedPhotCam; //! Input container storing the pedestal and pedestal rms of all pixels 19 19 … … 22 22 Float_t fPedestalLevel; 23 23 24 void CheckPedestalRMS() const;24 // void CheckPedestalRMS() const; 25 25 Bool_t CheckPedestalRms() const; 26 26
Note:
See TracChangeset
for help on using the changeset viewer.