Changeset 3678 for trunk/MagicSoft/Mars/mcalib/MCalibrationCam.h
- Timestamp:
- 04/08/04 17:58:54 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibrationCam.h
r3667 r3678 19 19 { 20 20 21 public: 22 23 enum PulserColor_t { kCT1=0, kGREEN=1, kBLUE=2, kUV=3 }; // Possible Pulser colours 24 static const Int_t gkNumPulserColors; // Number of Pulser colours (now set to: 4) 25 21 26 protected: 22 27 28 PulserColor_t fPulserColor; // Colour of the pulsed LEDs 29 23 30 TClonesArray *fPixels; //-> Array of MCalibrationPix, one per pixel 24 31 TClonesArray *fAverageAreas; //-> Array of MCalibrationPix, one per pixel area 25 32 TClonesArray *fAverageSectors; //-> Array of MCalibrationPix, one per camera sector 26 TClonesArray *fAverageBadAreas; //-> Array of MBadPixelsPix, one per pixel area27 TClonesArray *fAverageBadSectors; //-> Array of MBadPixelsPix, one per camera sector33 TClonesArray *fAverageBadAreas; //-> Array of MBadPixelsPix, one per pixel area 34 TClonesArray *fAverageBadSectors; //-> Array of MBadPixelsPix, one per camera sector 28 35 29 36 public: … … 32 39 ~MCalibrationCam(); 33 40 34 virtual void Clear( Option_t *o="" ); 35 void Init(const MGeomCam &geom); 36 void InitSize( const UInt_t i ); 37 void InitAverageAreas( const UInt_t i ); 38 void InitAverageSectors( const UInt_t i ); 41 virtual void Clear ( Option_t *o="" ); 39 42 43 void Init ( const MGeomCam &geom ); 44 void InitSize ( const UInt_t i ); 45 void InitAverageAreas ( const UInt_t i ); 46 void InitAverageSectors ( const UInt_t i ); 47 48 void SetPulserColor ( const PulserColor_t col=kCT1) { fPulserColor = col; } 49 40 50 // Getters 41 51 Int_t GetSize() const; … … 43 53 Int_t GetAverageSectors() const; 44 54 45 // Others 46 MCalibrationPix &operator[](UInt_t i); 47 const MCalibrationPix &operator[](UInt_t i) const; 55 MCalibrationPix &GetAverageArea ( UInt_t i ); 56 const MCalibrationPix &GetAverageArea ( UInt_t i ) const; 57 MBadPixelsPix &GetAverageBadArea ( UInt_t i ); 58 const MBadPixelsPix &GetAverageBadArea ( UInt_t i ) const; 59 MBadPixelsPix &GetAverageBadSector ( UInt_t i ); 60 const MBadPixelsPix &GetAverageBadSector ( UInt_t i ) const; 61 MCalibrationPix &GetAverageSector ( UInt_t i ); 62 const MCalibrationPix &GetAverageSector ( UInt_t i ) const; 63 MCalibrationPix &operator[] ( UInt_t i ); 64 const MCalibrationPix &operator[] ( UInt_t i ) const; 48 65 49 MCalibrationPix &GetAverageArea(UInt_t i); 50 const MCalibrationPix &GetAverageArea(UInt_t i) const; 66 const PulserColor_t GetPulserColor() const { return fPulserColor; } 51 67 52 MBadPixelsPix &GetAverageBadArea(UInt_t i); 53 const MBadPixelsPix &GetAverageBadArea(UInt_t i) const; 54 55 MCalibrationPix &GetAverageSector(UInt_t i); 56 const MCalibrationPix &GetAverageSector(UInt_t i) const; 57 58 MBadPixelsPix &GetAverageBadSector(UInt_t i); 59 const MBadPixelsPix &GetAverageBadSector(UInt_t i) const; 60 61 // Draws 68 virtual Bool_t GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const; 62 69 virtual void DrawPixelContent(Int_t num) const; 63 64 // Others65 virtual Bool_t GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const;66 70 67 71 ClassDef(MCalibrationCam, 1) // Base class Container for Calibration Results Camera
Note:
See TracChangeset
for help on using the changeset viewer.