File indexing completed on 2025-01-18 09:12:02
0001
0002
0003
0004
0005
0006
0007
0008
0009 #include "Acts/Plugins/Python/Utilities.hpp"
0010 #include "ActsExamples/Geant4HepMC/EventRecording.hpp"
0011
0012 #include <pybind11/pybind11.h>
0013 #include <pybind11/stl.h>
0014
0015 namespace py = pybind11;
0016 using namespace pybind11::literals;
0017
0018 using namespace Acts;
0019 using namespace ActsExamples;
0020
0021 namespace Acts::Python {
0022 void addGeant4HepMC3(Context& ctx) {
0023 auto m = ctx.get("geant4");
0024
0025 auto h3 = m.def_submodule("hepmc3");
0026
0027 ACTS_PYTHON_DECLARE_ALGORITHM(
0028 EventRecording, h3, "EventRecording", inputParticles, outputHepMcTracks,
0029 detector, seed1, seed2, processesCombine, processSelect, processesReject);
0030 }
0031
0032 }