mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-19 00:07:13 +02:00
some debugging of the post processing funcs
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@698 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
@ -2821,13 +2821,13 @@ int multiSlsDetector::getBadChannelCorrection(int *bad) {
|
||||
|
||||
if (((thisMultiDetector->correctionMask)&(1<< DISCARD_BAD_CHANNELS))==0)
|
||||
return 0;
|
||||
else
|
||||
cout << "bad chans corr enabled "<< thisMultiDetector->correctionMask << endl;
|
||||
//else
|
||||
// cout << "bad chans corr enabled "<< thisMultiDetector->correctionMask << endl;
|
||||
|
||||
for (int idet=0; idet<thisMultiDetector->numberOfDetectors; idet++) {
|
||||
if (detectors[idet]) {
|
||||
nd=detectors[idet]->getBadChannelCorrection();
|
||||
cout << "det " << idet << " nbad " << nd << endl;
|
||||
// cout << "det " << idet << " nbad " << nd << endl;
|
||||
if (nd>0) {
|
||||
bd = new int[nd];
|
||||
nd=detectors[idet]->getBadChannelCorrection(bd);
|
||||
|
Reference in New Issue
Block a user