11#include <framework/core/Module.h>
15#include "HepMC/IO_GenEvent.h"
16#include "HepMC/IO_HEPEVT.h"
48 virtual void event()
override;
HepMCOutputModule()
Constructor.
std::unique_ptr< HepMC::IO_GenEvent > m_ascii_io
The text file stream.
virtual void initialize() override
Initializes the module.
bool m_storeVirtualParticles
Flag which specifies if virtual particles are stored in the HEPEvt file.
virtual void event() override
method is called for each event.
virtual void terminate() override
method is called at end
virtual ~HepMCOutputModule()
Destructor.
std::string m_filename
The output filename.
HepMC::IO_HEPEVT m_hepevtio
wrapper/buffer for hepevt conversion.
Abstract base class for different kinds of events.