ATLAS Offline Software
Loading...
Searching...
No Matches
HepMC3::WriterEPOS Class Reference
Inheritance diagram for HepMC3::WriterEPOS:
Collaboration diagram for HepMC3::WriterEPOS:

Public Member Functions

 WriterEPOS (const std::string &filename, std::shared_ptr< GenRunInfo > run=std::shared_ptr< GenRunInfo >())
 WriterEPOS (std::ostream &stream, std::shared_ptr< GenRunInfo > run=std::shared_ptr< GenRunInfo >())
 WriterEPOS (std::shared_ptr< std::ostream > s_stream, std::shared_ptr< GenRunInfo > run=std::shared_ptr< GenRunInfo >())
 ~WriterEPOS ()
void write_event (const GenEvent &evt) override
const GenEvent & current_event () const
bool failed () override
void close () override

Private Attributes

GenEvent m_event

Detailed Description

Definition at line 60 of file Epos4.cxx.

Constructor & Destructor Documentation

◆ WriterEPOS() [1/3]

HepMC3::WriterEPOS::WriterEPOS ( const std::string & filename,
std::shared_ptr< GenRunInfo > run = std::shared_ptr<GenRunInfo>() )
inline

Definition at line 62 of file Epos4.cxx.

62 {
63 set_run_info(std::move(run));
64 }
int run(int argc, char *argv[])

◆ WriterEPOS() [2/3]

HepMC3::WriterEPOS::WriterEPOS ( std::ostream & stream,
std::shared_ptr< GenRunInfo > run = std::shared_ptr<GenRunInfo>() )
inline

Definition at line 65 of file Epos4.cxx.

65 {
66 set_run_info(std::move(run));
67 }

◆ WriterEPOS() [3/3]

HepMC3::WriterEPOS::WriterEPOS ( std::shared_ptr< std::ostream > s_stream,
std::shared_ptr< GenRunInfo > run = std::shared_ptr<GenRunInfo>() )
inline

Definition at line 68 of file Epos4.cxx.

68 {
69 set_run_info(std::move(run));
70 }

◆ ~WriterEPOS()

HepMC3::WriterEPOS::~WriterEPOS ( )
inline

Definition at line 71 of file Epos4.cxx.

71{};

Member Function Documentation

◆ close()

void HepMC3::WriterEPOS::close ( )
inlineoverride

Definition at line 81 of file Epos4.cxx.

81{}

◆ current_event()

const GenEvent & HepMC3::WriterEPOS::current_event ( ) const
inline

Definition at line 75 of file Epos4.cxx.

75 {
76 return m_event;
77 }
GenEvent m_event
Definition Epos4.cxx:83

◆ failed()

bool HepMC3::WriterEPOS::failed ( )
inlineoverride

Definition at line 78 of file Epos4.cxx.

78 {
79 return false;
80 };

◆ write_event()

void HepMC3::WriterEPOS::write_event ( const GenEvent & evt)
inlineoverride

Definition at line 72 of file Epos4.cxx.

Member Data Documentation

◆ m_event

GenEvent HepMC3::WriterEPOS::m_event
private

Definition at line 83 of file Epos4.cxx.


The documentation for this class was generated from the following file: