CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
HcalCalibrationWidths Class Reference

#include <HcalCalibrationWidths.h>

Public Member Functions

double gain (int fCapId) const
 get gain width for capid=0..3 More...
 
 HcalCalibrationWidths ()
 
 HcalCalibrationWidths (const float fGain[4], const float fPedestal[4])
 
double pedestal (int fCapId) const
 get pedestal width for capid=0..3 More...
 

Private Attributes

double mGain [4]
 
double mPedestal [4]
 

Detailed Description

Container for retrieving uncertainties of calibration constants for HCAL $Author: ratnikov

Date:
2008/11/08 21:16:38
Revision:
1.6

Container for retrieving uncertainties of calibration constants for HCAL $Author: ratnikov

Date:
2011/10/13 09:44:45
Revision:
1.3

Definition at line 11 of file HcalCalibrationWidths.h.

Constructor & Destructor Documentation

HcalCalibrationWidths::HcalCalibrationWidths ( )
inline

Definition at line 13 of file HcalCalibrationWidths.h.

13 {};
HcalCalibrationWidths::HcalCalibrationWidths ( const float  fGain[4],
const float  fPedestal[4] 
)

Definition at line 12 of file HcalCalibrationWidths.cc.

References mGain, and mPedestal.

12  {
13  for (size_t iCap = 0; iCap < 4; ++iCap)
14  {
15  mGain [iCap] = fGain [iCap];
16  mPedestal [iCap] = fPedestal [iCap];
17  }
18 }

Member Function Documentation

double HcalCalibrationWidths::gain ( int  fCapId) const
inline

get gain width for capid=0..3

Definition at line 16 of file HcalCalibrationWidths.h.

References mGain.

16 {return mGain [fCapId];}
double HcalCalibrationWidths::pedestal ( int  fCapId) const
inline

get pedestal width for capid=0..3

Definition at line 18 of file HcalCalibrationWidths.h.

References mPedestal.

Referenced by HcalAmplifier::makeNoiseOld().

18 {return mPedestal [fCapId];}

Member Data Documentation

double HcalCalibrationWidths::mGain[4]
private

Definition at line 20 of file HcalCalibrationWidths.h.

Referenced by gain(), and HcalCalibrationWidths().

double HcalCalibrationWidths::mPedestal[4]
private

Definition at line 21 of file HcalCalibrationWidths.h.

Referenced by HcalCalibrationWidths(), and pedestal().