49 int main(
int argc,
char **argv)
56 JMultipleFileScanner<typelist> inputFile;
59 JROOTClassSelection selection = getROOTClassSelection<typelist>();
60 bool& merge = JMultipleFileScanner<Head>::merge;
65 JParser<> zap(
"Auxiliary program to convert data formats.");
69 zap[
'n'] =
make_field(numberOfEvents) = JLimit::max();
71 "Precede name of data structure by a '+' or '-' "
72 "to add or remove data types in the output, respectively."
74 zap[
'm'] =
make_field(merge,
"Allow merging of files w/o headers");
79 catch(
const exception& error) {
80 FATAL(error.what() << endl);
86 inputFile | JValve<typelist>(selection) |
outputFile;