37 for (
int i=0; i<2048; i++) {
39 << hv->getBiasVoltage(i) <<
" "
40 << temp->getTemperature(i) <<
" "
42 for (
int j=0; j<16; j++) {
46 }
catch (
const std::range_error &) {
71 if (distortion->getId(i) != 0) {
72 ATH_MSG_INFO(
"Distortion parameters for module 0x" << std::hex << distortion->getId(i) << std::dec);
74 std::vector<float>
map = distortion->getDistortionMap(i);
86 dir = totalTransform.linear() * dir;
88 corr = distortion->correction(i, point1, dir);
89 ATH_MSG_INFO(
" Point 1: " <<
"(" << point1[0] <<
", " << point1[1] <<
")"
90 <<
", correction: " <<
"(" << corr.x() <<
", " << corr.y() <<
")");
91 corr = distortion->correction(i, point2, dir);
92 ATH_MSG_INFO(
" Point 2: " <<
"(" << point2[0] <<
", " << point2[1] <<
")"
93 <<
", correction: " <<
"(" << corr.x() <<
", " << corr.y() <<
")");
94 Amg::Vector2D newPoint2sim = distortion->correctSimulation(i, point2, dir);
95 ATH_MSG_INFO(
" Point 2 after correction in simul: " <<
"(" << newPoint2sim[0] <<
", " << newPoint2sim[1] <<
")");
96 Amg::Vector2D newPoint2rec = distortion->correctReconstruction(i, point2, dir);
97 ATH_MSG_INFO(
" Point 2 after correction in reco: " <<
"(" << newPoint2rec[0] <<
", " << newPoint2rec[1] <<
")");
101 return StatusCode::SUCCESS;