| Line | |
|---|
| 1 | #ifndef MARS_MCalibrationChargeBlindCam
|
|---|
| 2 | #define MARS_MCalibrationChargeBlindCam
|
|---|
| 3 |
|
|---|
| 4 | #ifndef ROOT_TObjArray
|
|---|
| 5 | #include <TObjArray.h>
|
|---|
| 6 | #endif
|
|---|
| 7 |
|
|---|
| 8 | #ifndef MARS_MCalibrationCam
|
|---|
| 9 | #include "MCalibrationCam.h"
|
|---|
| 10 | #endif
|
|---|
| 11 |
|
|---|
| 12 | class MCalibrationChargeBlindPix;
|
|---|
| 13 | class MCalibrationChargeBlindCam : public MParContainer
|
|---|
| 14 | {
|
|---|
| 15 | private:
|
|---|
| 16 |
|
|---|
| 17 | UInt_t fNumBlindPixels; // Number of blind pixels
|
|---|
| 18 |
|
|---|
| 19 | MCalibrationCam::PulserColor_t fPulserColor; // Colour of the pulsed LEDs
|
|---|
| 20 |
|
|---|
| 21 | TObjArray fBlindPixels; // Array of MCalibrationChargeBlindPix
|
|---|
| 22 |
|
|---|
| 23 | public:
|
|---|
| 24 |
|
|---|
| 25 | MCalibrationChargeBlindCam(UInt_t nblind=0,const char *name=NULL, const char *title=NULL);
|
|---|
| 26 |
|
|---|
| 27 | void Clear ( Option_t *o="" );
|
|---|
| 28 | void Copy ( TObject& obj ) const;
|
|---|
| 29 |
|
|---|
| 30 | // Getters
|
|---|
| 31 | UInt_t GetNumBlindPixels() const { return fNumBlindPixels; }
|
|---|
| 32 | MCalibrationCam::PulserColor_t GetColor() const { return fPulserColor; }
|
|---|
| 33 |
|
|---|
| 34 | MCalibrationChargeBlindPix &operator[] ( UInt_t i );
|
|---|
| 35 | const MCalibrationChargeBlindPix &operator[] ( UInt_t i ) const;
|
|---|
| 36 |
|
|---|
| 37 | // Setters
|
|---|
| 38 | void SetColor ( const MCalibrationCam::PulserColor_t col );
|
|---|
| 39 |
|
|---|
| 40 | // Prints
|
|---|
| 41 | void Print(Option_t *o="") const;
|
|---|
| 42 |
|
|---|
| 43 | ClassDef(MCalibrationChargeBlindCam, 2) // Container Blind Pixel Calibration Results Camera
|
|---|
| 44 | };
|
|---|
| 45 |
|
|---|
| 46 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.