#include <vector>
Go to the source code of this file.
Classes | |
struct | stdhep_entry |
struct | stdhep_event |
Functions | |
int | read_stdhep (vector< stdhep_entry > *new_event) |
void | read_stdhep (stdhep_event *new_event) |
void | write_stdhep (vector< stdhep_entry > *new_event, int nevhep) |
void | write_stdhep (stdhep_event *new_event) |
void | add_filler_particle (vector< stdhep_entry > *new_event) |
int | append_stdhep (vector< stdhep_entry > *event, const vector< stdhep_entry > *new_event) |
int | open_read (char *filename, int istream, int n_events=1000000) |
void | open_write (char *filename, int ostream, int n_events) |
void | close_write (int ostream) |
void | write_file (int ostream) |
bool | read_next (int istream) |
void | close_read (int istream) |
void | print_entry (stdhep_entry entry) |
Variables | |
bool | xdr_init_done |
bool | has_hepev4 |
void add_filler_particle | ( | vector< stdhep_entry > * | new_event | ) |
< stable particle
< photon
new_event | add a 10 MeV photon in the beam direction |
Definition at line 128 of file stdhep_util.cpp.
int append_stdhep | ( | vector< stdhep_entry > * | event, |
const vector< stdhep_entry > * | new_event | ||
) |
Definition at line 145 of file stdhep_util.cpp.
void close_read | ( | int | istream | ) |
Definition at line 223 of file stdhep_util.cpp.
void close_write | ( | int | ostream | ) |
Definition at line 208 of file stdhep_util.cpp.
int open_read | ( | char * | filename, |
int | istream, | ||
int | n_events = 1000000 |
||
) |
Definition at line 162 of file stdhep_util.cpp.
void open_write | ( | char * | filename, |
int | ostream, | ||
int | n_events | ||
) |
Definition at line 175 of file stdhep_util.cpp.
void print_entry | ( | stdhep_entry | entry | ) |
Definition at line 228 of file stdhep_util.cpp.
bool read_next | ( | int | istream | ) |
Definition at line 188 of file stdhep_util.cpp.
void read_stdhep | ( | stdhep_event * | new_event | ) |
Definition at line 38 of file stdhep_util.cpp.
int read_stdhep | ( | vector< stdhep_entry > * | new_event | ) |
Definition at line 14 of file stdhep_util.cpp.
void write_file | ( | int | ostream | ) |
Definition at line 214 of file stdhep_util.cpp.
void write_stdhep | ( | stdhep_event * | new_event | ) |
Definition at line 92 of file stdhep_util.cpp.
void write_stdhep | ( | vector< stdhep_entry > * | new_event, |
int | nevhep | ||
) |
Definition at line 69 of file stdhep_util.cpp.
|
extern |
Definition at line 10 of file stdhep_util.cpp.
|
extern |
Definition at line 9 of file stdhep_util.cpp.