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