diff --git a/slsDetectorCalibration/analogDetector.h b/slsDetectorCalibration/analogDetector.h index f98f4bf78..b10446d34 100644 --- a/slsDetectorCalibration/analogDetector.h +++ b/slsDetectorCalibration/analogDetector.h @@ -823,7 +823,6 @@ template class analogDetector { else val=((double*)data)[iy*nx+ix]; // cout << val << endl; - val+=getGhost(ix,iy); /* if (ix==10 && iy==10) */ /* cout << ix << " " << iy << " " << val ; */ /* if (ix==100 && iy==100) */ diff --git a/slsDetectorCalibration/moench03GhostSummation.h b/slsDetectorCalibration/moench03GhostSummation.h index 64ec787dd..88377dbe8 100644 --- a/slsDetectorCalibration/moench03GhostSummation.h +++ b/slsDetectorCalibration/moench03GhostSummation.h @@ -12,7 +12,7 @@ class moench03GhostSummation : public ghostSummation { /** constructor \param xt crosstalk */ - moench03GhostSummation(slsDetectorData *d, double xt) : ghostSummation(d, xt) {} + moench03GhostSummation(slsDetectorData *d, double xt=0.0004) : ghostSummation(d, xt) {} virtual void calcGhost(char *data){ for (int iy=0; iy<200; iy++){ diff --git a/slsDetectorCalibration/moenchExecutables/moenchPhotonCounter.cpp b/slsDetectorCalibration/moenchExecutables/moenchPhotonCounter.cpp index 8c8c82b20..b371f8be3 100644 --- a/slsDetectorCalibration/moenchExecutables/moenchPhotonCounter.cpp +++ b/slsDetectorCalibration/moenchExecutables/moenchPhotonCounter.cpp @@ -93,7 +93,7 @@ int main(int argc, char *argv[]) { decoder->getDetectorSize(nx,ny); int ncol_cm=20; - double xt_ghost=0.00045; + double xt_ghost=0.0004; moench03CommonMode *cm=NULL; moench03GhostSummation *gs; double *gainmap=NULL;