Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-08-26 03:15:38

0001 #include "CondCore/Utilities/interface/PayloadInspector.h"
0002 #include <pybind11/pybind11.h>
0003 namespace py = pybind11;
0004 
0005 PYBIND11_MODULE(pluginModule_PayloadInspector, m) {
0006   py::class_<cond::payloadInspector::ModuleVersion>(m, "ModuleVersion")
0007       .def_readonly_static("label", &cond::payloadInspector::ModuleVersion::label);
0008   py::class_<cond::payloadInspector::PlotBase>(m, "PlotBase")
0009       .def("process", &cond::payloadInspector::PlotBase::process)
0010       .def("payloadType", &cond::payloadInspector::PlotBase::payloadType)
0011       .def("type", &cond::payloadInspector::PlotBase::type)
0012       .def("title", &cond::payloadInspector::PlotBase::title)
0013       .def("isSingleIov", &cond::payloadInspector::PlotBase::isSingleIov)
0014       .def("isTwoTags", &cond::payloadInspector::PlotBase::isTwoTags)
0015       .def("inputParams", &cond::payloadInspector::PlotBase::inputParams)
0016       .def("setInputParamValues", &cond::payloadInspector::PlotBase::setInputParamValues)
0017       .def("data", &cond::payloadInspector::PlotBase::data);
0018 }