Support providing trimming energies
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user