#include <LhcoParser.hpp>
Definition at line 24 of file LhcoParser.hpp.
◆ LhcoParser()
LHPC::LhcoParser::LhcoParser |
( |
std::string const |
eventFileName = "" , |
|
|
bool const |
isVerbose = true |
|
) |
| |
Definition at line 18 of file LhcoParser.cpp.
28 if( !(eventFileName.empty()) )
BOL::CommentedTextParser fileParser
bool openFile(std::string const &eventFileName)
bool fileIsOpenAndNotYetAtEndOfFile
LHCO::LhcoEvent currentEvent
◆ ~LhcoParser()
LHPC::LhcoParser::~LhcoParser |
( |
| ) |
|
◆ getEvent()
◆ lookForFirstEvent()
bool LHPC::LhcoParser::lookForFirstEvent |
( |
| ) |
|
|
inlineprotected |
Definition at line 90 of file LhcoParser.hpp.
98 bool notYetFoundFirstLineOfAnEvent(
true );
101 notYetFoundFirstLineOfAnEvent )
107 notYetFoundFirstLineOfAnEvent
static double stringToDouble(std::string const &stringToInterpret)
◆ openFile()
bool LHPC::LhcoParser::openFile |
( |
std::string const & |
eventFileName | ) |
|
|
inline |
Definition at line 65 of file LhcoParser.hpp.
int recordLine(std::string const &lineAsString)
◆ readNextEvent()
bool LHPC::LhcoParser::readNextEvent |
( |
| ) |
|
Definition at line 41 of file LhcoParser.cpp.
66 <<
"LHPC::warning! LHCO parser ignoring invalid line \""
68 std::cout << std::endl;
void prepareForNextEvent()
◆ currentEvent
◆ currentLine
std::string LHPC::LhcoParser::currentLine |
|
protected |
◆ fileIsOpenAndNotYetAtEndOfFile
bool LHPC::LhcoParser::fileIsOpenAndNotYetAtEndOfFile |
|
protected |
◆ fileParser
◆ isVerbose
bool LHPC::LhcoParser::isVerbose |
|
protected |
◆ lineNumber
int LHPC::LhcoParser::lineNumber |
|
protected |
The documentation for this class was generated from the following files: