source: trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCam.h@ 3975

Last change on this file since 3975 was 3936, checked in by gaug, 21 years ago
*** empty log message ***
File size: 1.1 KB
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
12class MCalibrationChargeCam : public MCalibrationCam
13{
14private:
15
16 Byte_t fFlags; // Bit-field to hold the flags
17
18 enum { kFFactorMethodValid };
19
20public:
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.