mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-16 08:39:21 +01:00
minor changes
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@41 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
@@ -141,7 +141,7 @@ int multiSlsDetector::setTCPSocket(int i, string const name, int const control_p
|
||||
|
||||
char* multiSlsDetector::getHostname(int i) {
|
||||
if (i<0)
|
||||
return FAIL;
|
||||
return NULL;
|
||||
if (detectors[i])
|
||||
return detectors[i]->getHostname();
|
||||
else
|
||||
@@ -175,9 +175,6 @@ int multiSlsDetector::getControlPort(int i) {
|
||||
|
||||
int multiSlsDetector::getDataPort(int i) {
|
||||
|
||||
|
||||
|
||||
|
||||
int imin=0, imax=nDetectors;
|
||||
int ret=-1, err=0;
|
||||
if (i>=0) {
|
||||
|
||||
@@ -172,9 +172,9 @@ class multiSlsDetector : public slsDetector {
|
||||
|
||||
/* I/O */
|
||||
/** returns the detector trimbit directory \sa sharedSlsDetector */
|
||||
char* getTrimDir(int i=-1);
|
||||
char* getSettingsDir(int i=-1);
|
||||
/** sets the detector trimbit directory \sa sharedSlsDetector */
|
||||
char* setTrimDir(string s, int i=-1);
|
||||
char* setSettingsDir(string s, int i=-1);
|
||||
/** returns the number of trim energies and their value \sa sharedSlsDetector
|
||||
\param point to the array that will contain the trim energies (in ev)
|
||||
\returns number of trim energies
|
||||
|
||||
Reference in New Issue
Block a user