![]() |
EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <eic-smear/blob/master/include/eicsmear/erhic/File.h>
Inheritance diagram for erhic::LogReaderPythia:
Collaboration diagram for erhic::LogReaderPythia:Public Member Functions | |
| LogReaderPythia () | |
| virtual | ~LogReaderPythia () |
| LogReaderPythia * | Create () const |
| bool | Extract (const std::string &file) |
| Int_t | Save () const |
Public Member Functions inherited from erhic::LogReader | |
| LogReader () | |
| virtual | ~LogReader () |
Protected Attributes | |
| TObjString | crossSection_ |
| TObjString | nEvents_ |
| |
| TObjString | nTrials_ |
| |
Processes PYTHIA log files.
Reads a log file and finds the total cross section and the number of generated events when Extract() is called. Writes those values as TObjStrings to the current directory when Save() is called, assuming that directory is writeable.
Definition at line 78 of file File.h.
View newest version in sPHENIX GitHub at line 78 of file File.h
| erhic::LogReaderPythia::LogReaderPythia | ( | ) |
|
virtual |
|
inlinevirtual |
Return a new LogReaderPythia instance.
Implements erhic::LogReader.
Definition at line 115 of file File.h.
View newest version in sPHENIX GitHub at line 115 of file File.h
References LogReaderPythia().
Here is the call graph for this function:
|
virtual |
Extract data from the named log file.
Implements erhic::LogReader.
Definition at line 66 of file File.cxx.
View newest version in sPHENIX GitHub at line 66 of file File.cxx
References crossSection_, getline, in, LogLineParse(), nEvents, nEvents_, and nTrials_.
Here is the call graph for this function:
|
virtual |
Write the extracted information to the current file, if it is writeable. If you want to write the LogReaderPythia itself, use LogReaderPythia::Write().
Implements erhic::LogReader.
Definition at line 91 of file File.cxx.
View newest version in sPHENIX GitHub at line 91 of file File.cxx
References crossSection_, nEvents_, and nTrials_.
|
protected |
|
protected |
|
protected |