Ignore:
Timestamp:
04/20/03 12:51:47 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/manalysis/MBlindPixelCalc.cc

    r1965 r1966  
    1919!   Author(s): Thomas Bretz    08/2002 <mailto:tbretz@astro.uni.wuerzburg.de>
    2020!
    21 !   Copyright: MAGIC Software Development, 2000-2002
     21!   Copyright: MAGIC Software Development, 2000-2003
    2222!
    2323!
     
    2525
    2626/////////////////////////////////////////////////////////////////////////////
    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//
    5266/////////////////////////////////////////////////////////////////////////////
    5367#include "MBlindPixelCalc.h"
     
    140154//
    141155//  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.
    143158//
    144159void MBlindPixelCalc::Interpolate() const
Note: See TracChangeset for help on using the changeset viewer.