EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <eic-smear/blob/master/include/eicsmear/erhic/File.h>
Public Member Functions | |
LogReaderMilou () | |
virtual | ~LogReaderMilou () |
LogReaderMilou * | Create () const |
bool | Extract (const std::string &file) |
Int_t | Save () const |
Int_t | GetNEvents () const |
Double_t | GetCrossSection () const |
Double_t | GetCrossSectionError () const |
Public Member Functions inherited from erhic::LogReader | |
LogReader () | |
virtual | ~LogReader () |
Protected Attributes | |
TObjString | crossSection_ |
TObjString | crossSectionError_ |
| |
TObjString | nEvents_ |
| |
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 225 of file File.h.
View newest version in sPHENIX GitHub at line 225 of file File.h
|
inline |
|
inlinevirtual |
|
inlinevirtual |
Return a new LogReaderMilou instance.
Implements erhic::LogReader.
Definition at line 280 of file File.h.
View newest version in sPHENIX GitHub at line 280 of file File.h
References LogReaderMilou().
|
virtual |
Extract data from the named log file.
Implements erhic::LogReader.
Definition at line 234 of file File.cxx.
View newest version in sPHENIX GitHub at line 234 of file File.cxx
References crossSection_, crossSectionError_, getline, in, and nEvents_.
|
inline |
|
inline |
|
inline |
|
virtual |
Write the extracted information to the current file, if it is writeable. If you want to write the LogReaderMilou itself, use LogReaderMilou::Write().
Implements erhic::LogReader.
Definition at line 282 of file File.cxx.
View newest version in sPHENIX GitHub at line 282 of file File.cxx
References crossSection_, crossSectionError_, and nEvents_.
|
protected |
|
protected |
|
protected |