mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-02-16 12:38:40 +01:00
ratecorrectiosn addded to master file
This commit is contained in:
@@ -47,6 +47,7 @@ void Implementation::DeleteMembers() {
|
||||
fifo.clear();
|
||||
eth.clear();
|
||||
udpPortNum.clear();
|
||||
rateCorrections.clear();
|
||||
ctbDbitList.clear();
|
||||
}
|
||||
|
||||
@@ -946,6 +947,7 @@ void Implementation::SetupWriter() {
|
||||
masterAttributes->subExptime = std::chrono::nanoseconds(subExpTime);
|
||||
masterAttributes->subPeriod = std::chrono::nanoseconds(subPeriod);
|
||||
masterAttributes->quad = quadEnable;
|
||||
masterAttributes->ratecorr = rateCorrections;
|
||||
masterAttributes->adcmask =
|
||||
tengigaEnable ? adcEnableMaskTenGiga : adcEnableMaskOneGiga;
|
||||
masterAttributes->analog =
|
||||
@@ -1798,6 +1800,11 @@ void Implementation::setReadNLines(const int value) {
|
||||
LOG(logINFO) << "Number of Lines to readout: " << numLinesReadout;
|
||||
}
|
||||
|
||||
void Implementation::setRateCorrections(const std::vector<int64_t> &t) {
|
||||
rateCorrections = t;
|
||||
LOG(logINFO) << "Rate Corrections: " << sls::ToString(rateCorrections);
|
||||
}
|
||||
|
||||
slsDetectorDefs::readoutMode Implementation::getReadoutMode() const {
|
||||
LOG(logDEBUG3) << __SHORT_AT__ << " called";
|
||||
return readoutType;
|
||||
|
||||
Reference in New Issue
Block a user