jf: timing info decoder (#987)

* timing_info_decoder command with options swissfel (default) and shine. added to python, command line generation, autocomplete, tostring, tests.
This commit is contained in:
2024-10-01 11:17:35 +02:00
committed by GitHub
parent 8a7ed30676
commit f43bb8eea4
33 changed files with 23282 additions and 20749 deletions

View File

@ -1940,6 +1940,14 @@ void Module::setPedestalMode(const defs::pedestalParameters par) {
}
}
defs::timingInfoDecoder Module::getTimingInfoDecoder() const {
return sendToDetector<defs::timingInfoDecoder>(F_GET_TIMING_INFO_DECODER);
}
void Module::setTimingInfoDecoder(const defs::timingInfoDecoder value) {
sendToDetector(F_SET_TIMING_INFO_DECODER, static_cast<int>(value), nullptr);
}
defs::collectionMode Module::getCollectionMode() const {
return sendToDetector<defs::collectionMode>(F_GET_COLLECTION_MODE);
}