EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
Functions | |
std::shared_ptr< Reader > | deduce_reader (std::istream &stream) |
This function will deduce the type of input stream based on its content and will return appropriate Reader. | |
std::shared_ptr< Reader > | deduce_reader (const std::string &filename) |
This function deduces the type of input file based on the name/URL and its content, and will return an appropriate Reader object. | |
std::shared_ptr< Reader > HepMC3::deduce_reader | ( | std::istream & | stream | ) |
This function will deduce the type of input stream based on its content and will return appropriate Reader.
Definition at line 137 of file HepMC_3_2_4_ReaderFactory.h.
View newest version in sPHENIX GitHub at line 137 of file HepMC_3_2_4_ReaderFactory.h
References c.
Referenced by erhic::EventFromAsciiFactory< T >::AddParticle(), deduce_reader(), and eASTHepMC3Interface::OpenFile().
std::shared_ptr< Reader > HepMC3::deduce_reader | ( | const std::string & | filename | ) |
This function deduces the type of input file based on the name/URL and its content, and will return an appropriate Reader object.
Definition at line 33 of file HepMC_3_2_4_ReaderFactory.h.
View newest version in sPHENIX GitHub at line 33 of file HepMC_3_2_4_ReaderFactory.h
References buffer, deduce_reader(), eicpy.qaplots::file, INPUTHEPMC::filename, and getline.