1 #ifndef PPSObjects_PixelROC_H
2 #define PPSObjects_PixelROC_H
38 std::pair<int, int>
toLocal(
const std::pair<int, int> &modulePixel)
const {
39 int rocPixelRow, rocPixelColumn, idDU;
40 int modulePixelRow = modulePixel.first;
41 int modulePixelColumn = modulePixel.second;
45 std::pair<int, int> rocPixel;
46 rocPixel = std::make_pair(rocPixelRow, rocPixelColumn);
51 std::pair<int, int>
toGlobal(
const std::pair<int, int> &rocPixel)
const {
52 int modulePixelRow = -1;
53 int modulePixelColumn = -1;
54 int rocPixelRow = rocPixel.first;
55 int rocPixelColumn = rocPixel.second;
59 std::pair<int, int> modulePixel;
60 modulePixel = std::make_pair(modulePixelRow, modulePixelColumn);
66 int modulePixelRow = -1;
67 int modulePixelColumn = -1;
68 int rocDcol = rocPixel.first;
69 int rocPxl = rocPixel.second;
78 std::pair<int, int> modulePixel;
79 modulePixel = std::make_pair(modulePixelRow, modulePixelColumn);