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

Last change on this file since 2903 was 2902, checked in by gaug, 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
12 Float_t fExtractedSignalHiGain; // mean value of the extracted signal
13 Float_t fExtractedSignalHiGainError; // error of the mean value of the extracted signal
14 Float_t fExtractedSignalLoGain; // mean value of the extracted signal
15 Float_t fExtractedSignalLoGainError; // error of the mean value of the extracted signal
16
17 Bool_t fIsLoGainUsed;
18 Byte_t fNumHiGainSaturated;
19 Byte_t fNumLoGainSaturated;
20
21public:
22
23 MExtractedSignalPix(const char* name=NULL, const char* title=NULL);
24
25 void Clear(Option_t *o="");
26
27 // Setter
28 void SetExtractedSignal(Float_t sig, Float_t sigerr);
29 void SetExtractedSignal(Float_t sighi, Float_t sighierr,Float_t siglo, Float_t sigloerr);
30 void SetGainSaturation(Bool_t sat, Byte_t higain, Byte_t logain);
31
32 // Getter
33 Float_t GetExtractedSignalHiGain() const { return fExtractedSignalHiGain; }
34 Float_t GetExtractedSignalHiGainError() const { return fExtractedSignalHiGainError; }
35
36 Float_t GetExtractedSignalLoGain() const { return fExtractedSignalLoGain; }
37 Float_t GetExtractedSignalLoGainError() const { return fExtractedSignalLoGainError; }
38
39 Byte_t GetNumLoGainSaturated() const { return fNumLoGainSaturated; }
40
41 Bool_t IsLoGainUsed() const { return fIsLoGainUsed; }
42 Bool_t IsValid() const;
43
44 void PrintOut();
45
46 ClassDef(MExtractedSignalPix, 0) // Storage Container for Extracted Signal information of one pixel
47};
48
49#endif
50
Note: See TracBrowser for help on using the repository browser.