1 #ifndef _CONFIG_BUILDER_H_
2 #define _CONFIG_BUILDER_H_
4 #include "../external/json/single_include/nlohmann/json.hpp"
21 bool a_optVerbose =
false
26 std::string a_sectionName,
27 bool a_optVerbose =
false
33 bool a_optVerbose =
false
40 bool a_optVerbose =
false
82 static std::map<uint32_t , double>
readTStepFile(std::string a_filename);
83 static std::map<std::string,std::pair< double , double >>
DetType
Definition: ConfigClasses.h:20
nlohmann::json json
Definition: PSDCutFinder.cpp:13
this class is inteded to represent of full set of information
Definition: ConfigClasses.h:341
Definition: ConfigBuilder.h:14
static std::map< std::string, double > readClycXSBuildConfig(std::string a_filename)
Definition: ConfigBuilder.cpp:1088
static HPGeInfo buildHPGeInfo(json a_jsonObject)
Definition: ConfigBuilder.cpp:472
static MultiPMTOrgScintInfo buildMultiPMTOrgScintInfo(json a_jsonObject)
Definition: ConfigBuilder.cpp:420
static InorgScintInfo buildInorgScintInfo(json a_jsonObject)
Definition: ConfigBuilder.cpp:456
static PointSourceInfo buildPointSourceInfo(json a_jsonObject)
Definition: ConfigBuilder.cpp:613
static OrgScintUncertaintiesInfo buildOrgScintUncertaintiesInfo(json a_jsonObject)
McGuire, 2023.
Definition: ConfigBuilder.cpp:646
static void constructDetectorElementInfo(DetectorElementInfo &a_det, json a_jsonObject)
Definition: ConfigBuilder.cpp:833
static CloverInfo buildCloverInfo(json a_jsonObject)
Definition: ConfigBuilder.cpp:501
static ExperimentUncertaintiesConfig procDetArrayUnc(json a_jsonObject, bool a_optVerbose=false)
Definition: ConfigBuilder.cpp:290
static OrgScintInfo buildOrgScintInfo(json a_jsonObject)
Definition: ConfigBuilder.cpp:325
static ExperimentConfig procDetectorArray(json a_jsonObject, bool a_optVerbose=false)
Definition: ConfigBuilder.cpp:208
static ExperimentConfig processFile(std::string a_filename, bool a_optVerbose=false)
Definition: ConfigBuilder.cpp:15
static void constructDetectorInfo(DetectorInfo &a_det, json a_jsonObject)
Definition: ConfigBuilder.cpp:770
ConfigBuilder()
default constructor puts the class into a working state
Definition: ConfigBuilder.cpp:9
static std::map< std::string, std::pair< double, double > > readClycConfig(std::string a_filename)
Definition: ConfigBuilder.cpp:1059
static std::map< uint32_t, double > readTStepFile(std::string a_filename)
Definition: ConfigBuilder.cpp:1034
Definition: ConfigClasses.h:169
Definition: ConfigClasses.h:76
Definition: ConfigClasses.h:431
Definition: ConfigClasses.h:652
Definition: ConfigClasses.h:332
Definition: ConfigClasses.h:323
Definition: ConfigClasses.h:248
Definition: ConfigClasses.h:197
Definition: ConfigClasses.h:606
Definition: ConfigClasses.h:40