Line | |
---|
1 | #ifndef MARS_MCalibrationChargeCam
|
---|
2 | #define MARS_MCalibrationChargeCam
|
---|
3 |
|
---|
4 | #ifndef MARS_MCalibrationCam
|
---|
5 | #include "MCalibrationCam.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class TH1D;
|
---|
9 | class TH2D;
|
---|
10 |
|
---|
11 | class MCalibrationChargeCam : public MCalibrationCam
|
---|
12 | {
|
---|
13 | private:
|
---|
14 |
|
---|
15 | TH1D* fOffsets; //! Histogram with Higain-vs-LoGain fit result Offsets
|
---|
16 | TH1D* fSlopes; //! Histogram with Higain-vs-LoGain fit result Slopes
|
---|
17 | TH2D* fOffvsSlope; //! Histogram with Higain-vs-LoGain fit result Offsets vs. Slopes
|
---|
18 |
|
---|
19 | enum { kFFactorMethodValid };
|
---|
20 |
|
---|
21 | Byte_t fFlags; // Bit-field to hold the flags
|
---|
22 |
|
---|
23 | public:
|
---|
24 |
|
---|
25 | MCalibrationChargeCam(const char *name=NULL, const char *title=NULL);
|
---|
26 | ~MCalibrationChargeCam();
|
---|
27 |
|
---|
28 | void Clear ( Option_t *o="" );
|
---|
29 |
|
---|
30 | // Setters
|
---|
31 | void SetFFactorMethodValid ( const Bool_t b=kTRUE );
|
---|
32 |
|
---|
33 | // Getters
|
---|
34 | Bool_t GetConversionFactorFFactor( Int_t ipx, Float_t &mean, Float_t &err, Float_t &ffactor );
|
---|
35 |
|
---|
36 | Bool_t IsFFactorMethodValid() const;
|
---|
37 |
|
---|
38 | // Prints
|
---|
39 | void Print(Option_t *o="") const;
|
---|
40 |
|
---|
41 | // Draws
|
---|
42 | // void DrawHiLoFits();
|
---|
43 |
|
---|
44 | // Others
|
---|
45 | Bool_t GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const;
|
---|
46 | void DrawPixelContent(Int_t num) const;
|
---|
47 |
|
---|
48 | ClassDef(MCalibrationChargeCam, 1) // Container Charge Calibration Results Camera
|
---|
49 | };
|
---|
50 |
|
---|
51 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.