Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-20 08:19:34

0001 // This file is part of the ACTS project.
0002 //
0003 // Copyright (C) 2016 CERN for the benefit of the ACTS project
0004 //
0005 // This Source Code Form is subject to the terms of the Mozilla Public
0006 // License, v. 2.0. If a copy of the MPL was not distributed with this
0007 // file, You can obtain one at https://mozilla.org/MPL/2.0/.
0008 
0009 #pragma once
0010 
0011 #include "Acts/EventData/TrackStateProxy.hpp"
0012 
0013 namespace Acts {
0014 
0015 template <typename D, std::size_t M, bool ReadOnly>
0016 inline TrackStateProxy<D, M, ReadOnly>::TrackStateProxy(
0017     const_if_t<ReadOnly, MultiTrajectory<D>>& trajectory, IndexType istate)
0018     : m_traj(&trajectory), m_istate(istate) {}
0019 
0020 template <typename D, std::size_t M, bool ReadOnly>
0021 inline auto TrackStateProxy<D, M, ReadOnly>::getUncalibratedSourceLink() const
0022     -> SourceLink {
0023   assert(has<hashString("uncalibratedSourceLink")>());
0024   return m_traj->getUncalibratedSourceLink(m_istate);
0025 }
0026 
0027 }  // namespace Acts