source: trunk/MagicSoft/Mars/msignal/MExtractedSignalBlindPixel.h@ 3614

Last change on this file since 3614 was 3322, checked in by gaug, 21 years ago
*** empty log message ***
File size: 1.8 KB
Line 
1#ifndef MARS_MExtractedSignalBlindPixel
2#define MARS_MExtractedSignalBlindPixel
3
4#ifndef MARS_MParContainer
5#include "MParContainer.h"
6#endif
7
8#include <TArrayI.h>
9
10class MExtractedSignalBlindPixel : public MParContainer
11{
12private:
13
14 UInt_t fExtractedSignal; // mean value of the extracted signal
15
16 Byte_t fFirst;
17 Byte_t fNumFADCSamples;
18 Byte_t fNumSaturated;
19
20 Float_t fPed;
21 Float_t fPedErr;
22 Float_t fPedRms;
23 Float_t fPedRmsErr;
24
25 Int_t fBlindPixelIdx;
26
27public:
28
29 MExtractedSignalBlindPixel(const char* name=NULL, const char* title=NULL);
30
31 void Clear(Option_t *o="");
32 void Print(Option_t *o="") const;
33
34 // Setter
35 void SetExtractedSignal(const UInt_t sig ) { fExtractedSignal = sig; }
36 void SetNumSaturated( const Byte_t numsat ) { fNumSaturated = numsat; }
37 void SetUsedFADCSlices( const Byte_t first, const Byte_t num);
38 void SetNumFADCSamples( const Byte_t num ) { fNumFADCSamples = num; }
39
40 void SetPed( const Float_t f ) { fPed = f; }
41 void SetPedErr( const Float_t f ) { fPedErr = f; }
42 void SetPedRms( const Float_t f ) { fPedRms = f; }
43 void SetPedRmsErr(const Float_t f ) { fPedRmsErr = f; }
44
45 void SetBlindPixelIdx( const Int_t i) { fBlindPixelIdx = i; }
46
47 // Getter
48 UInt_t GetExtractedSignal() const { return fExtractedSignal; }
49 Byte_t GetNumFADCSamples() const { return fNumFADCSamples; }
50 Int_t GetBlindPixelIdx() const { return fBlindPixelIdx; }
51
52 Bool_t IsValid() const;
53
54 Float_t GetPed() const { return fPed; }
55 Float_t GetPedErr() const { return fPedErr; }
56 Float_t GetPedRms() const { return fPedRms; }
57 Float_t GetPedRmsErr() const { return fPedRmsErr; }
58
59 ClassDef(MExtractedSignalBlindPixel, 0) // Storage Container for Extracted Signal of the blind pixel
60};
61
62#endif
63
64
65
66
Note: See TracBrowser for help on using the repository browser.