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