Changeset 1467 for trunk/MagicSoft
- Timestamp:
- 08/01/02 10:33:24 (22 years ago)
- Location:
- trunk/MagicSoft/Mars/manalysis
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MBlindPixelCalc.cc
r1466 r1467 120 120 } 121 121 122 // -------------------------------------------------------------------------- 123 // 124 // Replaces each pixel by the average of its surrounding pixels. 125 // If fUseCentralPixel is set the central pixel is also included. 126 // 122 127 void MBlindPixelCalc::Interpolate() const 123 128 { … … 171 176 } 172 177 178 // -------------------------------------------------------------------------- 179 // 180 // Removes all blind pixels from the analysis by setting their state 181 // to unused. 182 // 173 183 void MBlindPixelCalc::Unmap() const 174 184 { … … 191 201 // -------------------------------------------------------------------------- 192 202 // 193 // Remove the pixels.203 // Treat the blind pixels 194 204 // 195 205 Bool_t MBlindPixelCalc::Process() -
trunk/MagicSoft/Mars/manalysis/MCameraSmooth.cc
r1466 r1467 27 27 // MCameraSmooth // 28 28 // // 29 // This task fills each pixel in the camera with the average of the // 30 // number of cerenkov photons from its surrounding pixels. This can // 31 // be done using the central pixel or ignoring the central pixel. // 32 // // 29 33 ///////////////////////////////////////////////////////////////////////////// 30 34 #include "MCameraSmooth.h" … … 47 51 // -------------------------------------------------------------------------- 48 52 // 49 // Default constructor. 53 // Default constructor. You can specify the numer of loops how often a 54 // smoothing should be done. The default is 1. 50 55 // 51 56 MCameraSmooth::MCameraSmooth(Byte_t n, const char *name, const char *title) … … 53 58 { 54 59 fName = name ? name : "MCameraSmooth"; 55 fTitle = title ? title : "Task which removes a list of pixel from analysis";60 fTitle = title ? title : "Task to smooth the camera " + n + "-times"; 56 61 } 57 62 58 63 // -------------------------------------------------------------------------- 59 64 // 60 // - Try to find or create MBlindPixels in parameter list.61 65 // - get the MCerPhotEvt from the parlist (abort if missing) 62 // - if no pixels are given by the user try to determin the starfield 63 // from the monte carlo run header. 66 // - get MGeomCam from the parameter list 64 67 // 65 68 Bool_t MCameraSmooth::PreProcess (MParList *pList) … … 84 87 // -------------------------------------------------------------------------- 85 88 // 86 // Remove the pixels.89 // Do the smoothing 87 90 // 88 91 Bool_t MCameraSmooth::Process()
Note:
See TracChangeset
for help on using the changeset viewer.