CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch1/src/CalibFormats/CastorObjects/interface/CastorCalibrations.h

Go to the documentation of this file.
00001 #ifndef CASTOR_CALIBRATIONS_H
00002 #define CASTOR_CALIBRATIONS_H
00003 
00009 class CastorCalibrations {
00010  public:
00011   CastorCalibrations () {};
00012   CastorCalibrations (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