 |
Version: SMASH-2.0.2
|
|
Go to the documentation of this file.
11 #ifndef SRC_INCLUDE_SMASH_HEPMCOUTPUT_H_
12 #define SRC_INCLUDE_SMASH_HEPMCOUTPUT_H_
14 #include <HepMC3/WriterAscii.h>
18 #include <boost/filesystem.hpp>
46 HepMcOutput(
const bf::path &path, std::string name,
const bool full_event,
47 const int total_N,
const int proj_N);
73 #endif // SRC_INCLUDE_SMASH_HEPMCOUTPUT_H_
bf::path filename_unfinished_
Filename of output as long as simulation is still running.
SMASH output to HepMC file.
Structure to contain custom data for output.
std::unique_ptr< HepMC3::WriterAscii > output_file_
Pointer to Ascii HepMC3 output file.
~HepMcOutput()
Destructor renames file.
HepMcOutput(const bf::path &path, std::string name, const bool full_event, const int total_N, const int proj_N)
Create HepMC particle output.
Base class for output handlers that need the HepMC3 structure.
void at_eventend(const Particles &particles, const int32_t event_number, const EventInfo &event) override
Add the final particles information of an event to the central vertex.
const bf::path filename_
Filename of output.