some modifications

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorCalibration@29 113b152e-814d-439b-b186-022a431db7b5
This commit is contained in:
l_msdetect
2014-02-03 12:48:57 +00:00
parent d9a5e7e2a5
commit fea8670994
4 changed files with 117 additions and 27 deletions

View File

@ -191,6 +191,7 @@ class singlePhotonDetector {
if (cm==0) {
// cout << "=" << endl;
addToPedestal(det->getValue(data, ix, iy),ix,iy);
cluster->set_data(dataSign*(det->getValue(data, ix, iy)-getPedestal(ix,iy,cm)), 0,0 );
// cout << "=" << endl;
}
return UNDEFINED;