added load paramaters to detector.h

This commit is contained in:
2019-08-27 11:24:53 +02:00
parent fc0b25cfa7
commit 7abb18e5c8
4 changed files with 45 additions and 12 deletions

View File

@ -21,6 +21,10 @@ void Detector::loadConfig(const std::string &fname) {
pimpl->readConfigurationFile(fname);
}
void Detector::loadParameters(const std::string &fname) {
pimpl->retrieveDetectorSetup(fname, 0);
}
Result<std::string> Detector::getHostname(Positions pos) const {
return pimpl->Parallel(&slsDetector::getHostname, pos);
}