Changeset 4270 for trunk/MagicSoft/Mars/mcalib/MCalibrationCam.h
- Timestamp:
- 06/03/04 10:23:59 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibrationCam.h
r4206 r4270 10 10 #ifndef ROOT_TArrayI 11 11 #include "TArrayI.h" 12 #endif 13 #ifndef ROOT_TArrayF 14 #include "TArrayF.h" 12 15 #endif 13 16 … … 27 30 protected: 28 31 29 TArrayI fNumUnsuitable; 30 TArrayI fNumUnreliable; 32 TArrayI fNumUnsuitable; // Number uncalibrated Pixels per area index 33 TArrayI fNumUnreliable; // Number unreliable Pixels per area index 31 34 32 Float_tfNumHiGainFADCSlices; // Number High-Gain FADC slices used by extractor33 Float_tfNumLoGainFADCSlices; // Number Low -Gain FADC slices used by extractor35 TArrayF fNumHiGainFADCSlices; // Number High-Gain FADC slices used by extractor 36 TArrayF fNumLoGainFADCSlices; // Number Low -Gain FADC slices used by extractor 34 37 35 38 PulserColor_t fPulserColor; // Colour of the pulsed LEDs … … 51 54 52 55 // Getters 53 const Int_t GetAverageAreas ()const;54 MCalibrationPix &GetAverageArea ( UInt_t i );55 const MCalibrationPix &GetAverageArea ( UInt_t i )const;56 MBadPixelsPix &GetAverageBadArea ( UInt_t i );57 const MBadPixelsPix &GetAverageBadArea ( UInt_t i )const;58 MBadPixelsPix &GetAverageBadSector ( UInt_t i );59 const MBadPixelsPix &GetAverageBadSector ( UInt_t i )const;60 MCalibrationPix &GetAverageSector ( UInt_t i );61 const Int_t GetAverageSectors ()const;62 const MCalibrationPix &GetAverageSector ( UInt_t i) const;63 const Float_t GetNumHiGainFADCSlices () const { return fNumHiGainFADCSlices; }64 const Float_t GetNumLoGainFADCSlices () const { return fNumLoGainFADCSlices; }65 const Int_t GetNumUnsuitable ( Int_t aidx) const;66 const Int_t GetNumUnreliable ( Int_t aidx) const;56 const Int_t GetAverageAreas () const; 57 MCalibrationPix &GetAverageArea ( UInt_t i ); 58 const MCalibrationPix &GetAverageArea ( UInt_t i ) const; 59 MBadPixelsPix &GetAverageBadArea ( UInt_t i ); 60 const MBadPixelsPix &GetAverageBadArea ( UInt_t i ) const; 61 MBadPixelsPix &GetAverageBadSector ( UInt_t i ); 62 const MBadPixelsPix &GetAverageBadSector ( UInt_t i ) const; 63 MCalibrationPix &GetAverageSector ( UInt_t i ); 64 const Int_t GetAverageSectors () const; 65 const MCalibrationPix &GetAverageSector ( UInt_t i ) const; 66 const Float_t GetNumHiGainFADCSlices ( Int_t aidx ) const; 67 const Float_t GetNumLoGainFADCSlices ( Int_t aidx ) const; 68 const Int_t GetNumUnsuitable ( Int_t aidx ) const; 69 const Int_t GetNumUnreliable ( Int_t aidx ) const; 67 70 68 71 virtual Bool_t GetPixelContent ( Double_t &val, Int_t idx, … … 75 78 76 79 // Inits 77 virtual void Init 80 virtual void Init ( const MGeomCam &geom ); 78 81 void InitSize ( const UInt_t i ); 79 82 void InitAverageAreas ( const UInt_t i ); … … 81 84 82 85 // Setters 83 void SetNumHiGainFADCSlices ( const Float_t f ) { fNumHiGainFADCSlices = f; }84 void SetNumLoGainFADCSlices ( const Float_t f ) { fNumLoGainFADCSlices = f; }85 void SetNumUnsuitable ( const UInt_t i, const Int_t aidx);86 void SetNumUnreliable ( const UInt_t i, const Int_t aidx);86 void SetNumHiGainFADCSlices ( const Float_t f, const Int_t aidx ); 87 void SetNumLoGainFADCSlices ( const Float_t f, const Int_t aidx ); 88 void SetNumUnsuitable ( const UInt_t i, const Int_t aidx ); 89 void SetNumUnreliable ( const UInt_t i, const Int_t aidx ); 87 90 void SetPulserColor ( const PulserColor_t col=kCT1 ) { fPulserColor = col; } 88 91 89 ClassDef(MCalibrationCam, 1) // Base class Container for Calibration Results Camera92 ClassDef(MCalibrationCam, 2) // Base class Container for Calibration Results Camera 90 93 }; 91 94
Note:
See TracChangeset
for help on using the changeset viewer.