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
d9f48d74
Commit
d9f48d74
authored
Nov 13, 2018
by
Simon Spannagel
Browse files
CLICpix2: matrix needs no initialization
parent
9e2b4a74
Pipeline
#585426
failed with stages
in 1 minute and 42 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/modules/EventLoaderCLICpix2/EventLoaderCLICpix2.cpp
View file @
d9f48d74
...
...
@@ -50,13 +50,6 @@ void EventLoaderCLICpix2::initialise() {
// Read the matrix configuration:
matrix_config
=
clicpix2_utils
::
readMatrix
(
m_matrix
);
// Make sure we initializefd all pixels:
for
(
size_t
column
=
0
;
column
<
128
;
column
++
)
{
for
(
size_t
row
=
0
;
row
<
128
;
row
++
)
{
pixelConfig
px
=
matrix_config
[
std
::
make_pair
(
row
,
column
)];
}
}
// If no data was loaded, give a warning
if
(
m_filename
.
empty
())
{
LOG
(
WARNING
)
<<
"No data file was found for CLICpix2 in "
<<
inputDirectory
;
...
...
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