Changeset 4466 for trunk


Ignore:
Timestamp:
08/04/04 14:14:34 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mbadpixels
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbadpixels/MBadPixelsTreat.cc

    r4465 r4466  
    3838//  should be set using SetNumMinNeighbors
    3939//
     40//  If you don't want to interpolate unreliable pixels but only unsuitable
     41//  (broken) pixels use SetSloppyTreatment().
     42//
     43//
    4044//  Input Containers:
    4145//   MCerPhotEvt
  • trunk/MagicSoft/Mars/mbadpixels/MBadPixelsTreat.h

    r4452 r4466  
    2626        kUseInterpolation = 1,
    2727        kUseCentralPixel  = 2,
    28         kProcessRMS       = 3
     28        kProcessRMS       = 3,
     29        kSloppyTreatment  = 4
    2930    };
    3031
     
    4041    Int_t  PreProcess(MParList *pList);
    4142    Int_t  Process();
     43
     44    Bool_t IsPixelBad(Int_t idx) const;
    4245
    4346public:
     
    5659        b ? SETBIT(fFlags, kProcessRMS) : CLRBIT(fFlags, kProcessRMS);
    5760    }
     61    void SetSloppyTreatment(Bool_t b=kTRUE)
     62    {
     63        b ? SETBIT(fFlags, kSloppyTreatment) : CLRBIT(fFlags, kSloppyTreatment);
     64    }
    5865    void SetNumMinNeighbors(Byte_t num) { fNumMinNeighbors=num; }
    5966
Note: See TracChangeset for help on using the changeset viewer.