src
CalibFormats
CastorObjects
interface
CastorCalibrations.h
Go to the documentation of this file.
1
#ifndef CASTOR_CALIBRATIONS_H
2
#define CASTOR_CALIBRATIONS_H
3
9
class
CastorCalibrations
{
10
public
:
11
CastorCalibrations
() :
mGain
{},
mPedestal
{} {};
12
CastorCalibrations
(
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
CastorCalibrations::CastorCalibrations
CastorCalibrations()
Definition:
CastorCalibrations.h:11
CastorCalibrations::mPedestal
double mPedestal[4]
Definition:
CastorCalibrations.h:20
CastorCalibrations
Definition:
CastorCalibrations.h:9
CastorCalibrations::gain
double gain(int fCapId) const
get gain for capid=0..3
Definition:
CastorCalibrations.h:14
CastorCalibrations::pedestal
double pedestal(int fCapId) const
get pedestal for capid=0..3
Definition:
CastorCalibrations.h:16
CastorCalibrations::mGain
double mGain[4]
Definition:
CastorCalibrations.h:19
Generated for CMSSW Reference Manual by
1.8.14