CMS 3D CMS Logo

HcalCalibrationWidths Class Reference

Container for retrieving uncertainties of calibration constants for HCAL $Author: ratnikov
Date
2006/04/13 22:40:40
Revision
1.5
. More...

#include <CalibFormats/HcalObjects/interface/HcalCalibrationWidths.h>

List of all members.

Public Member Functions

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

Private Attributes

double mGain [4]
double mPedestal [4]


Detailed Description

Container for retrieving uncertainties of calibration constants for HCAL $Author: ratnikov
Date
2006/04/13 22:40:40
Revision
1.5
.

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

Date
2005/10/04 18:05:54
Revision
1.2
.

Definition at line 11 of file HcalCalibrationWidths.h.


Constructor & Destructor Documentation

HcalCalibrationWidths::HcalCalibrationWidths (  )  [inline]

Definition at line 13 of file HcalCalibrationWidths.h.

00013 {};

HcalCalibrationWidths::HcalCalibrationWidths ( const float  fGain[4],
const float  fPedestal[4] 
)

Definition at line 11 of file HcalCalibrationWidths.cc.

References mGain, and mPedestal.

00011                                                                                               {
00012   int iCap = 4;
00013   while (--iCap >= 0) {
00014     mGain [iCap] = fGain [iCap];
00015     mPedestal [iCap] = fPedestal [iCap];
00016   }
00017 }


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.

00016 {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.

00018 {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().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:23:30 2009 for CMSSW by  doxygen 1.5.4