mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-11-18 17:24:04 +01:00
support for scoped enums and operators in Python
This commit is contained in:
1 parent
1b348f9b3a
commit
09391b767a
9 files changed
+138
-21
No files matched your search
@@ -2332,6 +2332,18 @@ class Detector(CppDetectorApi):
|
||||
ut.set_using_dict(self.setVetoReference, *args)
|
||||
|
||||
|
||||
@property
|
||||
@element
|
||||
def vetostream(self):
|
||||
return self.getVetoStream()
|
||||
|
||||
@vetostream.setter
|
||||
def vetostream(self, args):
|
||||
if not isinstance(args, tuple):
|
||||
args = (args,)
|
||||
ut.set_using_dict(self.setVetoStream, *args)
|
||||
|
||||
|
||||
"""
|
||||
Mythen3 specific
|
||||
"""
|
||||
|
||||
Reference in new issue
Block a user