mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-11 12:27:14 +02:00
slsDetectorUsers inherited by all classes i.e. API ready for EPICS driver
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@187 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
@ -1608,13 +1608,15 @@ int multiSlsDetector::setFlatFieldCorrection(string fname){
|
||||
int badlist[MAX_BADCHANS];
|
||||
int im=0;
|
||||
|
||||
|
||||
if (fname=="default") {
|
||||
fname=string(thisMultiDetector->flatFieldFile);
|
||||
}
|
||||
if (fname=="") {
|
||||
#ifdef VERBOSE
|
||||
std::cout<< "disabling flat field correction" << std::endl;
|
||||
#endif
|
||||
thisMultiDetector->correctionMask&=~(1<<FLAT_FIELD_CORRECTION);
|
||||
strcpy(thisMultiDetector->flatFieldFile,"none");
|
||||
// strcpy(thisMultiDetector->flatFieldFile,"none");
|
||||
for (int i=0; i<thisMultiDetector->numberOfDetectors; i++) {
|
||||
if (detectors[i])
|
||||
detectors[i]->setFlatFieldCorrection(NULL, NULL);
|
||||
|
@ -265,7 +265,9 @@ class multiSlsDetector : public slsDetectorUtils {
|
||||
|
||||
|
||||
string getHostname(int pos=-1);
|
||||
using slsDetectorBase::getDetectorType;
|
||||
|
||||
string getDetectorType(){return sgetDetectorsType();};
|
||||
|
||||
detectorType getDetectorsType(int pos=-1);
|
||||
detectorType setDetectorsType(detectorType type=GET_DETECTOR_TYPE, int pos=-1){addSlsDetector(type, pos); return getDetectorsType(pos);};
|
||||
|
Reference in New Issue
Block a user