ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HepMC3Example.cpp File Reference
#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"
+ Include dependency graph for HepMC3Example.cpp:

Go to the source code of this file.

Functions

int main (int argc, char *argv[])
 

Function Documentation

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().

+ Here is the call graph for this function: