Back to home page

EIC code displayed by LXR

 
 

    


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

0001 /** TRACCC library, part of the ACTS project (R&D line)
0002  *
0003  * (c) 2022-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 #include "traccc/utils/logging.hpp"
0015 
0016 // System include(s).
0017 #include <string_view>
0018 
0019 namespace traccc::io::csv {
0020 
0021 /// Read cell information from a specific CSV file
0022 ///
0023 /// @param[out] cells       The cell collection to fill
0024 /// @param[in]  filename    The name of the file to read
0025 /// @param[in]  dd          The detector description to point the cells at
0026 /// @param[in]  deduplicate Whether to deduplicate the cells
0027 /// @param[in]  use_acts_geometry_id Whether to treat the geometry ID as an
0028 ///                                  "Acts geometry ID", or a
0029 ///                                  "Detray geometry ID"
0030 ///
0031 void read_cells(edm::silicon_cell_collection::host& cells,
0032                 std::string_view filename,
0033                 std::unique_ptr<const Logger> logger = getDummyLogger().clone(),
0034                 const detector_conditions_description::host* det_cond = nullptr,
0035                 bool deduplicate = true, bool use_acts_geometry_id = true);
0036 
0037 }  // namespace traccc::io::csv