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 | Byte_t fFlags; // Bit-field to hold the flags
|
---|
20 |
|
---|
21 | enum { kFFactorMethodValid };
|
---|
22 |
|
---|
23 |
|
---|
24 | public:
|
---|
25 |
|
---|
26 | MCalibrationChargeCam(const char *name=NULL, const char *title=NULL);
|
---|
27 | ~MCalibrationChargeCam();
|
---|
28 |
|
---|
29 | void Clear ( Option_t *o="" );
|
---|
30 |
|
---|
31 | // Draws
|
---|
32 | // void DrawHiLoFits();
|
---|
33 | void DrawPixelContent(Int_t num) const;
|
---|
34 |
|
---|
35 | // Getters
|
---|
36 | Bool_t GetConversionFactorFFactor( Int_t ipx, Float_t &mean, Float_t &err, Float_t &ffactor );
|
---|
37 | Bool_t GetPixelContent ( Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const;
|
---|
38 | Bool_t IsFFactorMethodValid() const;
|
---|
39 |
|
---|
40 | // Prints
|
---|
41 | void Print(Option_t *o="") const;
|
---|
42 |
|
---|
43 | // Setters
|
---|
44 | void SetFFactorMethodValid (const Bool_t b=kTRUE );
|
---|
45 |
|
---|
46 | ClassDef(MCalibrationChargeCam, 1) // Container Charge Calibration Results Camera
|
---|
47 | };
|
---|
48 |
|
---|
49 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.