Changeset 5739 for trunk/MagicSoft/Mars/msignal/MExtractedSignalCam.h
- Timestamp:
- 01/08/05 11:33:28 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/msignal/MExtractedSignalCam.h
r5601 r5739 16 16 { 17 17 private: 18 TClonesArray *fArray; //-> FIXME: Change TClonesArray away from a pointer?19 18 20 Byte_t fFirstUsedSliceHiGain; 21 Byte_t fFirstUsedSliceLoGain; 19 TClonesArray *fArray; //-> FIXME: Change TClonesArray away from a pointer? 22 20 23 Byte_t fLastUsedSliceHiGain; 24 Byte_t fLastUsedSliceLoGain; 21 Byte_t fFirstUsedSliceHiGain; // First High Gain FADC used for extraction (incl.) 22 Byte_t fFirstUsedSliceLoGain; // First Low Gain FADC used for extraction (incl.) 23 24 Byte_t fLastUsedSliceHiGain; // Last High Gain FADC used for extraction (incl.) 25 Byte_t fLastUsedSliceLoGain; // Last Low Gain FADC used for extraction (incl.) 26 27 Float_t fUsedWindowHiGain; // High Gain FADC extraction window 28 Float_t fUsedWindowLoGain; // Low Gain FADC extraction window 25 29 26 Float_t fUsedWindowHiGain; 27 Float_t fUsedWindowLoGain; 28 30 Int_t fNdf; // Number of degrees of freedom for a possible fit 31 29 32 public: 30 33 … … 32 35 ~MExtractedSignalCam(); 33 36 34 void Print(Option_t *o="") const; 35 void Clear(Option_t *o=""); 36 void SetLogStream(MLog *lg); 37 void Reset() { Clear(); } 37 void Print(Option_t *o="") const; 38 void Clear(Option_t *o=""); 39 void Reset() { Clear(); } 38 40 39 void InitSize(const UInt_t i);40 Int_t GetSize() const;41 void InitSize(const UInt_t i); 42 Int_t GetSize () const; 41 43 42 Float_t GetNumUsedHiGainFADCSlices() const { return fUsedWindowHiGain; }43 Float_t GetNumUsedLoGainFADCSlices() const { return fUsedWindowLoGain; }44 Byte_t GetFirstUsedSliceHiGain() const { return fFirstUsedSliceHiGain; } 45 Byte_t GetFirstUsedSliceLoGain() const { return fFirstUsedSliceLoGain; } 44 46 45 Byte_t GetFirstUsedSliceHiGain() const { return fFirstUsedSliceHiGain;}46 Byte_t GetFirstUsedSliceLoGain() const { return fFirstUsedSliceLoGain;}47 Byte_t GetLastUsedSliceHiGain() const { return fLastUsedSliceHiGain; } 48 Byte_t GetLastUsedSliceLoGain() const { return fLastUsedSliceLoGain; } 47 49 48 Byte_t GetLastUsedSliceHiGain() const { return fLastUsedSliceHiGain;}49 Byte_t GetLastUsedSliceLoGain() const { return fLastUsedSliceLoGain;}50 Float_t GetNumUsedHiGainFADCSlices() const { return fUsedWindowHiGain; } 51 Float_t GetNumUsedLoGainFADCSlices() const { return fUsedWindowLoGain; } 50 52 51 void SetUsedFADCSlices(Byte_t firsth, Byte_t lasth, Float_t winh, 52 Byte_t firstl, Byte_t lastl, Float_t winl) 53 Float_t GetNdf() const { return fNdf; } 54 Float_t GetProb( const Int_t pixidx) const; 55 56 void SetLogStream ( MLog *lg ); 57 void SetNdf ( Int_t ndf ) { fNdf = ndf; } 58 void SetUsedFADCSlices(Byte_t firsth, Byte_t lasth, Float_t winh, 59 Byte_t firstl, Byte_t lastl, Float_t winl) 53 60 { 54 61 fFirstUsedSliceHiGain = firsth; … … 66 73 void DrawPixelContent(Int_t num) const; 67 74 68 ClassDef(MExtractedSignalCam, 1) // Storage Container for extracted signals in the camera75 ClassDef(MExtractedSignalCam, 2) // Storage Container for extracted signals in the camera 69 76 }; 70 77
Note:
See TracChangeset
for help on using the changeset viewer.