Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Corryvreckan
Corryvreckan
Commits
fd40db9b
Commit
fd40db9b
authored
Mar 29, 2021
by
Simon Spannagel
Committed by
Lennart Huth
Apr 23, 2021
Browse files
Don't be too harsh
parent
b13694e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/modules/EventDefinitionM26/EventDefinitionM26.cpp
View file @
fd40db9b
...
...
@@ -194,8 +194,10 @@ StatusCode EventDefinitionM26::run(const std::shared_ptr<Clipboard>& clipboard)
if
(
time_trig
-
time_prev_
>
0
)
{
// M26 frames need to have a distance of at least one frame length!
if
(
time_trig
-
time_prev_
<
115000
)
{
throw
ModuleError
(
"M26 triggers too close together to fit M26 frame, dt = "
+
Units
::
display
(
time_trig
-
time_prev_
,
"us"
));
LOG
(
ERROR
)
<<
"M26 triggers too close together to fit M26 frame, dt = "
+
Units
::
display
(
time_trig
-
time_prev_
,
"us"
)
<<
std
::
endl
<<
"Check if a shift of trigger IDs is required."
;
}
timebetweenMimosaEvents_
->
Fill
(
static_cast
<
double
>
(
Units
::
convert
(
time_trig
-
time_prev_
,
"us"
)));
...
...
Write
Preview
Markdown
is supported
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