Commit 5c1f00a9 authored by Sarah Seif El Nasr's avatar Sarah Seif El Nasr
Browse files

Solved normalization bug in tools/RD53ThrEqualization.cc

parent 6086a8c2
...@@ -354,9 +354,6 @@ void ThrEqualization::bitWiseScanGlobal(const std::string& regName, const float& ...@@ -354,9 +354,6 @@ void ThrEqualization::bitWiseScanGlobal(const std::string& regName, const float&
// ################ // ################
PixelAlive::run(); PixelAlive::run();
auto output = PixelAlive::analyze(); auto output = PixelAlive::analyze();
output->resetNormalizationStatus();
output->normalizeAndAverageContainers(fDetectorContainer, getChannelGroupHandlerContainer(), 1);
// ############################################## // ##############################################
// # Send periodic data to monitor the progress # // # Send periodic data to monitor the progress #
// ############################################## // ##############################################
...@@ -571,6 +568,7 @@ void ThrEqualization::bitWiseScanLocal(const std::string& regName, uint32_t nEve ...@@ -571,6 +568,7 @@ void ThrEqualization::bitWiseScanLocal(const std::string& regName, uint32_t nEve
// ################### // ###################
cChip->getChannel<OccupancyAndPh>(row, col).fOccupancy = 0; cChip->getChannel<OccupancyAndPh>(row, col).fOccupancy = 0;
} }
theOccContainer.resetNormalizationStatus();
} }
// ################### // ###################
......
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