// SPDX-License-Identifier: LGPL-3.0-or-other // Copyright (C) 2021 Contributors to the SLS Detector Package #ifndef SLSDETECTORDATA_H #define SLSDETECTORDATA_H #include #include #include using namespace std; template class slsDetectorData { protected: const int nx; /**< Number of pixels in the x direction */ const int ny; /**< Number of pixels in the y direction */ int dataSize; /**=0 && ix=0 && iy=0 && ix=0 && iydataSize) dsize=dataSize; for (int ip=0; ip<(el); ip++) { getPixel(ip,ix,iy); if (ix>=0 && ix=0 && iydataSize) dsize=dataSize; for (int ip=0; ip=0 && ix=0 && iy=0 && ix=0 && iy=0 && dataMap[iy][ix]