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