11 #include "boost/filesystem.hpp" 12 #include "boost/property_tree/ptree.hpp" 13 #include "boost/property_tree/json_parser.hpp" 14 #include "boost/optional.hpp" 20 #include "Alignment/OfflineValidation/macros/FitPVResolution.C" 26 namespace pt = boost::property_tree;
37 pt::read_json(
options.config, main_tree);
39 pt::ptree alignments = main_tree.get_child(
"alignments");
40 pt::ptree
validation = main_tree.get_child(
"validation");
42 for (
const auto& childTree : alignments) {
43 PVResolution::loadFileList((childTree.second.get<
string>(
"file") +
"/SplitV.root").c_str(),
44 "PrimaryVertexResolution",
45 childTree.second.get<
string>(
"title"),
46 childTree.second.get<
int>(
"color"),
47 childTree.second.get<
int>(
"style"));
50 FitPVResolution(
"",
"");
55 #ifndef DOXYGEN_SHOULD_SKIP_THIS
int merge(int argc, char *argv[])
int main(int argc, char *argv[])