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

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

#include <TimeCalibrationParams.h>

Detailed Description

CCDB container for the time 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 time calibration coefficienct can be added for each channel by

TCP.addTimeCalibParam(1234, 600, 0);
For the High Gain cells the last parameter should be set to 0, for low
gain it should be set to 1.
void addTimeCalibParam(unsigned short cellID, short time, bool isLowGain)
Add time calibration coefficients to the container.
std::vector< Cell > cells

One can read the time calibration coefficient by calling

auto param = TCP.getTimeCalibParam(1234, 0);
This will return the time calibration coefficient for a certain HG cell.
For low gain cells you have to set the last parameter 1
int16_t time
Definition RawEventData.h:4
short getTimeCalibParam(unsigned short cellID, bool isLowGain) const
Get the time calibration coefficient for a certain cell.
GLenum GLfloat param
Definition glcorearb.h:271
GLboolean GLboolean GLboolean GLboolean a
Definition glcorearb.h:1233

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