Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:47:20

0001 #include "CalibFormats/HcalObjects/interface/HcalCalibrationWidths.h"
0002 #include <cstdlib>
0003 
0004 /** \class HcalCalibrationWidths
0005     
0006     Container for retrieving uncertainties of calibration constants for HCAL
0007    $Author: ratnikov
0008 */
0009 
0010 HcalCalibrationWidths::HcalCalibrationWidths(const float fGain[4],
0011                                              const float fPedestal[4],
0012                                              const float fEffectivePedestal[4]) {
0013   for (size_t iCap = 0; iCap < 4; ++iCap) {
0014     mGain[iCap] = fGain[iCap];
0015     mPedestal[iCap] = fPedestal[iCap];
0016     mEffectivePedestal[iCap] = fEffectivePedestal[iCap];
0017   }
0018 }