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
a4be26ad
Commit
a4be26ad
authored
May 06, 2019
by
Jens Kroeger
Browse files
EventLoaderEUDAQ2: improved DEBUG messages
parent
905c8987
Pipeline
#842849
failed with stages
in 4 minutes and 2 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/modules/EventLoaderEUDAQ2/EventLoaderEUDAQ2.cpp
View file @
a4be26ad
...
...
@@ -188,9 +188,11 @@ void EventLoaderEUDAQ2::store_data(std::shared_ptr<Clipboard> clipboard, std::sh
// Concatenate plane name according to naming convention: sensor_type + "_" + int
auto
plane_name
=
plane
.
Sensor
()
+
"_"
+
std
::
to_string
(
i_plane
);
if
(
m_detector
->
name
()
!=
plane_name
)
{
LOG
(
DEBUG
)
<<
"Wrong plane: "
<<
m_detector
->
name
()
<<
"!="
<<
plane_name
<<
". Continue."
;
continue
;
}
LOG
(
DEBUG
)
<<
"Found correct plane."
;
// Loop over all hits and add to pixels vector:
for
(
unsigned
int
i
=
0
;
i
<
plane
.
GetPixels
<
int
>
().
size
();
i
++
)
{
auto
col
=
static_cast
<
int
>
(
plane
.
GetX
(
i
));
...
...
@@ -198,7 +200,7 @@ void EventLoaderEUDAQ2::store_data(std::shared_ptr<Clipboard> clipboard, std::sh
auto
raw
=
static_cast
<
int
>
(
plane
.
GetPixel
(
i
));
// generic pixel raw value (could be ToT, ADC, ...)
auto
ts
=
plane
.
GetTimestamp
(
i
);
LOG
(
DEBUG
)
<<
"
col
"
<<
col
<<
", row
"
<<
row
;
LOG
(
DEBUG
)
<<
"
Read pixel (col, row) = (
"
<<
col
<<
",
"
<<
row
<<
" from EUDAQ2 event data (before masking)."
;
if
(
m_detector
->
masked
(
col
,
row
))
{
continue
;
}
...
...
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