mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-11-18 17:24:04 +01:00
added generated files
This commit is contained in:
1 parent
f131777610
commit
5e20da2633
3 files changed
+13
-4
No files matched your search
@@ -75,10 +75,18 @@ void init_enums(py::module &m) {
|
||||
py::enum_<slsDetectorDefs::fileFormat>(Defs, "fileFormat")
|
||||
.value("BINARY", slsDetectorDefs::fileFormat::BINARY)
|
||||
.value("HDF5", slsDetectorDefs::fileFormat::HDF5)
|
||||
.value("ROOT", slsDetectorDefs::fileFormat::ROOT)
|
||||
.value("NUM_FILE_FORMATS",
|
||||
slsDetectorDefs::fileFormat::NUM_FILE_FORMATS)
|
||||
.export_values();
|
||||
|
||||
py::enum_<slsDetectorDefs::rootImageType>(Defs, "rootImageType")
|
||||
.value("ROOT_TTREE", slsDetectorDefs::rootImageType::ROOT_TTREE)
|
||||
.value("ROOT_TH2I", slsDetectorDefs::rootImageType::ROOT_TH2I)
|
||||
.value("NUM_ROOT_IMAGE_TYPES",
|
||||
slsDetectorDefs::rootImageType::NUM_ROOT_IMAGE_TYPES)
|
||||
.export_values();
|
||||
|
||||
py::enum_<slsDetectorDefs::externalSignalFlag>(Defs, "externalSignalFlag")
|
||||
.value("TRIGGER_IN_RISING_EDGE",
|
||||
slsDetectorDefs::externalSignalFlag::TRIGGER_IN_RISING_EDGE)
|
||||
|
||||
@@ -3538,8 +3538,9 @@ fformat:
|
||||
store_result_in_t: false
|
||||
command_name: fformat
|
||||
function_alias: fformat
|
||||
help: "[binary|hdf5]\n\tFile format of data file. For HDF5, package must be compiled\
|
||||
\ with HDF5 flags. Default is binary."
|
||||
help: "[binary|hdf5|root]\n\tFile format of data file. For HDF5, package must be\
|
||||
\ compiled with HDF5 flags. For ROOT, package must be compiled with ROOT flags.\
|
||||
\ Default is binary."
|
||||
infer_action: true
|
||||
template: true
|
||||
fformatoptions:
|
||||
|
||||
@@ -4063,8 +4063,8 @@ std::string Caller::fformat(int action) {
|
||||
std::ostringstream os;
|
||||
// print help
|
||||
if (action == slsDetectorDefs::HELP_ACTION) {
|
||||
os << R"V0G0N([binary|hdf5]
|
||||
File format of data file. For HDF5, package must be compiled with HDF5 flags. Default is binary. )V0G0N"
|
||||
os << R"V0G0N([binary|hdf5|root]
|
||||
File format of data file. For HDF5, package must be compiled with HDF5 flags. For ROOT, package must be compiled with ROOT flags. Default is binary. )V0G0N"
|
||||
<< std::endl;
|
||||
return os.str();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user