#include <cstdlib>
#include <string>
#include <iostream>
#include <numeric>
#include <functional>
#include "exceptions.h"
#include "toolbox.h"
#include "Options.h"
#include "boost/filesystem.hpp"
#include "boost/property_tree/ptree.hpp"
#include "boost/property_tree/json_parser.hpp"
#include "boost/optional.hpp"
#include "TString.h"
#include "TASImage.h"
#include "Alignment/OfflineValidation/interface/CompareAlignments.h"
#include "Alignment/OfflineValidation/macros/FitPVResolution.C"
#include "Alignment/OfflineValidation/interface/TkAlStyle.h"
Go to the source code of this file.
|
int | main (int argc, char *argv[]) |
|
int | merge (int argc, char *argv[]) |
|
◆ main()
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
◆ merge()
int merge |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
Definition at line 28 of file SplitVmerge.cc.
References dir2webdir::argc, GCPpyPlots::argv, and AlcaSiPixelAliHarvester0T_cff::options.
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(
"",
"");