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 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/silicon_cell_collection.hpp"
0012 #include "traccc/geometry/detector_conditions_description.hpp"
0013 #include "traccc/geometry/detector_design_description.hpp"
0014 
0015 // System include(s).
0016 #include <string_view>
0017 
0018 namespace traccc::io::csv {
0019 
0020 /// Function for cell file writing to CSV files
0021 ///
0022 /// @param filename The name of the file to write the data to
0023 /// @param cells    Cell collection to write
0024 /// @param dd       Silicon detector description
0025 /// @param use_acts_geometry_id Flag to use the ACTS geometry ID (or the Detray
0026 ///                             one)
0027 ///
0028 void write_cells(std::string_view filename,
0029                  traccc::edm::silicon_cell_collection::const_view cells,
0030                  traccc::detector_design_description::const_view dd_view,
0031                  traccc::detector_conditions_description::const_view cd_view,
0032                  bool use_acts_geometry_id);
0033 
0034 }  // namespace traccc::io::csv