1 | #ifndef MARS_MExtractedSignalPINDiode
|
---|
2 | #define MARS_MExtractedSignalPINDiode
|
---|
3 |
|
---|
4 | #ifndef MARS_MParContainer
|
---|
5 | #include "MParContainer.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class MExtractedSignalPINDiode : public MParContainer
|
---|
9 | {
|
---|
10 | private:
|
---|
11 |
|
---|
12 | Float_t fExtractedSignal; // mean value of the extracted signal
|
---|
13 | Float_t fExtractedSignalErr; // error of the mean value of the extracted signal
|
---|
14 | Float_t fExtractedTime;
|
---|
15 | Float_t fExtractedTimeErr;
|
---|
16 | Float_t fExtractedRms;
|
---|
17 | Float_t fExtractedRmsErr;
|
---|
18 |
|
---|
19 | Byte_t fFirst;
|
---|
20 | Byte_t fNumFADCSamples;
|
---|
21 | Byte_t fNumSaturated;
|
---|
22 |
|
---|
23 | public:
|
---|
24 | MExtractedSignalPINDiode(const char* name=NULL, const char* title=NULL);
|
---|
25 |
|
---|
26 | void Clear(Option_t *o="");
|
---|
27 | void Print(Option_t *o="") const;
|
---|
28 |
|
---|
29 | // Setter
|
---|
30 | void SetExtractedSignal(const Float_t sig, const Float_t sigerr);
|
---|
31 | void SetExtractedRms( const Float_t sig, const Float_t sigerr);
|
---|
32 | void SetExtractedTime( const Float_t sig, const Float_t sigerr);
|
---|
33 | void SetSaturation( const Byte_t numsat);
|
---|
34 | void SetUsedFADCSlices( const Byte_t first, const Byte_t num);
|
---|
35 |
|
---|
36 | // Getter
|
---|
37 | Float_t GetExtractedSignal() const { return fExtractedSignal; }
|
---|
38 | Float_t GetExtractedSignalErr() const { return fExtractedSignalErr; }
|
---|
39 | Float_t GetExtractedTime() const { return fExtractedTime; }
|
---|
40 | Float_t GetExtractedTimeErr() const { return fExtractedTimeErr; }
|
---|
41 | Float_t GetExtractedRms() const { return fExtractedRms; }
|
---|
42 | Float_t GetExtractedRmsErr() const { return fExtractedRmsErr; }
|
---|
43 |
|
---|
44 | Byte_t GetNumFADCSamples() const { return fNumFADCSamples; }
|
---|
45 |
|
---|
46 |
|
---|
47 |
|
---|
48 | Bool_t IsValid() const;
|
---|
49 |
|
---|
50 | ClassDef(MExtractedSignalPINDiode, 0) // Storage Container for Extracted Signal information of one pixel
|
---|
51 | };
|
---|
52 |
|
---|
53 | #endif
|
---|