Changeset 4341 for trunk/MagicSoft
- Timestamp:
- 06/23/04 02:07:40 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/msignal/MExtractBlindPixel.h
r3962 r4341 15 15 #endif 16 16 17 #ifndef ROOT_TArrayI 18 #include <TArrayI.h> 19 #endif 20 17 21 class MExtractedSignalBlindPixel; 18 22 class MExtractBlindPixel : public MExtractor … … 26 30 static const Byte_t fgLoGainFirst; // First FADC slice Lo-Gain (currently set to: 0) 27 31 static const Byte_t fgLoGainLast; // Last FADC slice Lo-Gain (currently set to: 2) 28 32 static const Float_t fgResolution; // Default for fResolution (now set to: 0.003) 33 29 34 MExtractedSignalBlindPixel *fBlindPixel; // Extracted signal of the Blind Pixel 30 35 31 Int_t fBlindPixelIdx; 36 Byte_t fHiLoFirst; 37 Float_t *fHiGainSignal; // Need fast access to the signals in a float way 38 Float_t *fHiGainFirstDeriv; 39 Float_t *fHiGainSecondDeriv; 40 41 Float_t fResolution; // The time resolution in FADC units 42 TArrayI fBlindPixelIdx; 32 43 Int_t fNSBFilterLimit; 33 44 34 void FindSignal HiGain(Byte_t *firstused, Byte_t *lowgain, Int_t &sum, Byte_t &sat) const;45 void FindSignalPhe(Byte_t *firstused, Byte_t *lowgain, Float_t &sum, Byte_t &sat) const; 35 46 void FindSignalFilter(Byte_t *ptr, Int_t &sum, Byte_t &sat) const; 36 47 37 48 Int_t PreProcess(MParList *pList); 49 Bool_t ReInit(MParList *pList); 38 50 Int_t Process(); 39 51 … … 41 53 42 54 MExtractBlindPixel(const char *name=NULL, const char *title=NULL); 43 55 ~MExtractBlindPixel(); 56 44 57 // Setters 45 58 void SetRange(Byte_t hifirst=0, Byte_t hilast=0, Byte_t lofirst=0, Byte_t lolast=0); 46 void SetBlindPixelIdx( const Int_t idx=fgBlindPixelIdx ) { fBlindPixelIdx = idx; } 59 void SetBlindPixelIdx( const Int_t idx=fgBlindPixelIdx, const Int_t nr=0) { 60 if (nr>fBlindPixelIdx.GetSize()+1) 61 fBlindPixelIdx.Set(nr+1); 62 fBlindPixelIdx.AddAt(idx,nr); } 47 63 void SetNSBFilterLimit( const Int_t lim=fgNSBFilterLimit ) { fNSBFilterLimit = lim; } 48 64 void SetResolution(Float_t f=fgResolution) { fResolution = f; } 65 49 66 ClassDef(MExtractBlindPixel, 0) // Signal Extractor for the Blind Pixel 50 67 };
Note:
See TracChangeset
for help on using the changeset viewer.