mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-13 13:27:14 +02:00
better name
This commit is contained in:
@ -442,18 +442,18 @@ void slsReceiverImplementation::setDetectorHostname(const char *c){
|
|||||||
|
|
||||||
void slsReceiverImplementation::setMultiDetectorSize(const int* size) {
|
void slsReceiverImplementation::setMultiDetectorSize(const int* size) {
|
||||||
FILE_LOG(logDEBUG) << __AT__ << " starting";
|
FILE_LOG(logDEBUG) << __AT__ << " starting";
|
||||||
std::string message = "Detector Size: (";
|
std::string log_message = "Detector Size: (";
|
||||||
for (int i = 0; i < MAX_DIMENSIONS; ++i) {
|
for (int i = 0; i < MAX_DIMENSIONS; ++i) {
|
||||||
if (myDetectorType == EIGER && (!i))
|
if (myDetectorType == EIGER && (!i))
|
||||||
numDet[i] = size[i]*2;
|
numDet[i] = size[i]*2;
|
||||||
else
|
else
|
||||||
numDet[i] = size[i];
|
numDet[i] = size[i];
|
||||||
message += std::to_string(numDet[i]);
|
log_message += std::to_string(numDet[i]);
|
||||||
if (i < MAX_DIMENSIONS-1 )
|
if (i < MAX_DIMENSIONS-1 )
|
||||||
message += ", ";
|
log_message += ", ";
|
||||||
}
|
}
|
||||||
message += ")";
|
log_message += ")";
|
||||||
FILE_LOG(logINFO) << message;
|
FILE_LOG(logINFO) << log_message;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user