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