From 545684c8e353f7ce47b715bfb691c15ac95da68f Mon Sep 17 00:00:00 2001 From: Anna Bergamaschi Date: Mon, 9 Dec 2019 16:51:15 +0100 Subject: [PATCH] Fixed corordinate inversion --- .../moenchExecutables/moench03Interpolation.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/slsDetectorCalibration/moenchExecutables/moench03Interpolation.cpp b/slsDetectorCalibration/moenchExecutables/moench03Interpolation.cpp index 97acaa9c6..daaff72ab 100644 --- a/slsDetectorCalibration/moenchExecutables/moench03Interpolation.cpp +++ b/slsDetectorCalibration/moenchExecutables/moench03Interpolation.cpp @@ -102,8 +102,8 @@ int main(int argc, char *argv[]) { int nSubPixels=nsubpix; int nSubPixelsY=nsubpix; #ifdef RECT - nSubPixelsY=1; //might make more sense using 2? - etabinsY=2; + nSubPixels=1; //might make more sense using 2? + etabins=2; #endif #ifndef NOINTERPOLATION eta2InterpolationPosXY *interp=new eta2InterpolationPosXY(NC, NR, nSubPixels, nSubPixelsY, etabins, etabinsY, etamin, etamax);