Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /acts/Python/Plugins/src/Detray.cpp was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

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 "ActsPlugins/Detray/DetrayConversionUtils.hpp"
0010 #include "ActsPython/Utilities/Helpers.hpp"
0011 #include "ActsPython/Utilities/Macros.hpp"
0012 
0013 #include <memory>
0014 #include <string>
0015 
0016 #include <detray/builders/detector_builder.hpp>
0017 #include <pybind11/pybind11.h>
0018 #include <vecmem/memory/host_memory_resource.hpp>
0019 #include <vecmem/memory/memory_resource.hpp>
0020 
0021 namespace py = pybind11;
0022 using namespace pybind11::literals;
0023 
0024 PYBIND11_MODULE(ActsPluginsPythonBindingsDetray, detray) {
0025   using namespace ActsPlugins;
0026 
0027   {
0028     py::class_<DetrayHostDetector, std::shared_ptr<DetrayHostDetector>>(
0029         detray, "detray_detector");
0030   }
0031 }