Go to the source code of this file.
◆ FWCore_PythonFramework_PythonModule_h
#define FWCore_PythonFramework_PythonModule_h |
◆ PYBIND11_MODULE()
PYBIND11_MODULE |
( |
libFWCorePythonFramework |
, |
|
|
m |
|
|
) |
| |
Definition at line 21 of file PythonModule.cc.
References spu::def(), MillePedeFileConverter_cfg::e, visualization-live-secondInstance_cfg::m, AlCaHLTBitMon_ParallelJobs::p, PythonEventProcessor::run(), PythonEventProcessor::totalEvents(), PythonEventProcessor::totalEventsFailed(), and PythonEventProcessor::totalEventsPassed().
22 pybind11::register_exception_translator([](std::exception_ptr
p) {
25 std::rethrow_exception(
p);
27 PyErr_SetString(PyExc_RuntimeError,
e.what());
31 pybind11::class_<PythonEventProcessor>(
m,
"PythonEventProcessor")
32 .
def(pybind11::init<PyBind11ProcessDesc const &>())
int def(FILE *, FILE *, int)
int totalEventsPassed() const
int totalEventsFailed() const