CMS 3D CMS Logo

CastorCalibrationWidths Class Reference

Container for retrieving uncertainties of calibration constants for Castor. More...

#include <CalibFormats/CastorObjects/interface/CastorCalibrationWidths.h>

List of all members.

Public Member Functions

 CastorCalibrationWidths (const float fGain[4], const float fPedestal[4])
 CastorCalibrationWidths ()
double gain (int fCapId) const
 get gain width for capid=0..3
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 Castor.

Container for retrieving uncertainties of calibration constants for Castor $Author: katsas

Date
2008/03/04 10:01:27
Revision
1.1
.

Definition at line 9 of file CastorCalibrationWidths.h.


Constructor & Destructor Documentation

CastorCalibrationWidths::CastorCalibrationWidths (  )  [inline]

Definition at line 11 of file CastorCalibrationWidths.h.

00011 {};

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

Definition at line 11 of file CastorCalibrationWidths.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 CastorCalibrationWidths::gain ( int  fCapId  )  const [inline]

get gain width for capid=0..3

Definition at line 14 of file CastorCalibrationWidths.h.

References mGain.

00014 {return mGain [fCapId];}

double CastorCalibrationWidths::pedestal ( int  fCapId  )  const [inline]

get pedestal width for capid=0..3

Definition at line 16 of file CastorCalibrationWidths.h.

References mPedestal.

00016 {return mPedestal [fCapId];}


Member Data Documentation

double CastorCalibrationWidths::mGain[4] [private]

Definition at line 18 of file CastorCalibrationWidths.h.

Referenced by CastorCalibrationWidths(), and gain().

double CastorCalibrationWidths::mPedestal[4] [private]

Definition at line 19 of file CastorCalibrationWidths.h.

Referenced by CastorCalibrationWidths(), and pedestal().


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