Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-07-26 08:21:58

0001 /** TRACCC library, part of the ACTS project (R&D line)
0002  *
0003  * (c) 2025-2026 CERN for the benefit of the ACTS project
0004  *
0005  * Mozilla Public License Version 2.0
0006  */
0007 
0008 #pragma once
0009 
0010 // Local include(s).
0011 #include "traccc/edm/measurement_collection.hpp"
0012 #include "traccc/edm/track_state_collection.hpp"
0013 
0014 namespace traccc::edm {
0015 
0016 /// Create a track state with default values.
0017 ///
0018 /// @param measurements The collection of measurements to use for initialization
0019 /// @param mindex       The index of the measurement to associate with the state
0020 ///
0021 /// @return A track state object initialized with default values
0022 ///
0023 template <typename algebra_t>
0024 TRACCC_HOST_DEVICE
0025     typename track_state_collection<algebra_t>::device::object_type
0026     make_track_state(const measurement_collection::const_device& measurements,
0027                      unsigned int mindex);
0028 
0029 }  // namespace traccc::edm
0030 
0031 // Include the implementation.
0032 #include "traccc/edm/impl/track_state_helpers.ipp"