CMS 3D CMS Logo

CMSSW_4_4_3_patch1/src/CalibFormats/CastorObjects/interface/CastorCalibrationWidths.h

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