14 #include <boost/property_tree/ptree.hpp>
15 #include <boost/property_tree/xml_parser.hpp>
16 #include <boost/foreach.hpp>
17 #include <boost/lexical_cast.hpp>
18 #include <boost/algorithm/string.hpp>
24 using namespace boost;
36 using namespace boost::property_tree;
46 read_xml (config_file, pt);
49 iptree &
it = pt.get_child(
"HIJING.FASTJET", null);
50 BOOST_FOREACH(iptree::value_type &
v, it)
52 if (to_upper_copy(v.first) !=
"ALGORITHM")
continue;
53 string name = v.second.get(
"NAME",
"ANTIKT");
54 float R = v.second.get(
"R",0.4);
55 cout << name <<
" " << R << endl;