22 #include <pybind11/pybind11.h>
23 #include <pybind11/stl.h>
25 namespace py = pybind11;
27 using namespace ActsExamples;
30 namespace Acts::Python {
33 auto [
m, mex] = ctx.
get(
"main",
"examples");
42 emEnergyLossRadiation, emPhotonConversion, generateHitsOnSensitive,
43 generateHitsOnMaterial, generateHitsOnPassive, averageHitsPerParticle);
54 "TrackParametersPrinter", inputTrackParameters);
60 auto alg = py::class_<Alg, IAlgorithm, std::shared_ptr<Alg>>(
61 mex,
"TrackSelectorAlgorithm")
62 .def(py::init<const Alg::Config&, Acts::Logging::Level>(),
63 py::arg(
"config"), py::arg(
"level"))
66 auto c = py::class_<Config>(alg,
"Config").def(py::init<>());
79 auto tool = py::class_<Acts::TrackSelector>(
m,
"TrackSelector")
80 .def(py::init<const Config&>(), py::arg(
"config"))
81 .def(py::init<const EtaBinnedConfig&>(), py::arg(
"config"));
84 auto c = py::class_<Config>(tool,
"Config").def(py::init<>());
116 auto c = py::class_<EtaBinnedConfig>(tool,
"EtaBinnedConfig")
118 .def(py::init<const Config&>());