Skip to content
Snippets Groups Projects
Commit e271164f authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Fix signature

parent dd4cf40d
No related branches found
No related tags found
No related merge requests found
......@@ -7,11 +7,8 @@ namespace py = pybind11;
PYBIND11_MODULE(npe, m) {
m.doc() = "NPE utilities";
py::class_<JMuonNPE_t>(m, "JMuonNPE")
.def(py::init<const std::string &, double, int, double>(),
py::arg("file_descriptor"),
py::arg("TTS"),
py::arg("number_of_points") = 25,
py::arg("epsilon") = 1e-10)
.def(py::init<const std::string &>(),
py::arg("file_descriptor"))
.def("calculate", &JMuonNPE_t::calculate,
py::arg("E"),
py::arg("R"),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment