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