source: trunk/MagicSoft/Mars/manalysis/MExtractedSignalPix.h@ 2970

Last change on this file since 2970 was 2914, checked in by tbretz, 21 years ago
*** empty log message ***
File size: 1.6 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 fIsLoGainUsed;
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 GetNumLoGainSaturated() const { return fNumLoGainSaturated; }
39
40 Bool_t IsLoGainUsed() const { return fIsLoGainUsed; }
41 Bool_t IsValid() const;
42
43 ClassDef(MExtractedSignalPix, 0) // Storage Container for Extracted Signal information of one pixel
44};
45
46#endif
Note: See TracBrowser for help on using the repository browser.