mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-18 00:21:33 +01:00
added load paramaters to detector.h
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user