File indexing completed on 2024-04-06 11:58:11
0001 #ifndef CASTOR_CALIBRATION_WIDTHS_H
0002 #define CASTOR_CALIBRATION_WIDTHS_H
0003
0004
0005
0006
0007
0008
0009 class CastorCalibrationWidths {
0010 public:
0011 CastorCalibrationWidths() : mGain{}, mPedestal{} {};
0012 CastorCalibrationWidths(const float fGain[4], const float fPedestal[4]);
0013
0014 double gain(int fCapId) const { return mGain[fCapId]; }
0015
0016 double pedestal(int fCapId) const { return mPedestal[fCapId]; }
0017
0018 private:
0019 double mGain[4];
0020 double mPedestal[4];
0021 };
0022
0023 #endif