Commit 5224afb0 authored by minime's avatar minime
Browse files

Use of broadcast in Scurve and Gain

parent 41c4e670
......@@ -151,10 +151,7 @@ void Gain::run()
// ##########################
// # Set new VCAL_MED value #
// ##########################
for(const auto cBoard: *fDetectorContainer)
for(const auto cOpticalGroup: *cBoard)
for(const auto cHybrid: *cOpticalGroup)
for(const auto cChip: *cHybrid) this->fReadoutChipInterface->WriteChipReg(static_cast<RD53*>(cChip), "VCAL_MED", offset, true);
for(const auto cBoard: *fDetectorContainer) this->fReadoutChipInterface->WriteBoardBroadcastChipReg(cBoard, "VCAL_MED", offset);
for(auto container: detectorContainerVector) theRecyclingBin.free(container);
detectorContainerVector.clear();
......
......@@ -151,10 +151,7 @@ void SCurve::run()
// ##########################
// # Set new VCAL_MED value #
// ##########################
for(const auto cBoard: *fDetectorContainer)
for(const auto cOpticalGroup: *cBoard)
for(const auto cHybrid: *cOpticalGroup)
for(const auto cChip: *cHybrid) this->fReadoutChipInterface->WriteChipReg(static_cast<RD53*>(cChip), "VCAL_MED", offset, true);
for(const auto cBoard: *fDetectorContainer) this->fReadoutChipInterface->WriteBoardBroadcastChipReg(cBoard, "VCAL_MED", offset);
for(auto container: detectorContainerVector) theRecyclingBin.free(container);
detectorContainerVector.clear();
......
Supports Markdown
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