Iguana
LATEST
Implementation Guardian of Analysis Algorithms
Loading...
Searching...
No Matches
TestInfo.h
1
#include <fmt/format.h>
2
#include <hipo4/reader.h>
3
4
inline
int
TestInfo(std::string data_file)
5
{
6
7
if
(data_file ==
""
) {
8
fmt::print(stderr,
"ERROR: need a data file for command 'info'\n"
);
9
return
1;
10
}
11
12
// open the HIPO file
13
hipo::reader reader(data_file.c_str());
14
15
// print file info
16
fmt::println(
"num_events {}"
, reader.getEntries());
17
18
return
0;
19
}
src
iguana
tests
include
TestInfo.h
Generated by
1.16.1