Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-07-26 08:22:19

0001 /** TRACCC library, part of the ACTS project (R&D line)
0002  *
0003  * (c) 2024-2025 CERN for the benefit of the ACTS project
0004  *
0005  * Mozilla Public License Version 2.0
0006  */
0007 
0008 #pragma once
0009 
0010 // Project include(s).
0011 #include "traccc/edm/track_container.hpp"
0012 #include "traccc/geometry/detector.hpp"
0013 #include "traccc/geometry/host_detector.hpp"
0014 
0015 // System include(s).
0016 #include <string_view>
0017 
0018 namespace traccc::io::obj {
0019 
0020 /// Write a track candidate container into a Wavefront OBJ file.
0021 ///
0022 /// @param filename is the name of the output file
0023 /// @param tracks is the track container to write
0024 /// @param detector is the Detray detector describing the geometry
0025 ///
0026 void write_tracks(std::string_view filename,
0027                   edm::track_container<default_algebra>::const_view tracks,
0028                   const traccc::host_detector& detector);
0029 
0030 }  // namespace traccc::io::obj