Go to the source code of this file.
#define FWCore_PythonFramework_PythonModule_h |
PYBIND11_MODULE |
( |
libFWCorePythonFramework |
, |
|
|
m |
|
|
) |
| |
Definition at line 21 of file PythonModule.cc.
References def, MillePedeFileConverter_cfg::e, funct::m, AlCaHLTBitMon_ParallelJobs::p, PythonEventProcessor::run(), PythonEventProcessor::totalEvents(), PythonEventProcessor::totalEventsFailed(), PythonEventProcessor::totalEventsPassed(), and cms::Exception::what().
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 &>())
char const * what() const override
int totalEventsPassed() const
int totalEventsFailed() const