#include <CastorCalibrations.h>
Public Member Functions | |
CastorCalibrations () | |
CastorCalibrations (const float fGain[4], const float fPedestal[4]) | |
double | gain (int fCapId) const |
get gain for capid=0..3 | |
double | pedestal (int fCapId) const |
get pedestal for capid=0..3 | |
Private Attributes | |
double | mGain [4] |
double | mPedestal [4] |
Container for retrieved calibration constants for Castor
Container for retrieved calibration constants for Castor $Author: katsas
Definition at line 9 of file CastorCalibrations.h.
CastorCalibrations::CastorCalibrations | ( | ) | [inline] |
Definition at line 11 of file CastorCalibrations.h.
{};
CastorCalibrations::CastorCalibrations | ( | const float | fGain[4], |
const float | fPedestal[4] | ||
) |
double CastorCalibrations::gain | ( | int | fCapId | ) | const [inline] |
get gain for capid=0..3
Definition at line 14 of file CastorCalibrations.h.
References mGain.
Referenced by RecHitCorrector::produce(), and CastorSimpleRecAlgoImpl::reco().
{return mGain [fCapId];}
double CastorCalibrations::pedestal | ( | int | fCapId | ) | const [inline] |
get pedestal for capid=0..3
Definition at line 16 of file CastorCalibrations.h.
References mPedestal.
Referenced by CastorPSMonitor::processEvent(), CastorLEDMonitor::processEvent(), and CastorSimpleRecAlgoImpl::reco().
{return mPedestal [fCapId];}
double CastorCalibrations::mGain[4] [private] |
Definition at line 18 of file CastorCalibrations.h.
Referenced by CastorCalibrations(), and gain().
double CastorCalibrations::mPedestal[4] [private] |
Definition at line 19 of file CastorCalibrations.h.
Referenced by CastorCalibrations(), and pedestal().