![]() |
Project
|
CCDB container for the gain calibration factors. More...
#include <GainCalibrationFactors.h>
Public Member Functions | |
GainCalibrationFactors ()=default | |
Constructor. | |
~GainCalibrationFactors ()=default | |
Destructor. | |
bool | operator== (const GainCalibrationFactors &other) const |
Comparison of two gain calibration factors containers. | |
void | addGainCalibFactor (unsigned short iCell, float gainFactor) |
Add gain calibration factors to the container. | |
float | getGainCalibFactors (unsigned short iCell) const |
Get the gain calibration factor for a certain cell. | |
TH1 * | getHistogramRepresentation () const |
Convert the gain calibration factors to a histogram. | |
CCDB container for the gain calibration factors.
The gain calibration factors can be added for each channel
One can read the gain calibration factors by calling
Definition at line 45 of file GainCalibrationFactors.h.
|
default |
Constructor.
|
default |
Destructor.
Add gain calibration factors to the container.
iCell | is the cell index |
gainFactor | is the gain calibration factor |
CalibContainerIndexException | in case the cell ID exceeds the range of cells in EMCAL |
Definition at line 23 of file GainCalibrationFactors.cxx.
float GainCalibrationFactors::getGainCalibFactors | ( | unsigned short | iCell | ) | const |
Get the gain calibration factor for a certain cell.
iCell | is the cell index |
Definition at line 31 of file GainCalibrationFactors.cxx.
TH1 * GainCalibrationFactors::getHistogramRepresentation | ( | ) | const |
Convert the gain calibration factors to a histogram.
Definition at line 39 of file GainCalibrationFactors.cxx.
bool GainCalibrationFactors::operator== | ( | const GainCalibrationFactors & | other | ) | const |
Comparison of two gain calibration factors containers.
CalibContainerIndexException | in case the cell ID exceeds the range of cells in EMCAL |
Definition at line 51 of file GainCalibrationFactors.cxx.