Changeset 4946 for trunk/MagicSoft/Mars/mhcalib/MHCalibrationCam.h
- Timestamp:
- 09/10/04 22:15:18 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhcalib/MHCalibrationCam.h
r4929 r4946 42 42 private: 43 43 44 static const Int_t fgAverageNbins; //! The default for fAverageNbins (now set to: 2000)45 44 static const Int_t fgPulserFrequency; //! The default for fPulserFrequency (now set to: 500) 46 45 47 46 protected: 47 48 Int_t fNbins; // Number of bins 49 Axis_t fFirst; // Lower histogram limit 50 Axis_t fLast; // Upper histogram limit 48 51 49 52 Float_t fNumHiGainSaturationLimit; // Rel. amount sat. higain FADC slices until pixel is called saturated … … 56 59 TArrayF fAverageAreaSigma; // Re-normalized sigmas in average pixels per area 57 60 TArrayF fAverageAreaSigmaVar; // Variance Re-normalized sigmas in average pixels per area 58 Int_t fAverageNbins; // Number of bins for the average histograms 61 59 62 TObjArray *fAverageHiGainAreas; //-> Array of calibration pixels, one per pixel area 60 63 TObjArray *fAverageHiGainSectors; //-> Array of calibration pixels, one per camera sector … … 142 145 void DrawPixelContent( Int_t num ) const; 143 146 144 const Int_t GetAverageAreas () const;147 const Int_t GetAverageAreas () const; 145 148 MHCalibrationPix &GetAverageHiGainArea (UInt_t i); 146 149 const MHCalibrationPix &GetAverageHiGainArea (UInt_t i) const; … … 151 154 MHCalibrationPix &GetAverageLoGainSector(UInt_t i); 152 155 const MHCalibrationPix &GetAverageLoGainSector(UInt_t i) const; 153 const Int_t GetAverageSectors () const;156 const Int_t GetAverageSectors () const; 154 157 const MCalibrationCam::PulserColor_t GetColor () const { return fColor; } 155 158 const Float_t GetNumHiGainSaturationLimit() const { return fNumHiGainSaturationLimit; } … … 173 176 ? SETBIT(fFlags,kOscillations) 174 177 : CLRBIT(fFlags,kOscillations); } 175 void SetAverageNbins ( const Int_t bins=fgAverageNbins) { fAverageNbins = bins; } 178 179 void SetNbins ( const Int_t i ) { fNbins = i; } 180 void SetFirst ( const Axis_t f ) { fFirst = f; } 181 void SetLast ( const Axis_t f ) { fLast = f; } 182 176 183 void SetNumLoGainSaturationLimit( const Float_t lim ) { fNumLoGainSaturationLimit = lim; } 177 184 void SetNumHiGainSaturationLimit( const Float_t lim ) { fNumHiGainSaturationLimit = lim; }
Note:
See TracChangeset
for help on using the changeset viewer.