Skip to content
Snippets Groups Projects
Commit c752c056 authored by Simon Spannagel's avatar Simon Spannagel Committed by Jens Kroeger
Browse files

Detector: make calibration_file optional

(cherry picked from commit 08f6457e)
parent cb4636bb
No related branches found
No related tags found
No related merge requests found
......@@ -112,7 +112,9 @@ Detector::Detector(const Configuration& config) : m_role(DetectorRole::NONE) {
LOG(TRACE) << " Time resolution: " << Units::display(m_timeResolution, {"ms", "us"});
}
m_calibrationfile = config.getPath("calibration_file");
if(config.has("calibration_file")) {
m_calibrationfile = config.getPath("calibration_file");
}
if(!isAuxiliary()) {
if(config.has("mask_file")) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment