EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include "ActsExamples/EventData/SimParticle.hpp"
#include "ActsExamples/EventData/SimVertex.hpp"
#include "ActsExamples/Plugins/HepMC3/HepMC3Event.hpp"
#include "ActsExamples/Plugins/HepMC3/HepMC3Reader.hpp"
#include <fstream>
#include "HepMC3/ReaderAscii.h"
#include "HepPID/ParticleName.hh"
Go to the source code of this file.
Functions | |
int | main (int, char **) |
int main | ( | int | , |
char ** | |||
) |
Straight forward example of reading a HepMC3 file.
Definition at line 22 of file HepMC3Example.cpp.
View newest version in sPHENIX GitHub at line 22 of file HepMC3Example.cpp
References ActsExamples::HepMC3Event::beams(), Acts::UnitConstants::cm, ActsExamples::HepMC3Event::eventPos(), ActsExamples::HepMC3Event::eventTime(), ActsExamples::HepMC3Event::finalState(), Acts::UnitConstants::fs, Acts::UnitConstants::GeV, ActsExamples::HepMC3Event::lengthUnit(), Acts::UnitConstants::MeV, Acts::UnitConstants::mm, ActsExamples::HepMC3Event::momentumUnit(), particle, ActsExamples::HepMC3Event::particles(), reader(), ActsExamples::HepMC3ReaderAscii::readEvent(), ActsExamples::HepMC3ReaderAscii::status(), and ActsExamples::HepMC3Event::vertices().