post processing debugging at the beamline

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@537 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
x04sa
2013-04-29 21:58:29 +00:00
parent 3c3ab6fc9d
commit 711cb836c0
7 changed files with 69 additions and 34 deletions

View File

@ -90,14 +90,14 @@ void postProcessing::processFrame(int *myData, int delflag) {
// fdata=NULL;
if (rawDataReady) {
//#ifdef VERBOSE
#ifdef VERBOSE
cout << "raw data ready..." << endl;
//#endif
#endif
rawDataReady(fdata,numberOfChannels, pRawDataArg);
//#ifdef VERBOSE
#ifdef VERBOSE
cout << "done" << endl;
cout << "NO FILE WRITING AND/OR DATA PROCESSING DONE BY SLS DETECTOR SOFTWARE!!!" << endl;
//#endif
#endif
} else {
@ -577,13 +577,19 @@ void postProcessing::initDataset(int r) {
#ifdef VERBOSE
cout << "chanspermod" << endl;
#endif
// mM[im]=getMoveFlag(im);
mM[im]=getMoveFlag(im);
#ifdef VERBOSE
cout << "moveflag" << endl;
cout << "moveflag" << im << " " << mM[im] << endl;
#endif
totch+=chPM[im];
}
fillModuleMask(mM);
// uncomment if to be used with antonio's funcs!!!
//fillModuleMask(mM);
#ifdef VERBOSE
cout << "total channels is " << totch << endl;
#endif
@ -634,9 +640,9 @@ void postProcessing::initDataset(int r) {
angOff[im]=p->offset;
angCenter[im]=p->center;
#ifdef VERBOSE
cout << im << " " << angCenter[im] << " " << angRad[im] << " " << angOff[im] << endl;
#endif
}