9#include <nlohmann/json.hpp>
10#include <nlohmann/json_fwd.hpp>
14 using json = nlohmann::ordered_json;
25 void to_json(nlohmann::ordered_json& json_obj,
const CLIApplication::Options& option);
28 void from_json(
const nlohmann::ordered_json& json_obj, CLIApplication::Options& option);
31 void to_json(nlohmann::ordered_json& json_obj,
const CLIApplication::Options::Input& option);
34 void from_json(
const nlohmann::ordered_json& json_obj, CLIApplication::Options::Input& option);
37 void to_json(nlohmann::ordered_json& json_obj,
const CLIApplication::Options::Output& option);
40 void from_json(
const nlohmann::ordered_json& json_obj, CLIApplication::Options::Output& option);
45 void to_json(nlohmann::ordered_json& json_obj,
const AnalysisApplication::Options& option);
48 void from_json(
const nlohmann::ordered_json& json_obj, AnalysisApplication::Options& option);
51 void to_json(nlohmann::ordered_json& json_obj,
const AnalysisApplication::Options::Tasks& option);
54 void from_json(
const nlohmann::ordered_json& json_obj, AnalysisApplication::Options::Tasks& option);
65 void to_json(nlohmann::ordered_json& json_obj,
const AnalysisApplication::Options::Tasks::MultiTrain& option);
68 void from_json(
const nlohmann::ordered_json& json_obj, AnalysisApplication::Options::Tasks::MultiTrain& option);
71 void to_json(nlohmann::ordered_json& json_obj,
const AnalysisApplication::Options::Tasks::NeutronRValue& option);
74 void from_json(
const nlohmann::ordered_json& json_obj, AnalysisApplication::Options::Tasks::NeutronRValue& option);
77 void to_json(nlohmann::ordered_json& json_obj,
const AnalysisApplication::Options::Tasks::Cal2HitParTask& option);
80 void from_json(
const nlohmann::ordered_json& json_obj, AnalysisApplication::Options::Tasks::Cal2HitParTask& option);
85 void to_json(nlohmann::ordered_json& json_obj,
const SimulationApplication::Options& option);
88 void from_json(
const nlohmann::ordered_json& json_obj, SimulationApplication::Options& option);
91 void to_json(nlohmann::ordered_json& json_obj,
const SimulationApplication::Options::Simulation& option);
94 void from_json(
const nlohmann::ordered_json& json_obj, SimulationApplication::Options::Simulation& option);
97 void to_json(nlohmann::ordered_json& json_obj,
const SimulationApplication::Options::Detector& option);
100 void from_json(
const nlohmann::ordered_json& json_obj, SimulationApplication::Options::Detector& option);
106 void to_json(nlohmann::ordered_json& json_obj,
const SimulationApplication::Options::Detector::Cave& option);
109 void from_json(
const nlohmann::ordered_json& json_obj, SimulationApplication::Options::Detector::Cave& option);
112 void to_json(nlohmann::ordered_json& json_obj,
const SimulationApplication::Options::Detector::Neuland& option);
115 void from_json(
const nlohmann::ordered_json& json_obj, SimulationApplication::Options::Detector::Neuland& option);
void from_json(const json &json_obj, Params ¶m)
void to_json(json &json_obj, const Params ¶m)
nlohmann::ordered_json json
Simulation of NeuLAND Bar/Paddle.
void from_json(const nlohmann::ordered_json &json_obj, GeneratorFactory::Options &options)
void to_json(nlohmann::ordered_json &json_obj, const GeneratorFactory::Options &options)
Configuration struct for R3B::Neuland::Digitizer used in R3B::Neuland::AnalysisApplication.