Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:11:39

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/TrackParameters.hpp"
0012 #include "Acts/Utilities/Grid.hpp"
0013 #include "Acts/Utilities/GridAxisGenerators.hpp"
0014 
0015 #include <memory>
0016 #include <unordered_map>
0017 
0018 namespace ActsExamples {
0019 
0020 using TrackParamsLookupPair =
0021     std::pair<std::shared_ptr<Acts::CurvilinearTrackParameters>,
0022               std::shared_ptr<Acts::CurvilinearTrackParameters>>;
0023 
0024 /// @brief Track parameters lookup table axis used
0025 /// in the track estimation algorithm
0026 using TrackParamsLookupAxis =
0027     Acts::Axis<Acts::AxisType::Equidistant, Acts::AxisBoundaryType::Open>;
0028 
0029 /// @brief Track parameters lookup table axis generator
0030 /// used in the track estimation algorithm
0031 using TrackParamsLookupAxisGen = Acts::GridAxisGenerators::EqOpenEqOpen;
0032 
0033 /// @brief Lookup grid for track parameters estimation
0034 /// in a given layer
0035 using TrackParamsLookupGrid =
0036     Acts::Grid<TrackParamsLookupPair, TrackParamsLookupAxis,
0037                TrackParamsLookupAxis>;
0038 
0039 /// @brief Lookup table for track parameters estimation
0040 /// in the track estimation algorithm
0041 using TrackParamsLookup =
0042     std::unordered_map<Acts::GeometryIdentifier, TrackParamsLookupGrid>;
0043 
0044 }  // namespace ActsExamples