9 char* cursor=&(buf[0]);
11 unsigned long length = cursor - &(buf[0]);
17 char* cursor=&(buf[0]);
23 unsigned long length = cursor - &(buf[0]);
static double m(const int &index)
Get generated mass.
static int last_child(const int &index)
Get index of last daughter.
static double z(const int &index)
Get Z Production vertex.
void write_hepevt_particle(int index)
Write particles.
static double y(const int &index)
Get Y Production vertex.
static double t(const int &index)
Get production time.
static int status(const int &index)
Get status code.
static int event_number()
Get event number.
static double x(const int &index)
Get X Production vertex.
static double pz(const int &index)
Get Z momentum.
static double e(const int &index)
Get Energy.
GenEvent I/O serialization for HEPEVT files.
WriterHEPEVTZEUS(const std::string &filename)
Constructor.
std::ostream * m_stream
Output stream.
static double py(const int &index)
Get Y momentum.
static int first_child(const int &index)
Get index of 1st daughter.
static int id(const int &index)
Get PDG particle id.
static int first_parent(const int &index)
Get index of 1st mother.
static double px(const int &index)
Get X momentum.
static int last_parent(const int &index)
Get index of last mother.
Definition of class WriterHEPEVTZEUS.
void write_hepevt_event_header()
Write the header.
Definition of class HEPEVT_Wrapper.
static int number_entries()
Get number of entries.