mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-07 18:40:42 +02:00
some indentation in writing config file
This commit is contained in:
parent
d00c837977
commit
ce1ec97571
@ -4949,6 +4949,7 @@ int multiSlsDetector::writeConfigurationFile(string const fname){
|
|||||||
for (int i=0; i<thisMultiDetector->numberOfDetectors; ++i) {
|
for (int i=0; i<thisMultiDetector->numberOfDetectors; ++i) {
|
||||||
// sprintf(ext,".det%d",i);
|
// sprintf(ext,".det%d",i);
|
||||||
if (detectors[i]) {
|
if (detectors[i]) {
|
||||||
|
outfile << endl;
|
||||||
ret1 = detectors[i]->writeConfigurationFile(outfile,i);
|
ret1 = detectors[i]->writeConfigurationFile(outfile,i);
|
||||||
if(detectors[i]->getErrorMask())
|
if(detectors[i]->getErrorMask())
|
||||||
setErrorMask(getErrorMask()|(1<<i));
|
setErrorMask(getErrorMask()|(1<<i));
|
||||||
@ -4957,7 +4958,7 @@ int multiSlsDetector::writeConfigurationFile(string const fname){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
outfile << endl;
|
||||||
//other configurations
|
//other configurations
|
||||||
while (iline < nvar) {
|
while (iline < nvar) {
|
||||||
cout << iline << " " << names[iline] << endl;
|
cout << iline << " " << names[iline] << endl;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user