CalibFormats
HcalObjects
interface
HcalCalibrationWidths.h
Go to the documentation of this file.
1
#ifndef HCAL_CALIBRATION_WIDTHS_H
2
#define HCAL_CALIBRATION_WIDTHS_H
3
9
class
HcalCalibrationWidths
{
10
public
:
11
HcalCalibrationWidths
(){};
12
HcalCalibrationWidths
(
const
float
fGain[4],
const
float
fPedestal[4],
const
float
fEffectivePedestal[4]);
14
double
gain
(
int
fCapId)
const
{
return
mGain
[fCapId]; }
16
double
pedestal
(
int
fCapId)
const
{
return
mPedestal
[fCapId]; }
18
double
effpedestal
(
int
fCapId)
const
{
return
mEffectivePedestal
[fCapId]; }
19
20
private
:
21
double
mGain
[4];
22
double
mPedestal
[4];
23
double
mEffectivePedestal
[4];
24
};
25
#endif
HcalCalibrationWidths::effpedestal
double effpedestal(int fCapId) const
get effective pedestal width for capid=0..3
Definition:
HcalCalibrationWidths.h:18
HcalCalibrationWidths::mEffectivePedestal
double mEffectivePedestal[4]
Definition:
HcalCalibrationWidths.h:23
HcalCalibrationWidths::mPedestal
double mPedestal[4]
Definition:
HcalCalibrationWidths.h:22
HcalCalibrationWidths::mGain
double mGain[4]
Definition:
HcalCalibrationWidths.h:21
HcalCalibrationWidths::pedestal
double pedestal(int fCapId) const
get pedestal width for capid=0..3
Definition:
HcalCalibrationWidths.h:16
HcalCalibrationWidths::gain
double gain(int fCapId) const
get gain width for capid=0..3
Definition:
HcalCalibrationWidths.h:14
HcalCalibrationWidths::HcalCalibrationWidths
HcalCalibrationWidths()
Definition:
HcalCalibrationWidths.h:11
HcalCalibrationWidths
Definition:
HcalCalibrationWidths.h:9
Generated for CMSSW Reference Manual by
1.8.16