The tcColumnAdjuster class interfaces to the FPGA column_cal core.
More...
#include <ColumnAdjuster.h>
The tcColumnAdjuster class interfaces to the FPGA column_cal core.
◆ tcColumnAdjuster()
◆ ~tcColumnAdjuster()
tcColumnAdjuster::~tcColumnAdjuster |
( |
| ) |
|
|
virtual |
◆ initialized()
bool tcColumnAdjuster::initialized |
( |
| ) |
|
◆ reset()
int32 tcColumnAdjuster::reset |
( |
bool |
abOn | ) |
|
tcColumnAdjuster::reset
Reset the component or take it out of reset.
- Parameters
-
abOn | - the state of the reset bit; true to turn it on, false to turn it off |
- Returns
- zero for success; non-zero for error.
- Parameters
-
- Returns
◆ setBias() [1/2]
int32 tcColumnAdjuster::setBias |
( |
const char * |
apFilename | ) |
|
tcColumnAdjuster::setBias
Convenience function to open a file where each line is the 16 bit data to be applied, read it in and call setBias() with the data.
- Parameters
-
apFilename | - the name of the input file to read. |
- Returns
- zero if successful; non-zero if error.
- Parameters
-
- Returns
◆ setBias() [2/2]
tcColumnAdjuster::setBias
Sets the bias portion of the column adjuster.
Out = In * apMultiplier[i]/(2^15) + apBias[i]
- Parameters
-
apBias | - the array of biases to apply |
anLength | - the length of the array |
- Returns
- zero if successful; non-zero for error.
- Parameters
-
- Returns
◆ setMultiplier() [1/2]
int32 tcColumnAdjuster::setMultiplier |
( |
const char * |
apFilename | ) |
|
tcColumnAdjuster::setMultiplier
Convenience function to open a file where each line is the 16 bit data to be applied, read it in and call setMultiplier() with the data.
- Parameters
-
apFilename | - the name of the input file to read. |
- Returns
- zero if successful; non-zero if error.
- Parameters
-
- Returns
◆ setMultiplier() [2/2]
tcColumnAdjuster::setMultiplier
Sets the multiplier portion of the column adjuster.
Out = In * apMultiplier[i]/(2^15) + apBias[i]
- Parameters
-
apMultiplier | - the array of multipliers to apply |
anLength | - the length of the array |
- Returns
- zero if successful; non-zero for error.
- Parameters
-
- Returns
The documentation for this class was generated from the following files: