source: trunk/MagicSoft/Mars/mcalib/MCalibrationChargeBlindCam.h@ 4661

Last change on this file since 4661 was 4401, checked in by gaug, 20 years ago
*** empty log message ***
File size: 1.3 KB
Line 
1#ifndef MARS_MCalibrationChargeBlindCam
2#define MARS_MCalibrationChargeBlindCam
3
4#ifndef MARS_MCalibrationCam
5#include "MCalibrationCam.h"
6#endif
7
8class MCalibrationChargeBlindPix;
9class TClonesArray;
10class MCalibrationChargeBlindCam : public MParContainer
11{
12private:
13
14 MCalibrationCam::PulserColor_t fPulserColor; // Colour of the pulsed LEDs
15
16 TClonesArray *fBlindPixels; //-> Array of MCalibrationChargeBlindPix
17
18 Bool_t fValid;
19
20public:
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.