mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-11 04:17:15 +02:00
vetoalg added hits and raw
This commit is contained in:
@ -2448,10 +2448,15 @@ class Detector(CppDetectorApi):
|
||||
|
||||
@property
|
||||
def vetoalg(self):
|
||||
"""[Gotthard2] Algorithm used for veto
|
||||
"""[Gotthard2] Algorithm used for veto. Enum: vetoAlgorithm, streamingInterface
|
||||
Note
|
||||
----
|
||||
Options:
|
||||
(vetoAlgorithm): ALG_HITS, ALG_RAW
|
||||
(streamingInterface): ETHERNET_10GB, LOW_LATENCY_LINK
|
||||
Example
|
||||
----------
|
||||
>>> d.vetoalg = defs.DEFAULT_ALGORITHM, defs.ETHERNET_10GB
|
||||
>>> d.vetoalg = defs.ALG_HITS, defs.ETHERNET_10GB
|
||||
"""
|
||||
result = {}
|
||||
interface = [streamingInterface.LOW_LATENCY_LINK, streamingInterface.ETHERNET_10GB]
|
||||
|
@ -303,8 +303,8 @@ void init_enums(py::module &m) {
|
||||
&operator&));
|
||||
|
||||
py::enum_<slsDetectorDefs::vetoAlgorithm>(Defs, "vetoAlgorithm")
|
||||
.value("DEFAULT_ALGORITHM",
|
||||
slsDetectorDefs::vetoAlgorithm::DEFAULT_ALGORITHM)
|
||||
.value("ALG_HITS", slsDetectorDefs::vetoAlgorithm::ALG_HITS)
|
||||
.value("ALG_RAW", slsDetectorDefs::vetoAlgorithm::ALG_RAW)
|
||||
.export_values();
|
||||
|
||||
py::enum_<slsDetectorDefs::gainMode>(Defs, "gainMode")
|
||||
|
Reference in New Issue
Block a user