31int main (
int argc,
char** argv)
36 std::cerr <<
"usage: " << argv[0] <<
" <file>" << std::endl;
41 std::fstream in(argv[1], std::ios::in|std::ios::binary);
43 std::cerr <<
"File `" << argv[1] <<
"' does not exist?!" << std::endl;
58 std::cout <<
"Event " << fe.
lvl1_id() <<
" is Ok." << std::endl;
61 std::cerr << std::endl
62 <<
"Uncaught eformat issue: " << ex.
what() << std::endl;
63 std::cout <<
"Trying to continue..." << std::endl;
67 std::cerr << std::endl
68 <<
"Uncaught ERS issue: " << ex.
what() << std::endl;
72 catch (std::exception& ex) {
73 std::cerr << std::endl
74 <<
"Uncaught std exception: " << ex.
what() << std::endl;
79 std::cerr << std::endl <<
"Uncaught unknown exception" << std::endl;