 |
Belle II Software
release-05-02-19
|
13 #include <framework/core/Module.h>
17 #include "HepMC/IO_GenEvent.h"
18 #include "HepMC/IO_HEPEVT.h"
36 class HepMCOutputModule :
public Module {
53 virtual void event()
override;
66 std::unique_ptr<HepMC::IO_GenEvent>
m_ascii_io;
virtual ~HepMCOutputModule()
Destructor.
Abstract base class for different kinds of events.
std::string m_filename
The output filename.
HepMC::IO_HEPEVT m_hepevtio
wrapper/buffer for hepevt conversion.
virtual void event() override
method is called for each event.
bool m_storeVirtualParticles
Flag which specifies if virtual particles are stored in the HEPEvt file.
virtual void initialize() override
Initializes the module.
virtual void terminate() override
method is called at end
std::unique_ptr< HepMC::IO_GenEvent > m_ascii_io
The text file stream.
HepMCOutputModule()
Constructor.