Changeset 1966 for trunk/MagicSoft/Mars/manalysis
- Timestamp:
- 04/20/03 12:51:47 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MBlindPixelCalc.cc
r1965 r1966 19 19 ! Author(s): Thomas Bretz 08/2002 <mailto:tbretz@astro.uni.wuerzburg.de> 20 20 ! 21 ! Copyright: MAGIC Software Development, 2000-200 221 ! Copyright: MAGIC Software Development, 2000-2003 22 22 ! 23 23 ! … … 25 25 26 26 ///////////////////////////////////////////////////////////////////////////// 27 // // 28 // MBlindPixelCalc // 29 // // 30 // This is the specific image cleaning for a list of pixels. This task // 31 // sets the pixels listed in fPixelsID to unused so they should not be // 32 // used for analysis (eg calculation of hillas parameters). // 33 // // 34 // If you specify an array of pixel IDs this pixels are disabled. // 35 // In all other cases the task tries to determin the starfield from the // 36 // MMcRunHeader and disables pixels correspoding to the starfield. // 37 // // 38 // Implemented star fields: // 39 // - Crab: 400, 401, 402, 437, 438, 439 // 40 // // 41 // You can use MBlindPixelCalc::SetUseInterpolation to replaced the // 42 // blind pixels by the average of its neighbors instead of unmapping // 43 // them. If you want to include the central pixel use // 44 // MBlindPixelCalc::SetUseCentralPixel // 45 // // 46 // Input Containers: // 47 // MCerPhotEvt // 48 // // 49 // Output Containers: // 50 // MBlindPixels // 51 // // 27 // 28 // MBlindPixelCalc 29 // 30 // This is the specific image cleaning for a list of pixels. This task 31 // sets the pixels listed in fPixelsID to unused so they should not be 32 // used for analysis (eg calculation of hillas parameters). 33 // 34 // You can use MBlindPixelCalc::SetUseInterpolation to replaced the 35 // blind pixels by the average of its neighbors instead of unmapping 36 // them. If you want to include the central pixel use 37 // MBlindPixelCalc::SetUseCentralPixel. 38 // 39 // You have three options: 40 // 1) Call SetUseBlindPixels(): 41 // This will take an existing MBlindPixels container filled from 42 // elsewhere (eg. MCT1ReadPreProc) and use this pixels as blind 43 // pixels. 44 // 2) Call SetPixels(): 45 // This will setup an array with pixel numbers. These pixels are used 46 // as blind pixels. 47 // 3) Neither 1) nor 2) 48 // This options tries to identify the starfield from the 49 // MMcRunHeader container and tries to identifies it. If it is known 50 // (eg. Crab) the fixed build in pixel numbers are used as blind 51 // pixels. 52 // 53 // If neither an array of pixels is given (or its size is 0) and 54 // MMcRunHeader couldn't be found the task removes itself from the 55 // tasklist. 56 // 57 // Implemented star fields: 58 // - Crab: 400, 401, 402, 437, 438, 439 59 // 60 // Input Containers: 61 // MCerPhotEvt[, MBlindPixels] 62 // 63 // Output Containers: 64 // MCerPhotEvt, MBlindPixels 65 // 52 66 ///////////////////////////////////////////////////////////////////////////// 53 67 #include "MBlindPixelCalc.h" … … 140 154 // 141 155 // Replaces each pixel by the average of its surrounding pixels. 142 // If TESTBIT(fFlags, kUseCentralPixel) is set the central pixel is also included. 156 // If TESTBIT(fFlags, kUseCentralPixel) is set the central pixel is also 157 // included. 143 158 // 144 159 void MBlindPixelCalc::Interpolate() const
Note:
See TracChangeset
for help on using the changeset viewer.