Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-06-21 08:09:36

0001 // This file is part of the ACTS project.
0002 //
0003 // Copyright (C) 2016 CERN for the benefit of the ACTS project
0004 //
0005 // This Source Code Form is subject to the terms of the Mozilla Public
0006 // License, v. 2.0. If a copy of the MPL was not distributed with this
0007 // file, You can obtain one at https://mozilla.org/MPL/2.0/.
0008 
0009 #include "Acts/Plugins/Python/Utilities.hpp"
0010 #include "Acts/Utilities/Logger.hpp"
0011 #include "ActsExamples/Jets/TruthJetAlgorithm.hpp"
0012 
0013 #include <cstddef>
0014 #include <memory>
0015 
0016 #include <pybind11/pybind11.h>
0017 #include <pybind11/stl.h>
0018 
0019 namespace py = pybind11;
0020 
0021 using namespace ActsExamples;
0022 using namespace Acts;
0023 
0024 namespace Acts::Python {
0025 
0026 void addTruthJet(Context& ctx) {
0027   auto mex = ctx.get("examples");
0028 
0029   ACTS_PYTHON_DECLARE_ALGORITHM(ActsExamples::TruthJetAlgorithm, mex,
0030                                 "TruthJetAlgorithm", inputTruthParticles,
0031                                 outputJets, jetPtMin);
0032 }  // addTruthJet
0033 }  // namespace Acts::Python