PODIO v00-16-03
An Event-Data-Model Toolkit for High Energy Physics Experiments
Loading...
Searching...
No Matches
read-legacy-files.cpp
Go to the documentation of this file.
1#include "podio/ROOTReader.h"
2#include "read_test.h"
3
4#include <iostream>
5
6int main(int argc, char* argv[]) {
7 if (argc < 2) {
8 std::cerr << "Usage: read-legacy-files inputfile" << std::endl;
9 return 1;
10 }
11
12 auto reader = podio::ROOTReader();
13 reader.openFile(argv[1]);
14
15 run_read_test(reader);
16
17 reader.closeFile();
18 return 0;
19}
int main()
void run_read_test(podio::IReader &reader)
Definition: read_test.h:466