|
|
|||
File indexing completed on 2025-12-11 09:40:22
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/AmbiguityResolution/ScoreBasedAmbiguityResolution.hpp" 0012 0013 #include <map> 0014 #include <utility> 0015 #include <vector> 0016 0017 #include <nlohmann/json.hpp> 0018 0019 namespace Acts { 0020 0021 /// @brief Type alias for detector-specific ambiguity resolution configuration 0022 /// @details Configuration parameters for ambiguity resolution in a specific detector component 0023 using DetectorConfig = ScoreBasedAmbiguityResolution::DetectorConfig; 0024 /// @brief Type alias for a pair of detector configuration and ambiguity resolution configuration 0025 /// @details Maps detector IDs to their configurations and stores a vector of detector-specific settings 0026 using ConfigPair = 0027 std::pair<std::map<std::size_t, std::size_t>, std::vector<DetectorConfig>>; 0028 /// Convert JSON to ConfigPair 0029 /// @param j Source JSON object 0030 /// @param p Destination ConfigPair to populate 0031 void from_json(const nlohmann::json& j, ConfigPair& p); 0032 0033 } // namespace Acts
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|