source: trunk/MagicSoft/Mars/mcalib/MCalibrationQEPix.h@ 3551

Last change on this file since 3551 was 3321, checked in by gaug, 21 years ago
*** empty log message ***
File size: 1.2 KB
Line 
1#ifndef MARS_MCalibrationQEPix
2#define MARS_MCalibrationQEPix
3
4#ifndef MARS_MParContainer
5#include "MParContainer.h"
6#endif
7
8class MCalibrationQEPix : public MParContainer
9{
10private:
11
12 Int_t fPixId;
13
14 Float_t fQEGreen;
15 Float_t fQEBlue;
16 Float_t fQEUV;
17 Float_t fQECT1;
18
19 Float_t fQEGreenErr;
20 Float_t fQEBlueErr;
21 Float_t fQEUVErr;
22 Float_t fQECT1Err;
23
24 Byte_t fFlags;
25
26 enum { kExcluded, kQEValid };
27
28public:
29
30 MCalibrationQEPix(const char *name=NULL, const char *title=NULL);
31 ~MCalibrationQEPix() {}
32
33 void Clear(Option_t *o="");
34
35 // Setters
36 void SetQE ( const Float_t qe , const PulserColor_t col );
37 void SetQEErr( const Float_t qeerr, const PulserColor_t col );
38
39 void SetExcluded ( const Bool_t b = kTRUE );
40 void SetQEValid ( const Bool_t b = kTRUE );
41
42 // Getters
43 Float_t GetQE ( const PulserColor_t col ) const;
44 Float_t GetQEErr( const PulserColor_t col ) const;
45 Int_t GetPixId() const;
46
47 Bool_t IsExcluded() const;
48 Bool_t IsQEValid() const;
49
50 void SetPixId(const Int_t i) { fPixId = i; }
51
52 // Miscellaneous
53 Bool_t CheckQEValidity();
54
55 ClassDef(MCalibrationQEPix, 1) // Container for calibrated Quantrum Efficieny of one pixel
56};
57
58#endif
59
Note: See TracBrowser for help on using the repository browser.