#include <ITkPixelOfflineCalibData.h>
The ITk::PixelOfflineCalibData is a class that designed to hold the data used by ITk pixel offline algorithms.
Definition at line 27 of file ITkPixelOfflineCalibData.h.
◆ PixelOfflineCalibData() [1/2]
ITk::PixelOfflineCalibData::PixelOfflineCalibData |
( |
| ) |
|
|
inline |
◆ PixelOfflineCalibData() [2/2]
◆ ~PixelOfflineCalibData()
ITk::PixelOfflineCalibData::~PixelOfflineCalibData |
( |
| ) |
|
|
default |
◆ dump()
void PixelOfflineCalibData::dump |
( |
| ) |
|
◆ getClusterErrorData() [1/2]
◆ getClusterErrorData() [2/2]
◆ getConstants()
std::vector< float > PixelOfflineCalibData::getConstants |
( |
| ) |
const |
Definition at line 17 of file ITkPixelOfflineCalibData.cxx.
19 std::map< const Identifier, std::vector<double> > constMap =
m_clusterErrorData->getConstMap();
22 int data_size = entry_size*constMap.size();
27 for(
auto&
x : constMap){
29 long long pixelId(
x.first.get_compact());
30 std::vector<double>
value =
x.second;
◆ operator=()
◆ setConstants()
void PixelOfflineCalibData::setConstants |
( |
const std::vector< float > & |
constants | ) |
|
Definition at line 46 of file ITkPixelOfflineCalibData.cxx.
49 int map_size =
constants.size()/entry_size;
51 for(
int i=0;
i<map_size;
i++){
53 long long pixelId_long =
constants[
i*entry_size];
54 std::ostringstream
ss;
55 ss <<
"0x" << std::hex << pixelId_long;
56 std::string pixelId_str(
ss.str());
58 pixelId.
set(pixelId_str);
60 double period_phi =
constants[
i*entry_size + 1];
61 double period_sinheta =
constants[
i*entry_size + 2];
62 double delta_x_slope =
constants[
i*entry_size + 3];
63 double delta_x_offset =
constants[
i*entry_size + 4];
64 double delta_err_x =
constants[
i*entry_size + 5];
65 double delta_y_slope =
constants[
i*entry_size + 6];
66 double delta_y_offset =
constants[
i*entry_size + 7];
67 double delta_err_y =
constants[
i*entry_size + 8];
70 delta_x_slope, delta_x_offset, delta_err_x,
71 delta_y_slope, delta_y_offset, delta_err_y);
◆ update()
◆ m_clusterErrorData
The documentation for this class was generated from the following files: