ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <fstream>
#include "ACTFW/EventData/SimParticle.hpp"
#include "ACTFW/EventData/SimVertex.hpp"
#include "ACTFW/Plugins/HepMC3/HepMC3Event.hpp"
#include "ACTFW/Plugins/HepMC3/HepMC3Reader.hpp"
#include "HepMC3/ReaderAscii.h"
#include "HepPID/ParticleName.hh"
Go to the source code of this file.
Functions | |
int | main (int argc, char *argv[]) |
Straight forward example of reading a HepMC3 file.
Definition at line 21 of file HepMC3Example.cpp.
View newest version in sPHENIX GitHub at line 21 of file HepMC3Example.cpp
References Acts::units::_cm, Acts::units::_GeV, Acts::units::_MeV, Acts::units::_mm, FW::HepMC3Event::beams(), FW::HepMC3Event::eventPos(), FW::HepMC3Event::eventTime(), FW::HepMC3Event::finalState(), Acts::UnitConstants::fs, FW::HepMC3Event::lengthUnit(), FW::HepMC3Event::momentumUnit(), particle, FW::HepMC3Event::particles(), FW::HepMC3ReaderAscii::readEvent(), FW::HepMC3ReaderAscii::status(), and FW::HepMC3Event::vertices().