Changeset 3802


Ignore:
Timestamp:
04/22/04 20:03:54 (21 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

    r3801 r3802  
    141141
    142142    //
    143     // Create arrays
     143    // Create arrays (FIXME: Check if its possible to create it only once)
    144144    //
    145145    TArrayD nphot(entries);
     
    251251    const Int_t entries = fPedPhot->GetSize();
    252252
     253    // Create arrays (FIXME: Check if its possible to create it only once)
    253254    TArrayD ped(entries);
    254255    TArrayD rms(entries);
  • trunk/MagicSoft/Mars/mbadpixels/MBadPixelsTreat.h

    r3490 r3802  
    2222    Byte_t fNumMinNeighbors;
    2323
    24 
    2524    enum
    2625    {
    2726        kUseInterpolation = BIT(1),
    2827        kUseCentralPixel  = BIT(2),
     28        kProcessRMS       = BIT(3)
    2929    };
    3030
     
    3434    void InterpolatePedestals() const;
    3535
    36     void  Interpolate() const;
    37     void  Unmap() const;
    38     void  StreamPrimitive(ofstream &out) const;
     36    //void  Interpolate() const;
     37    void   Unmap() const;
     38    void   StreamPrimitive(ofstream &out) const;
    3939
    40     Int_t PreProcess(MParList *pList);
    41     Int_t Process();
     40    Bool_t ReInit(MParList *pList);
     41    Int_t  PreProcess(MParList *pList);
     42    Int_t  Process();
    4243
    4344public:
     
    5253        b ? SETBIT(fFlags, kUseCentralPixel) : CLRBIT(fFlags, kUseCentralPixel);
    5354    }
     55    void SetProcessRMS(Bool_t b=kTRUE)
     56    {
     57        b ? SETBIT(fFlags, kProcessRMS) : CLRBIT(fFlags, kProcessRMS);
     58    }
    5459    void SetNumMinNeighbors(UShort_t num) { fNumMinNeighbors=num; }
    5560
Note: See TracChangeset for help on using the changeset viewer.