reverted back that vthreshold dacs in m3 have min and max as 200 and 2400 (#1295)
Some checks failed
Build on RHEL9 / build (push) Failing after 3m49s
Build on RHEL8 / build (push) Failing after 5m4s

This commit is contained in:
2025-09-09 17:36:46 +02:00
committed by GitHub
parent 3387e22796
commit 5eb8fa07db

View File

@@ -3579,6 +3579,10 @@ void Module::setModule(sls_detector_module &module, bool trimbits) {
for (int i = 0; i != module.ndac; ++i) {
int dacMin = 0;
int dacMax = 2800;
if (i == M_VTH1 || i == M_VTH2 || i == M_VTH3) {
dacMin = 200;
dacMax = 2400;
}
if (module.dacs[i] < dacMin) {
module.dacs[i] = dacMin;
out_of_range = true;