Improvements before MAX IV test
This commit is contained in:
@@ -176,7 +176,7 @@ void StrongPixelSet::ReadFPGAOutput(const DiffractionExperiment & experiment,
|
||||
for (int j = 0; j < 32; j++) {
|
||||
if (bitset.test(j)) {
|
||||
size_t col = (npixel | j) % RAW_MODULE_COLS;
|
||||
AddStrongPixel(col, line, output.pixels[npixel]);
|
||||
AddStrongPixel(col, line, output.pixels[npixel | j]);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -192,7 +192,7 @@ void StrongPixelSet::ReadFPGAOutput(const DiffractionExperiment & experiment,
|
||||
for (int j = 0; j < 32; j++) {
|
||||
if (bitset.test(j)) {
|
||||
size_t col = (npixel | j) % RAW_MODULE_COLS;
|
||||
AddStrongPixel(col, line, ((int32_t *) output.pixels)[npixel]);
|
||||
AddStrongPixel(col, line, ((int32_t *) output.pixels)[npixel | j]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user