CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalCalibrationWidths.h
Go to the documentation of this file.
1 #ifndef HCAL_CALIBRATION_WIDTHS_H
2 #define HCAL_CALIBRATION_WIDTHS_H
3 
12  public:
14  HcalCalibrationWidths (const float fGain [4], const float fPedestal [4]);
16  double gain (int fCapId) const {return mGain [fCapId];}
18  double pedestal (int fCapId) const {return mPedestal [fCapId];}
19  private:
20  double mGain [4];
21  double mPedestal [4];
22 };
23 
24 #endif
double gain(int fCapId) const
get gain width for capid=0..3
double pedestal(int fCapId) const
get pedestal width for capid=0..3