Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /acts/Traccc/device/hip/src/fitting/kalman_fitting_algorithm.cpp was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /** TRACCC library, part of the ACTS project (R&D line)
0002  *
0003  * (c) 2022-2026 CERN for the benefit of the ACTS project
0004  *
0005  * Mozilla Public License Version 2.0
0006  */
0007 
0008 // Local include(s).
0009 #include "traccc/hip/fitting/kalman_fitting_algorithm.hpp"
0010 
0011 #include "../utils/magnetic_field_types.hpp"
0012 #include "../utils/utils.hpp"
0013 
0014 // Project include(s).
0015 #include "traccc/geometry/detector.hpp"
0016 
0017 namespace traccc::hip {
0018 
0019 kalman_fitting_algorithm::kalman_fitting_algorithm(
0020     const config_type& config, const traccc::memory_resource& mr,
0021     const vecmem::copy& copy, const stream_wrapper& str,
0022     std::unique_ptr<const Logger> logger)
0023     : device::kalman_fitting_algorithm{config, mr, copy, std::move(logger)},
0024       hip::algorithm_base{str} {}
0025 
0026 auto kalman_fitting_algorithm::prepare_fit_payload(
0027     const detector_buffer& det, const magnetic_field& field,
0028     const std::vector<unsigned int>& n_surfaces,
0029     const device::fit_payload& payload) const -> fit_payload {
0030   return prepare_fit_payload_helper<detector_type_list,
0031                                     hip::bfield_type_list<scalar>>(
0032       det, field, n_surfaces, payload);
0033 }
0034 
0035 }  // namespace traccc::hip