CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/CalibFormats/HcalObjects/interface/HcalCalibrationWidths.h

Go to the documentation of this file.
00001 #ifndef HCAL_CALIBRATION_WIDTHS_H
00002 #define HCAL_CALIBRATION_WIDTHS_H
00003 
00011 class HcalCalibrationWidths {
00012  public:
00013   HcalCalibrationWidths () {};
00014   HcalCalibrationWidths (const float fGain [4], const float fPedestal [4]);
00016   double gain (int fCapId) const {return mGain [fCapId];}
00018   double pedestal (int fCapId) const {return mPedestal [fCapId];}
00019  private:
00020   double mGain [4];
00021   double mPedestal [4];
00022 };
00023 
00024 #endif