HPS-MC
open.cc
Go to the documentation of this file.
1
#include <stdio.h>
2
#include <stdlib.h>
3
#include <unistd.h>
4
5
#include <
stdhep_util.hh
>
6
#include "
stdhep_mcfio.h
"
7
12
int
main
(
int
argc,
char
** argv) {
13
14
if
(argc<2) {
15
printf(
"<stdhep file>\n"
);
16
return
1;
17
}
18
19
int
is = 0;
20
char
* f = argv[1];
21
22
open_read
(f, is);
23
24
return
0;
25
}
26
main
int main(int argc, char **argv)
Definition:
open.cc:12
stdhep_mcfio.h
open_read
int open_read(char *filename, int istream, int n_events)
Definition:
stdhep_util.cpp:162
stdhep_util.hh
tools
stdhep-tools
src
open.cc
Generated by
1.9.1