Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:27:42

0001 // This file is part of the Acts project.
0002 //
0003 // Copyright (C) 2023-2024 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 http://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 using DetectorConfig = ScoreBasedAmbiguityResolution::DetectorConfig;
0022 using ConfigPair =
0023     std::pair<std::map<std::size_t, std::size_t>, std::vector<DetectorConfig>>;
0024 /// This function is used to convert the ScoreBasedAmbiguityResolutionCongig
0025 /// from JSON to C++
0026 void from_json(const nlohmann::json& j, ConfigPair& p);
0027 
0028 }  // namespace Acts