PODIO v00-16-03
An Event-Data-Model Toolkit for High Energy Physics Experiments
Loading...
Searching...
No Matches
read-legacy-files.cpp File Reference
#include "podio/ROOTReader.h"
#include "read_test.h"
#include <iostream>

Go to the source code of this file.

Functions

int main (int argc, char *argv[])
 

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 6 of file read-legacy-files.cpp.

6 {
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}
void run_read_test(podio::IReader &reader)
Definition: read_test.h:466