Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Corryvreckan
Corryvreckan
Commits
c752c056
Commit
c752c056
authored
Mar 11, 2020
by
Simon Spannagel
Committed by
Jens Kroeger
Apr 02, 2020
Browse files
Detector: make calibration_file optional
(cherry picked from commit
08f6457e
)
parent
cb4636bb
Changes
1
Show whitespace changes
Inline
Side-by-side
src/core/detector/Detector.cpp
View file @
c752c056
...
@@ -112,7 +112,9 @@ Detector::Detector(const Configuration& config) : m_role(DetectorRole::NONE) {
...
@@ -112,7 +112,9 @@ Detector::Detector(const Configuration& config) : m_role(DetectorRole::NONE) {
LOG
(
TRACE
)
<<
" Time resolution: "
<<
Units
::
display
(
m_timeResolution
,
{
"ms"
,
"us"
});
LOG
(
TRACE
)
<<
" Time resolution: "
<<
Units
::
display
(
m_timeResolution
,
{
"ms"
,
"us"
});
}
}
if
(
config
.
has
(
"calibration_file"
))
{
m_calibrationfile
=
config
.
getPath
(
"calibration_file"
);
m_calibrationfile
=
config
.
getPath
(
"calibration_file"
);
}
if
(
!
isAuxiliary
())
{
if
(
!
isAuxiliary
())
{
if
(
config
.
has
(
"mask_file"
))
{
if
(
config
.
has
(
"mask_file"
))
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment