File indexing completed on 2024-09-07 04:34:53
0001 #ifndef HCAL_CALIBRATION_WIDTHS_H
0002 #define HCAL_CALIBRATION_WIDTHS_H
0003
0004
0005
0006
0007
0008
0009 class HcalCalibrationWidths {
0010 public:
0011 HcalCalibrationWidths() {}
0012 HcalCalibrationWidths(const float fGain[4], const float fPedestal[4], const float fEffectivePedestal[4]);
0013
0014 double gain(int fCapId) const { return mGain[fCapId]; }
0015
0016 double pedestal(int fCapId) const { return mPedestal[fCapId]; }
0017
0018 double effpedestal(int fCapId) const { return mEffectivePedestal[fCapId]; }
0019
0020 private:
0021 double mGain[4];
0022 double mPedestal[4];
0023 double mEffectivePedestal[4];
0024 };
0025 #endif