Changeset 8155 for trunk/MagicSoft/Mars/msignal/MExtractBlindPixel.h
- Timestamp:
- 10/24/06 09:43:51 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/msignal/MExtractBlindPixel.h
r5135 r8155 6 6 #endif 7 7 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" 10 13 #endif 11 14 12 15 class MExtractedSignalBlindPixel; 16 13 17 class MExtractBlindPixel : public MExtractor 14 18 { … … 27 31 28 32 Byte_t fHiLoFirst; // If not zero, start extraction from fHiLoFirst slice of Low-Gain 33 Byte_t fHiLoLast; 29 34 30 Float_t *fHiGainSignal; //Need fast access to the signals in a float way31 Float_t *fHiGainFirstDeriv; //First derivative at intersection32 Float_t *fHiGainSecondDeriv; //Second derivative at intersection35 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 33 38 34 39 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) 36 41 Int_t fNSBFilterLimit; // Limit of sum of FADC slices for filter part 37 42 … … 56 61 57 62 MExtractBlindPixel(const char *name=NULL, const char *title=NULL); 58 ~MExtractBlindPixel();59 63 60 64 void Clear( const Option_t *o =""); … … 65 69 66 70 // 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 } 71 77 void SetExtractionType( const ExtractionType_t typ=kAmplitude ); 72 78 void SetDataType ( const DataType_t typ=kRawEvt );
Note:
See TracChangeset
for help on using the changeset viewer.