Go to the source code of this file.
◆ main()
Definition at line 4 of file read.cpp.
4 {
6 try {
7 reader.openFile("example.root");
8 } catch (const std::runtime_error& e) {
9 std::cout << "File could not be opened, aborting." << std::endl;
10 return 1;
11 }
12
13 if (reader.currentFileVersion() != podio::version::build_version) {
14 return 1;
15 }
16
18
19
24
25 reader.closeFile();
26 return 0;
27}
void run_read_test(podio::IReader &reader)
void run_read_test_event(podio::IReader &reader, unsigned event)