Project
Loading...
Searching...
No Matches
TempCalibrationParams Class Reference

CCDB container for the temperature calibration coefficients. More...

#include <TempCalibrationParams.h>

Detailed Description

CCDB container for the temperature calibration coefficients.

Author
Hadi Hassan hadi..nosp@m.hass.nosp@m.an@ce.nosp@m.rn.c.nosp@m.h, Oak Ridge National Laboratory
Since
July 16th, 2019

The temperature calibration coefficienct can be added for each channel by

TCP.addTempCalibParam(1234, x, y);
The temperature calibration coefficiencts are the slope and A0 param.
uint16_t slope
Definition RawData.h:1
void addTempCalibParam(unsigned short cellID, float Slope, float ParamA0)
Add temperature calibration coefficients to the container.
GLint GLenum GLint x
Definition glcorearb.h:403
GLenum GLfloat param
Definition glcorearb.h:271

One can read the temperature calibration coefficient by calling

auto param = TCP.getTempCalibParamSlope(1234);
This will return the slope for a certain cell.
and
auto param = TCP.getTempCalibParamA0(1234);
This will return the A0 param for a certain cell.
float getTempCalibParamA0(unsigned short cellID) const
Get the temperature calibration coefficient (A0 param) for a certain cell.
float getTempCalibParamSlope(unsigned short cellID) const
Get the temperature calibration coefficient (slope) for a certain cell.
GLboolean GLboolean GLboolean GLboolean a
Definition glcorearb.h:1233

The documentation for this class was generated from the following file: