mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-12-28 15:11:18 +01:00
veotalg for g2
This commit is contained in:
@@ -1878,15 +1878,17 @@ void Module::setVetoStream(const bool value) {
|
||||
sendToDetector(F_SET_VETO_STREAM, static_cast<int>(value), nullptr);
|
||||
}
|
||||
|
||||
slsDetectorDefs::vetoAlgorithm
|
||||
Module::getVetoAlgorithm(const slsDetectorDefs::ethernetInterface) const {
|
||||
return alg_;
|
||||
slsDetectorDefs::vetoAlgorithm Module::getVetoAlgorithm(
|
||||
const slsDetectorDefs::ethernetInterface interface) const {
|
||||
return sendToDetector<vetoAlgorithm>(F_GET_VETO_ALGORITHM,
|
||||
static_cast<int>(interface));
|
||||
}
|
||||
|
||||
void Module::setVetoAlgorithm(
|
||||
const slsDetectorDefs::vetoAlgorithm alg,
|
||||
const slsDetectorDefs::ethernetInterface interface) {
|
||||
alg_ = alg;
|
||||
int args[]{static_cast<int>(alg), static_cast<int>(interface)};
|
||||
sendToDetector(F_SET_VETO_ALGORITHM, args, nullptr);
|
||||
}
|
||||
|
||||
int Module::getADCConfiguration(const int chipIndex, const int adcIndex) const {
|
||||
|
||||
Reference in New Issue
Block a user