moved testfunction to slsDetectorUtils

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@155 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
l_maliakal_d
2012-03-19 14:50:44 +00:00
parent aae550b997
commit bc8b0860b4
2 changed files with 0 additions and 25 deletions

View File

@ -3218,23 +3218,6 @@ int multiSlsDetector::retrieveDetectorSetup(string const fname1, int level){
int multiSlsDetector::testFunction(int times) {
int ret=-100, ret1;
for (int idet=0; idet<thisMultiDetector->numberOfDetectors; idet++) {
if (detectors[idet]) {
ret1=detectors[idet]->testFunction(times);
if (ret==-100)
ret=ret1;
else if (ret!=ret1)
ret=-1;
}
}
return ret;
}
int multiSlsDetector::writeDataFile(string fname, float *data, float *err, float *ang, char dataformat, int nch) {
#ifdef VERBOSE

View File

@ -886,14 +886,6 @@ class multiSlsDetector : public slsDetectorUtils {
*/
int loadImageToDetector(imageType index,string const fname);
/**
Test function
\param times number of repetitions
\returns repetition when it fails
*/
int testFunction(int times=0);
/**
sets the value of s angular conversion parameter
\param c can be ANGULAR_DIRECTION, GLOBAL_OFFSET, FINE_OFFSET, BIN_SIZE