![]() |
Thermal-FIST 1.5
Package for hadron resonance gas model applications
|
Writes the events in the HepMC::Asciiv3 format, see https://gitlab.cern.ch/hepmc/HepMC3. More...
#include <HepMCEventWriter.h>
Public Member Functions | |
| HepMCEventWriter (const std::string &filename="") | |
| virtual | ~HepMCEventWriter () |
| virtual bool | OpenFile (const std::string &filename) |
| virtual void | CloseFile () |
| virtual bool | WriteEvent (const SimpleEvent &evt) |
Public Member Functions inherited from thermalfist::EventWriter | |
| EventWriter (const std::string &filename="") | |
| virtual | ~EventWriter () |
Additional Inherited Members | |
Protected Attributes inherited from thermalfist::EventWriter | |
| std::ofstream | m_fout |
| int | m_EventNumber |
Writes the events in the HepMC::Asciiv3 format, see https://gitlab.cern.ch/hepmc/HepMC3.
Assumes that all particles are final (status code = 1) and come from the root vertex. Has to be checked if this actually works
Definition at line 22 of file HepMCEventWriter.h.
| thermalfist::HepMCEventWriter::HepMCEventWriter | ( | const std::string & | filename = "" | ) |
Definition at line 10 of file HepMCEventWriter.cpp.
|
virtual |
Definition at line 15 of file HepMCEventWriter.cpp.
|
virtual |
Reimplemented from thermalfist::EventWriter.
Definition at line 48 of file HepMCEventWriter.cpp.
|
virtual |
Reimplemented from thermalfist::EventWriter.
Definition at line 20 of file HepMCEventWriter.cpp.
|
virtual |
Reimplemented from thermalfist::EventWriter.
Definition at line 57 of file HepMCEventWriter.cpp.