source: trunk/MagicSoft/Mars/msignal/MExtractedSignalPix.h@ 4692

Last change on this file since 4692 was 4274, checked in by merck, 20 years ago
*** empty log message ***
File size: 1.7 KB
Line 
1#ifndef MARS_MExtractedSignalPix
2#define MARS_MExtractedSignalPix
3
4#ifndef MARS_MParContainer
5#include "MParContainer.h"
6#endif
7
8class MExtractedSignalPix : public MParContainer
9{
10private:
11 Float_t fExtractedSignalHiGain; // mean value of the extracted signal
12 Float_t fExtractedSignalHiGainError; // error of the mean value of the extracted signal
13 Float_t fExtractedSignalLoGain; // mean value of the extracted signal
14 Float_t fExtractedSignalLoGainError; // error of the mean value of the extracted signal
15
16 Bool_t fLoGainUsed;
17 Byte_t fNumHiGainSaturated;
18 Byte_t fNumLoGainSaturated;
19
20public:
21 MExtractedSignalPix(const char* name=NULL, const char* title=NULL);
22
23 void Clear(Option_t *o="");
24 void Print(Option_t *o="") const;
25
26 // Setter
27 void SetExtractedSignal(Float_t sig, Float_t sigerr);
28 void SetExtractedSignal(Float_t sighi, Float_t sighierr,Float_t siglo, Float_t sigloerr);
29 void SetGainSaturation(Bool_t sat, Byte_t higain, Byte_t logain);
30
31 // Getter
32 Float_t GetExtractedSignalHiGain() const { return fExtractedSignalHiGain; }
33 Float_t GetExtractedSignalHiGainError() const { return fExtractedSignalHiGainError; }
34
35 Float_t GetExtractedSignalLoGain() const { return fExtractedSignalLoGain; }
36 Float_t GetExtractedSignalLoGainError() const { return fExtractedSignalLoGainError; }
37
38 Byte_t GetNumHiGainSaturated() const { return fNumHiGainSaturated; }
39 Byte_t GetNumLoGainSaturated() const { return fNumLoGainSaturated; }
40
41 Bool_t IsLoGainUsed() const { return fLoGainUsed; }
42 Bool_t IsValid() const;
43
44 ClassDef(MExtractedSignalPix, 1) // Storage Container for Extracted Signal information of one pixel
45};
46
47#endif
Note: See TracBrowser for help on using the repository browser.