6 #include "OutputValidationTool.h"
12 HEPMC2CODE( m_file =
new IO_GenEvent((std::string(
"outputHepMC2")+
m_filename).c_str(), std::ios::out); )
13 HEPMC3CODE( shared_ptr<GenRunInfo> run = make_shared<GenRunInfo>(); m_file =
new WriterAsciiHepMC2(std::string(
"outputHepMC3")+
m_filename,run);)
18 HEPMC2CODE(HepMC::GenEvent* hepmcevt=&hepmc; (*m_file)<<hepmcevt;)
19 HEPMC3CODE(m_file->write_event(hepmc);)