adding conf gain member to sls detector and change a bit in setSettings to read this back

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@60 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
l_maliakal_d
2011-11-22 17:55:17 +00:00
parent 7de31bbe93
commit 9f85175dce
4 changed files with 50 additions and 40 deletions

View File

@ -402,7 +402,7 @@ int gotthardDetector::retrieveDetectorSetup(string fname1, int level){
idac++;
}
//---------------config---------------
//---------------gain---------------
getline(infile,str);
iline++;
#ifdef VERBOSE
@ -413,7 +413,7 @@ int gotthardDetector::retrieveDetectorSetup(string fname1, int level){
#ifdef VERBOSE
std::cout<< sargname << " is " << ival << std::endl;
#endif
int configval = ival;//myMod->dacs[idac]=ival;
thisDetector->confGain = ival;
//---------------mac address----------
getline(infile,str);