1 | #ifndef MARS_MArrivalTimePix
|
---|
2 | #define MARS_MArrivalTimePix
|
---|
3 |
|
---|
4 | #ifndef MARS_MParContainer
|
---|
5 | #include "MParContainer.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class MArrivalTimePix : public MParContainer
|
---|
9 | {
|
---|
10 | private:
|
---|
11 | Float_t fArrivalTimeHiGain; // mean value of the ArrivalTime
|
---|
12 | Float_t fArrivalTimeHiGainError; // error of the mean value of the ArrivalTime
|
---|
13 | Float_t fArrivalTimeLoGain; // mean value of the ArrivalTime
|
---|
14 | Float_t fArrivalTimeLoGainError; // error of the mean value of the ArrivalTime
|
---|
15 |
|
---|
16 | Bool_t fIsLoGainUsed;
|
---|
17 | Byte_t fNumHiGainSaturated;
|
---|
18 | Byte_t fNumLoGainSaturated;
|
---|
19 |
|
---|
20 | public:
|
---|
21 | MArrivalTimePix(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 SetArrivalTime(Float_t sig, Float_t sigerr);
|
---|
28 | void SetArrivalTime(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 GetArrivalTimeHiGain() const { return fArrivalTimeHiGain; }
|
---|
33 | Float_t GetArrivalTimeHiGainError() const { return fArrivalTimeHiGainError; }
|
---|
34 |
|
---|
35 | Float_t GetArrivalTimeLoGain() const { return fArrivalTimeLoGain; }
|
---|
36 | Float_t GetArrivalTimeLoGainError() const { return fArrivalTimeLoGainError; }
|
---|
37 |
|
---|
38 | Byte_t GetNumLoGainSaturated() const { return fNumLoGainSaturated; }
|
---|
39 |
|
---|
40 | Bool_t IsLoGainUsed() const { return fIsLoGainUsed; }
|
---|
41 | Bool_t IsValid() const;
|
---|
42 |
|
---|
43 | ClassDef(MArrivalTimePix, 0) // Storage Container for ArrivalTime information of one pixel
|
---|
44 | };
|
---|
45 |
|
---|
46 | #endif
|
---|