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
797e8fea
Commit
797e8fea
authored
Apr 11, 2018
by
Simon Spannagel
Browse files
CLicpix2: don't set ToT to -1
parent
14fa6bfb
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/algorithms/Clicpix2EventLoader/Clicpix2EventLoader.cpp
View file @
797e8fea
...
...
@@ -201,13 +201,15 @@ StatusCode Clicpix2EventLoader::run(Clipboard* clipboard) {
}
// Disentangle data types from pixel:
int
tot
=
-
1
,
toa
=
-
1
,
cnt
=
-
1
;
int
tot
,
toa
=
-
1
,
cnt
=
-
1
;
// ToT will throw if longcounter is enabled:
try
{
tot
=
cp2_pixel
->
GetTOT
();
hPixelToT
->
Fill
(
tot
);
}
catch
(
caribou
::
WrongDataFormat
&
)
{
// Set ToT to one of not defined.
tot
=
1
;
}
// Decide whether information is counter of ToA
...
...
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