#include <cstdlib>
#include <iostream>
#include <filesystem>
#include <memory>
#include <regex>
#include "darwin.h"
#include <boost/property_tree/info_parser.hpp>
#include <boost/property_tree/json_parser.hpp>
#include <boost/property_tree/xml_parser.hpp>
#include <boost/algorithm/string.hpp>
#include <TFile.h>
#include <TTree.h>
#include <TString.h>
#include <TKey.h>
|
optional< bool > | getBool (string s) |
|
template<typename ... Args> |
void | FromPT2MetaInfo (const pt::ptree &elements, const MetaInfo &metainfo, ostream &cout, Args... args) |
|
void | forceMetaInfo (const fs::path &input, const fs::path &output, const int steering) |
|
int | main (int argc, char *argv[]) |
|
◆ main()
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
134 fs::path
input, output;
137 "directory of the output ROOT file. Use at your own risks.");
138 options.input(
"input", &
input,
"input file (INFO, JSON, or XML)")
139 .input(
"output", &output,
"ROOT file");
141 const int steering =
options.steering();
143 cerr <<
red <<
"Severe warning: you are running a dangerous command. "
144 "We hope that you know what you're doing.\n" <<
def;
150 catch (boost::exception& e) {