![]() |
Project
|
#include <CalibParams.h>
Public Member Functions | |
CalibParams ()=default | |
Constructor. | |
CalibParams (short test) | |
Constructor for tests. | |
~CalibParams ()=default | |
Destructor. | |
float | getGain (unsigned short cellID) const |
Get High Gain energy calibration coefficients. | |
void | setGain (unsigned short cellID, float c) |
Set High Gain energy calibration coefficient. | |
bool | setGain (TH2 *h, short module) |
Set High Gain energy calibration coefficients for one module in the form of 2D histogram. | |
Definition at line 34 of file CalibParams.h.
|
default |
Constructor.
CalibParams::CalibParams | ( | short | test | ) |
Constructor for tests.
Definition at line 23 of file CalibParams.cxx.
|
default |
Destructor.
|
inline |
Get High Gain energy calibration coefficients.
cellID | Absolute ID of cell |
Definition at line 49 of file CalibParams.h.
bool CalibParams::setGain | ( | TH2 * | h, |
short | module | ||
) |
Set High Gain energy calibration coefficients for one module in the form of 2D histogram.
2D(64,56) | histogram with calibration coefficients |
module | number |
Definition at line 29 of file CalibParams.cxx.
Set High Gain energy calibration coefficient.
cellID | Absolute ID of cell |
c | is the calibration coefficient |
Definition at line 54 of file CalibParams.h.