Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Corryvreckan
Corryvreckan
Commits
f8907d22
Commit
f8907d22
authored
Jul 01, 2021
by
Lennart Huth
Browse files
codespell and pipeline fixes
parent
e7782f01
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/modules/EventDefinitionM26/EventDefinitionM26.cpp
View file @
f8907d22
...
...
@@ -199,7 +199,7 @@ StatusCode EventDefinitionM26::run(const std::shared_ptr<Clipboard>& clipboard)
<<
std
::
endl
<<
"Check if a shift of trigger IDs is required."
;
}
// If we strech the event over three frames and add a trigger, we need a larger distance
// If we stre
t
ch the event over three frames and add a trigger, we need a larger distance
if
((
time_trig
-
time_prev_
<
345600
)
&&
add_trigger_
)
{
triggerTLU_
--
;
LOG
(
DEBUG
)
...
...
@@ -231,7 +231,7 @@ StatusCode EventDefinitionM26::run(const std::shared_ptr<Clipboard>& clipboard)
clipboard
->
putEvent
(
std
::
make_shared
<
Event
>
(
evtStart
,
evtEnd
));
if
(
add_trigger_
)
{
clipboard
->
getEvent
()
->
addTrigger
(
triggerTLU_
,
time_trig
);
clipboard
->
getEvent
()
->
addTrigger
(
triggerTLU_
,
static_cast
<
double
>
(
time_trig
)
)
;
}
LOG
(
DEBUG
)
<<
"Defining Corryvreckan event: "
<<
Units
::
display
(
evtStart
,
{
"us"
,
"ns"
})
<<
" - "
<<
Units
::
display
(
evtEnd
,
{
"us"
,
"ns"
})
<<
", length "
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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