mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-24 23:30:03 +02:00
update comment on api, move updaterxratecorrection to the right setexptime
This commit is contained in:
parent
f0d0e9ab1f
commit
28ffad223d
@ -173,6 +173,8 @@ class Detector {
|
||||
|
||||
void setNumberOfTriggers(int64_t value);
|
||||
|
||||
/** [Gotthard][Jungfrau][Eiger][CTB][Moench][Gotthard2] For Mythen3, use
|
||||
* function with gate index **/
|
||||
Result<ns> getExptime(Positions pos = {}) const;
|
||||
|
||||
void setExptime(ns t, Positions pos = {});
|
||||
|
@ -241,6 +241,7 @@ Result<ns> Detector::getExptime(Positions pos) const {
|
||||
|
||||
void Detector::setExptime(ns t, Positions pos) {
|
||||
pimpl->Parallel(&Module::setExptime, pos, -1, t.count());
|
||||
updateRxRateCorrections();
|
||||
}
|
||||
|
||||
Result<ns> Detector::getPeriod(Positions pos) const {
|
||||
@ -1432,7 +1433,6 @@ Result<ns> Detector::getExptime(int gateIndex, Positions pos) const {
|
||||
|
||||
void Detector::setExptime(int gateIndex, ns t, Positions pos) {
|
||||
pimpl->Parallel(&Module::setExptime, pos, gateIndex, t.count());
|
||||
updateRxRateCorrections();
|
||||
}
|
||||
|
||||
Result<std::array<ns, 3>> Detector::getExptimeForAllGates(Positions pos) const {
|
||||
|
Loading…
x
Reference in New Issue
Block a user