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
2a3a01ac
Commit
2a3a01ac
authored
Sep 18, 2019
by
Lennart Huth
Browse files
smarter printing, thx
@simonspa
parent
f1793985
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/modules/EventLoaderEUDAQ/EventLoaderEUDAQ.cpp
View file @
2a3a01ac
...
...
@@ -71,8 +71,8 @@ StatusCode EventLoaderEUDAQ::run(std::shared_ptr<Clipboard> clipboard) {
auto
row
=
static_cast
<
int
>
(
plane
.
GetY
(
ipix
));
if
(
col
>=
detector
->
nPixels
().
X
()
||
row
>=
detector
->
nPixels
().
Y
())
{
LOG
(
WARNING
)
<<
"Pixel address "
<<
col
<<
", "
<<
row
<<
" is outside of pixel matrix with size
(
"
<<
detector
->
nPixels
()
.
X
()
<<
", "
<<
detector
->
nPixels
().
Y
()
<<
")"
;
LOG
(
WARNING
)
<<
"Pixel address "
<<
col
<<
", "
<<
row
<<
" is outside of pixel matrix with size "
<<
detector
->
nPixels
();
}
// Check if this pixel is masked
...
...
src/modules/EventLoaderEUDAQ2/EventLoaderEUDAQ2.cpp
View file @
2a3a01ac
...
...
@@ -333,8 +333,8 @@ std::shared_ptr<PixelVector> EventLoaderEUDAQ2::get_pixel_data(std::shared_ptr<e
auto
ts
=
static_cast
<
double
>
(
plane
.
GetTimestamp
(
i
))
/
1000
+
m_detector
->
timingOffset
();
if
(
col
>=
m_detector
->
nPixels
().
X
()
||
row
>=
m_detector
->
nPixels
().
Y
())
{
LOG
(
WARNING
)
<<
"Pixel address "
<<
col
<<
", "
<<
row
<<
" is outside of pixel matrix with size
(
"
<<
m_detector
->
nPixels
()
.
X
()
<<
", "
<<
m_detector
->
nPixels
().
Y
()
<<
")"
;
LOG
(
WARNING
)
<<
"Pixel address "
<<
col
<<
", "
<<
row
<<
" is outside of pixel matrix with size "
<<
m_detector
->
nPixels
();
}
if
(
m_detector
->
masked
(
col
,
row
))
{
...
...
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