Commit d9f48d74 authored by Simon Spannagel's avatar Simon Spannagel
Browse files

CLICpix2: matrix needs no initialization

parent 9e2b4a74
Pipeline #585426 failed with stages
in 1 minute and 42 seconds
...@@ -50,13 +50,6 @@ void EventLoaderCLICpix2::initialise() { ...@@ -50,13 +50,6 @@ void EventLoaderCLICpix2::initialise() {
// Read the matrix configuration: // Read the matrix configuration:
matrix_config = clicpix2_utils::readMatrix(m_matrix); 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 no data was loaded, give a warning
if(m_filename.empty()) { if(m_filename.empty()) {
LOG(WARNING) << "No data file was found for CLICpix2 in " << inputDirectory; LOG(WARNING) << "No data file was found for CLICpix2 in " << inputDirectory;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment