EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ActsExamples::HepMC3ReaderAscii Struct Reference

HepMC3 event reader. More...

#include <acts/blob/sPHENIX/Examples/Io/HepMC3/include/ActsExamples/Plugins/HepMC3/HepMC3Reader.hpp>

Public Member Functions

bool readEvent (HepMC3::ReaderAscii &reader, std::shared_ptr< HepMC3::GenEvent > event)
 Reads an event from file.
 
bool status (HepMC3::ReaderAscii &reader)
 Reports the status of the reader.
 

Detailed Description

HepMC3 event reader.

Definition at line 17 of file HepMC3Reader.hpp.

View newest version in sPHENIX GitHub at line 17 of file HepMC3Reader.hpp

Member Function Documentation

bool ActsExamples::HepMC3ReaderAscii::readEvent ( HepMC3::ReaderAscii &  reader,
std::shared_ptr< HepMC3::GenEvent >  event 
)

Reads an event from file.

Parameters
readerreader of run files
eventstorage of the read event
Returns
boolean indicator if the reading was successful

Definition at line 11 of file HepMC3Reader.cpp.

View newest version in sPHENIX GitHub at line 11 of file HepMC3Reader.cpp

Referenced by main().

+ Here is the caller graph for this function:

bool ActsExamples::HepMC3ReaderAscii::status ( HepMC3::ReaderAscii &  reader)

Reports the status of the reader.

Parameters
readerreader of run files
Returns
boolean status indicator

Definition at line 17 of file HepMC3Reader.cpp.

View newest version in sPHENIX GitHub at line 17 of file HepMC3Reader.cpp

Referenced by main().

+ Here is the caller graph for this function:


The documentation for this struct was generated from the following files: