10 #include "Identifier/Identifier.h"
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;
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);