HepMC3 event record library
WriterHEPEVTZEUS.h
Go to the documentation of this file.
1// -*- C++ -*-
2//
3// This file is part of HepMC
4// Copyright (C) 2014-2023 The HepMC collaboration (see AUTHORS for details)
5//
6#ifndef HEPMC3_WRITERHEPEVTZEUS_H
7#define HEPMC3_WRITERHEPEVTZEUS_H
8///
9/// @file WriterHEPEVTZEUS.h
10/// @brief Definition of class \b WriterHEPEVTZEUS
11///
12/// @class HepMC3::WriterHEPEVTZEUS
13/// @brief GenEvent I/O output to files readable by ZEUS software
14///
15/// @ingroup Examples
16///
17#include "HepMC3/WriterHEPEVT.h"
18#include "HepMC3/GenEvent.h"
19#include "HepMC3/GenParticle.h"
21namespace HepMC3
22{
24{
25public:
26 /** @brief Constructor */
27 WriterHEPEVTZEUS(const std::string &filename);
28 /** @brief Write the header */
29 void write_hepevt_event_header() override;
30 /** @brief Write particles */
31 void write_hepevt_particle( int index, bool iflong = true ) override;
32};
33}
34#endif
Definition of struct GenEventData.
Definition of class GenEvent.
Definition of class GenParticle.
Definition of class WriterHEPEVT.
void write_hepevt_particle(int index, bool iflong=true) override
Write particles.
void write_hepevt_event_header() override
Write the header.
WriterHEPEVTZEUS(const std::string &filename)
Constructor.
WriterHEPEVT(const std::string &filename, std::shared_ptr< GenRunInfo > run=nullptr)
Default constructor.
HepMC3 main namespace.