change dac max values for vth values for m3 in client side (set module (#1291)

This commit is contained in:
2025-09-09 15:38:36 +02:00
committed by GitHub
parent 028bae82e9
commit c39bd98f2d

View File

@@ -3579,10 +3579,6 @@ 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;