3 #include "fhiclcpp/ParameterSet.h"
7 #include "artdaq/Application/LoadParameterSet.hh"
9 namespace bpo = boost::program_options;
12 int main(
int argc,
char * argv[])
14 auto pset = LoadParameterSet(argc, argv);
16 for(
auto& p : pset.get_all_keys()) {
17 std::cout <<
"Key " << p <<
" has string value " << pset.get<std::string>(p)
18 <<
" and uint64_t value " << std::to_string(pset.get<uint64_t>(p))
19 <<
" ( hex 0x" << std::hex << pset.get<uint64_t>(p) <<
" )."