19int main(
int argc,
char **argv)
29 JParser<> zap(
"Example application to make ROOT project.");
31 zap[
'f'] =
make_field(inputFile,
"input file with streamer information");
32 zap[
'P'] =
make_field(path,
"output directory for library") =
"./";
37 catch(
const exception &error) {
38 FATAL(error.what() << endl);
41 gErrorIgnoreLevel = kError;
44 TFile* in = TFile::Open(inputFile.c_str());
46 if (in == NULL || !in->IsOpen()) {
47 FATAL(
"Error opening file " << inputFile << endl);
52 in->MakeProject(path.c_str(),
"*",
"recreate++");
General purpose messaging.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
int main(int argc, char **argv)
Example application to make ROOT project.
Utility class to parse command line options.