Support providing trimming energies

This commit is contained in:
2026-06-23 16:26:15 +02:00
committed by leonarski_f
parent e3bd1a3529
commit 8eee3dc785
4 changed files with 22 additions and 2 deletions
+10
View File
@@ -2,6 +2,7 @@
// SPDX-License-Identifier: GPL-3.0-only
#include <filesystem>
#include <utility>
#include "DetectorSetup.h"
#include "JFJochException.h"
@@ -449,3 +450,12 @@ DetectorSetup &DetectorSetup::TempThreshold_degC(int64_t input) {
temperature_thresold_degC = static_cast<int32_t>(input);
return *this;
}
DetectorSetup &DetectorSetup::TrimEnergies_eV(std::vector<int> input) {
trim_energy_eV_values = std::move(input);
return *this;
}
std::vector<int> DetectorSetup::GetTrimEnergies_eV() const {
return trim_energy_eV_values;
}