Go to the documentation of this file.
18 int main(
int argc,
char** argv)
20 char* pdgFile = (
char*) NULL;
21 char* pname = argv[0];
29 while ((c = getopt(argc, argv,
"htP:vi:D")) != -1)
41 io_ver =
atoi(optarg);
66 cerr << pname <<
": ERROR: no keyfile specified" << endl;
70 keyf.
open(argv[optind]);
73 e.setIOVersion(io_ver);
74 while (!(cin >> e).eof()) {
85 cerr <<
"usage: " << pname <<
" [-t] keyfile [-P pdgFile] [-v] [-D] < datafile" << endl
86 <<
"\t-t:\tparser trace" << endl
87 <<
"\t-P pdgFile:\tread PDG table from pdgFile" << endl
88 <<
"\t-v:\tprint pdgTable" << endl
89 <<
"\t-i io_ver:\tset event io version to io_ver (1 or 2)" << endl
90 <<
"\t-D:\tdump pdgTable" << endl
91 <<
"\tkeyfile: decay amplitude specification" << endl;