mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-24 07:20:01 +02:00
set settings for eiger drafts
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@812 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
parent
5ab4a88ec5
commit
83064243e1
@ -3572,7 +3572,7 @@ int multiSlsDetector::decodeNMod(int i, int &id, int &im) {
|
||||
#ifdef VERBOSE
|
||||
cout << " A---------" << id << " position " << im << endl;
|
||||
#endif
|
||||
cout<<"decodeNMod:-1"<<endl;
|
||||
|
||||
return -1;
|
||||
}
|
||||
int nm;
|
||||
@ -3585,7 +3585,6 @@ cout<<"decodeNMod:-1"<<endl;
|
||||
#ifdef VERBOSE
|
||||
cout << " B---------" <<id << " position " << im << endl;
|
||||
#endif
|
||||
cout<<"decodeNMod:"<<im<<endl;
|
||||
return im;
|
||||
} else {
|
||||
i-=nm;
|
||||
@ -3597,7 +3596,6 @@ cout<<"decodeNMod:-1"<<endl;
|
||||
#ifdef VERBOSE
|
||||
cout <<" C---------" << id << " position " << im << endl;
|
||||
#endif
|
||||
cout<<"decodeNMod:-1"<<endl;
|
||||
return -1;
|
||||
|
||||
|
||||
|
@ -2914,14 +2914,14 @@ slsDetectorDefs::detectorSettings slsDetector::setSettings( detectorSettings ise
|
||||
}
|
||||
|
||||
settingsfname=ostfn.str();
|
||||
//#ifdef VERBOSE
|
||||
#ifdef VERBOSE
|
||||
cout << "the settings file name is "<<settingsfname << endl;
|
||||
//#endif
|
||||
#endif
|
||||
if (readSettingsFile(settingsfname,thisDetector->myDetectorType, myMod)) {
|
||||
calfname=oscfn.str();
|
||||
//#ifdef VERBOSE
|
||||
#ifdef VERBOSE
|
||||
cout << calfname << endl;
|
||||
//#endif
|
||||
#endif
|
||||
readCalibrationFile(calfname,myMod->gain, myMod->offset);
|
||||
setModule(*myMod);
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user