Ignore:
Timestamp:
10/24/06 09:43:51 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/msignal/MExtractBlindPixel.h

    r5135 r8155  
    66#endif
    77
    8 #ifndef ROOT_TArrayI
    9 #include <TArrayI.h>
     8#ifndef MARS_MArrayI
     9#include "MArrayI.h"
     10#endif
     11#ifndef MARS_MArrayF
     12#include "MArrayF.h"
    1013#endif
    1114
    1215class MExtractedSignalBlindPixel;
     16
    1317class MExtractBlindPixel : public MExtractor
    1418{
     
    2731
    2832  Byte_t   fHiLoFirst;                     // If not zero, start extraction from fHiLoFirst slice of Low-Gain
     33  Byte_t   fHiLoLast;
    2934
    30   Float_t *fHiGainSignal;                  // Need fast access to the signals in a float way
    31   Float_t *fHiGainFirstDeriv;              // First derivative at intersection
    32   Float_t *fHiGainSecondDeriv;             // Second derivative at intersection
     35  MArrayF  fHiGainSignal;                  //! Need fast access to the signals in a float way
     36  MArrayF  fHiGainFirstDeriv;              //! First derivative at intersection
     37  MArrayF  fHiGainSecondDeriv;             //! Second derivative at intersection
    3338
    3439  Float_t fResolution;                     // The time resolution in FADC units
    35   TArrayI fBlindPixelIdx;                  // Array holding the IDs of the blind pixel(s)
     40  MArrayI fBlindPixelIdx;                  // Array holding the IDs of the blind pixel(s)
    3641  Int_t   fNSBFilterLimit;                 // Limit of sum of FADC slices for filter part
    3742
     
    5661
    5762  MExtractBlindPixel(const char *name=NULL, const char *title=NULL);
    58   ~MExtractBlindPixel();
    5963
    6064  void Clear( const Option_t *o ="");
     
    6569
    6670  // Setters
    67   void SetBlindPixelIdx(  const Int_t  idx=fgBlindPixelIdx, const Int_t nr=0 ) {
    68     if (nr>fBlindPixelIdx.GetSize()-1)
    69       fBlindPixelIdx.Set(nr+1);
    70     fBlindPixelIdx.AddAt(idx,nr); }
     71  void SetBlindPixelIdx(  const Int_t  idx=fgBlindPixelIdx, const UInt_t nr=0 )
     72  {
     73      if (nr>=fBlindPixelIdx.GetSize())
     74          fBlindPixelIdx.Set(nr+1);
     75      fBlindPixelIdx[nr] = idx;
     76  }
    7177  void SetExtractionType( const ExtractionType_t typ=kAmplitude );
    7278  void SetDataType    ( const DataType_t       typ=kRawEvt    ); 
Note: See TracChangeset for help on using the changeset viewer.