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) 2022 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/Detector/ProtoDetector.hpp"
0012 #include "Acts/Plugins/Json/UtilitiesJsonConverter.hpp"
0013 
0014 #include <nlohmann/json.hpp>
0015 
0016 // Custom Json encoder/decoders. Naming is mandated by nlohmann::json and thus
0017 // can not match our naming guidelines.
0018 
0019 namespace Acts {
0020 struct ProtoDetector;
0021 struct ProtoVolume;
0022 
0023 void to_json(nlohmann::json& j, const ProtoVolume& pv);
0024 
0025 void from_json(const nlohmann::json& j, ProtoVolume& pv);
0026 
0027 void to_json(nlohmann::json& j, const ProtoDetector& pd);
0028 
0029 void from_json(const nlohmann::json& j, ProtoDetector& pd);
0030 
0031 }  // namespace Acts