@@ -98,34 +98,7 @@ PYBIND11_MODULE(ActsExamplesPythonBindingsRoot, root) {
9898
9999 // Output
100100 {
101- // Bindings for axis variant used in PlotTool configurations
102101 {
103- py::class_<Acts::Experimental::AxisVariant>(root, " AxisVariant" )
104- .def_static (
105- " regular" ,
106- [](unsigned bins, double low, double high,
107- const std::string& title) {
108- return Acts::Experimental::AxisVariant (
109- Acts::Experimental::BoostRegularAxis (bins, low, high,
110- title));
111- },
112- " bins" _a, " low" _a, " high" _a, " title" _a = " " )
113- .def_static (
114- " log" ,
115- [](unsigned bins, double low, double high,
116- const std::string& title) {
117- return Acts::Experimental::AxisVariant (
118- Acts::Experimental::BoostLogAxis (bins, low, high, title));
119- },
120- " bins" _a, " low" _a, " high" _a, " title" _a = " " )
121- .def_static (
122- " variable" ,
123- [](const std::vector<double >& edges, const std::string& title) {
124- return Acts::Experimental::AxisVariant (
125- Acts::Experimental::BoostVariableAxis (edges, title));
126- },
127- " edges" _a, " title" _a = " " );
128-
129102 py::class_<EffPlotTool::Config>(root, " EffPlotToolConfig" )
130103 .def (py::init<>())
131104 .def_readwrite (" varBinning" , &EffPlotTool::Config::varBinning)
0 commit comments