mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-14 13:57:13 +02:00
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:
@ -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) {
|
int multiSlsDetector::writeDataFile(string fname, float *data, float *err, float *ang, char dataformat, int nch) {
|
||||||
|
|
||||||
#ifdef VERBOSE
|
#ifdef VERBOSE
|
||||||
|
@ -886,14 +886,6 @@ class multiSlsDetector : public slsDetectorUtils {
|
|||||||
*/
|
*/
|
||||||
int loadImageToDetector(imageType index,string const fname);
|
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
|
sets the value of s angular conversion parameter
|
||||||
\param c can be ANGULAR_DIRECTION, GLOBAL_OFFSET, FINE_OFFSET, BIN_SIZE
|
\param c can be ANGULAR_DIRECTION, GLOBAL_OFFSET, FINE_OFFSET, BIN_SIZE
|
||||||
|
Reference in New Issue
Block a user